{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c440cd080761b18a52cac20f2a42e5da1e3995af"
            },
            {
              "fixed": "eb72e2eeff559eb1eb07b1d644ce2bc1a16c4a80"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "bcd9a0797d73eeff659582f23277e7ab6e5f18f3"
            },
            {
              "fixed": "48c8b59429d09a7c3598de425acbc2d3f4e6647b"
            },
            {
              "fixed": "e8f24ae4f45efe6861f801c6ebd2789c9016f1bc"
            },
            {
              "fixed": "3c231142c4f4bb96836469eb276026ec55940093"
            },
            {
              "fixed": "32f21607911a1f69c8f0f93a6c28fe6f8490aa98"
            },
            {
              "fixed": "ce79a6c5cc1b8054ec8d3eba16adda4a36113438"
            },
            {
              "fixed": "73bf0f9579633b531098a475e6e55c9316763aed"
            },
            {
              "fixed": "4aa9c0f377a4de5e8fddce76b34ee4529639a1ff"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.10.43"
            },
            {
              "fixed": "5.10.273"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.12.10"
            },
            {
              "fixed": "5.13"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "8a452d62e7cea3c8a2676a3b89a9118755a1a271"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.10.273"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.224"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.13.0"
            },
            {
              "fixed": "6.1.191"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.6.160"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.12.113"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.18.57"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "7.2.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98964.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: use the local P2P device on metadata allocation failure\n\nnvmet_req_alloc_p2pmem_sgls() assigns req-\u003ep2p_dev only after the data\nand metadata SGL allocations succeed. If the data allocation succeeds\nbut the metadata allocation fails, out_free_sg passes req-\u003ep2p_dev to\npci_p2pmem_free_sgl() before that assignment has taken place.\n\nPass the local p2p_dev argument instead, so cleanup uses the same PCI\ndevice as the successful data allocation.",
  "id": "CVE-2026-98964",
  "modified": "2026-11-01T02:30:32.428632443Z",
  "published": "2026-10-23T12:19:32.374Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/32f21607911a1f69c8f0f93a6c28fe6f8490aa98"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3c231142c4f4bb96836469eb276026ec55940093"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/48c8b59429d09a7c3598de425acbc2d3f4e6647b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4aa9c0f377a4de5e8fddce76b34ee4529639a1ff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/73bf0f9579633b531098a475e6e55c9316763aed"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ce79a6c5cc1b8054ec8d3eba16adda4a36113438"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e8f24ae4f45efe6861f801c6ebd2789c9016f1bc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eb72e2eeff559eb1eb07b1d644ce2bc1a16c4a80"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98964.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98964"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nvmet: use the local P2P device on metadata allocation failure"
}