CVE-2026-98964
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet: use the local P2P device on metadata allocation failure nvmet_req_alloc_p2pmem_sgls() assigns req->p2p_dev only after the data and metadata SGL allocations succeed. If the data allocation succeeds but the metadata allocation fails, out_free_sg passes req->p2p_dev to pci_p2pmem_free_sgl() before that assignment has taken place. Pass the local p2p_dev argument instead, so cleanup uses the same PCI device as the successful data allocation.
Severity
HIGH
CVSS score
7.5
(v3.1)
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-23 13:17:17.830000
Last modified
2026-10-30 13:21:32.937000
View original CVE JSON
{
"id": "CVE-2026-98964",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-23T13:17:17.830",
"lastModified": "2026-10-30T13:21:32.937",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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->p2p_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->p2p_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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/nvme/target/core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "c440cd080761b18a52cac20f2a42e5da1e3995af",
"lessThan": "eb72e2eeff559eb1eb07b1d644ce2bc1a16c4a80",
"versionType": "git",
"status": "affected"
},
{
"version": "bcd9a0797d73eeff659582f23277e7ab6e5f18f3",
"lessThan": "48c8b59429d09a7c3598de425acbc2d3f4e6647b",
"versionType": "git",
"status": "affected"
},
{
"version": "bcd9a0797d73eeff659582f23277e7ab6e5f18f3",
"lessThan": "e8f24ae4f45efe6861f801c6ebd2789c9016f1bc",
"versionType": "git",
"status": "affected"
},
{
"version": "bcd9a0797d73eeff659582f23277e7ab6e5f18f3",
"lessThan": "3c231142c4f4bb96836469eb276026ec55940093",
"versionType": "git",
"status": "affected"
},
{
"version": "bcd9a0797d73eeff659582f23277e7ab6e5f18f3",
"lessThan": "32f21607911a1f69c8f0f93a6c28fe6f8490aa98",
"versionType": "git",
"status": "affected"
},
{
"version": "bcd9a0797d73eeff659582f23277e7ab6e5f18f3",
"lessThan": "ce79a6c5cc1b8054ec8d3eba16adda4a36113438",
"versionType": "git",
"status": "affected"
},
{
"version": "bcd9a0797d73eeff659582f23277e7ab6e5f18f3",
"lessThan": "73bf0f9579633b531098a475e6e55c9316763aed",
"versionType": "git",
"status": "affected"
},
{
"version": "bcd9a0797d73eeff659582f23277e7ab6e5f18f3",
"lessThan": "4aa9c0f377a4de5e8fddce76b34ee4529639a1ff",
"versionType": "git",
"status": "affected"
},
{
"version": "8a452d62e7cea3c8a2676a3b89a9118755a1a271",
"versionType": "git",
"status": "affected"
},
{
"version": "5.10.43",
"lessThan": "5.10.273",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.12.10",
"lessThan": "5.13",
"versionType": "semver",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/nvme/target/core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.13",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.13",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.273",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.224",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.113",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.57",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.11",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
]
},
"references": [
{
"url": "https://git.kernel.org/stable/c/32f21607911a1f69c8f0f93a6c28fe6f8490aa98",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3c231142c4f4bb96836469eb276026ec55940093",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/48c8b59429d09a7c3598de425acbc2d3f4e6647b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4aa9c0f377a4de5e8fddce76b34ee4529639a1ff",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/73bf0f9579633b531098a475e6e55c9316763aed",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ce79a6c5cc1b8054ec8d3eba16adda4a36113438",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e8f24ae4f45efe6861f801c6ebd2789c9016f1bc",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/eb72e2eeff559eb1eb07b1d644ce2bc1a16c4a80",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}