{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-74361",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-74361"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "nvme: fix FDP fdpcidx bounds check",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme: fix FDP fdpcidx bounds check\n\nThe fdpcidx bounds check sets n = NUMFDPC + 1 but used > instead of >=,\nincorrectly accepting fdp_idx when it equals n (i.e. NUMFDPC + 1).",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:13",
        "name": "linux"
      },
      "versions": [
        "1:6.18.29-1+rpt1",
        "1:6.18.33-1+rpt1",
        "1:6.18.34-1+rpt1",
        "1:6.18.39-1+rpt1"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-2712",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v8",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-2712",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v8",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-2712",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v8",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-2712",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v8",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.39-1+rpt1"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.18.29-1+rpt1": {
            "linux_commit": "66318c5b5cd8145a662303af12ed39ac07eb27cc",
            "upstream_version": "6.18.29",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.40"
          },
          "1:6.18.33-1+rpt1": {
            "linux_commit": "95b85bebbedcaedfa7ca79116ed38b7376fba412",
            "upstream_version": "6.18.33",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.40"
          },
          "1:6.18.34-1+rpt1": {
            "linux_commit": "c8c7494100e99ee05b11aaa4f0588a223a63d1af",
            "upstream_version": "6.18.34",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.40"
          },
          "1:6.18.39-1+rpt1": {
            "linux_commit": "60ea684a8ace97bb0db1a16e20753bdd6ab371ff",
            "upstream_version": "6.18.39",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.40"
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-74361"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5e406928404d67a8da8aa3ae21732e1ea1a04118"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5d0e7d2af884b91329235abb16652ae4eead8079"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0967074f6830718fd2597404ef119bddd0dbfd00"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:50:24Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 9.8,
      "cvss_v3_severity": "Critical",
      "scenario": "AV:N - The bug is in the NVMe host driver while parsing Get Features/Get Log responses during namespace scan; a malicious NVMe-oF target can deliver crafted FDP data over TCP/RDMA to any host already using remote NVMe storage, which is the highest-impact reachable deployment.\nAC:L - An attacker controlling the NVMe endpoint fully sets fdpcidx and numfdpc in protocol responses and can reliably make fdpcidx equal numfdpc+1, walk one descriptor past the valid list, and hit the out-of-bounds read without races or victim-specific heap layout.\nPR:N - Exploitation needs no local account or capabilities on the victim; a remote malicious/compromised NVMe-oF target (or physical device inserted by an attacker) triggers parsing during connect/rescan/AEN-driven namespace scans without further local authorization.\nUI:N - No victim user action is required at exploit time because namespace scanning and AEN-triggered rescans run automatically in kernel workqueues once a controller is present, and a remote target can force rescans with Notice Namespace Changed events.\nS:U - Impact is confined to kernel memory and block-layer metadata on the host parsing the malicious device responses; it does not cross a VM, container, or IOMMU security boundary into a separate authority.\nC:H - Accepting fdpcidx=numfdpc+1 lets the descriptor walk advance past the last valid FDP configuration and then reads desc->nrg and desc->runs out of bounds, leaking adjacent kvmalloc/heap contents or attacker-crafted bytes from beyond the valid descriptor array.\nI:H - The out-of-bounds descriptor fields are copied into info->runs and influence queue write_stream_granularity limits, giving attacker-controlled modification of kernel block-layer state from memory corruption primitives that can be chained beyond a simple crash.\nA:H - If the out-of-bounds descriptor pointer lies past the allocated FDP log buffer, accessing desc->nrg/desc->runs can fault the kernel (oops/panic); even successful parsing still represents unsafe memory access with high availability risk under attacker control."
    }
  }
}
