{"id":"CVE-2026-98964","aliases":["CVE-2026-98964"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: use the local P2P device on metadata allocation failure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-23T12:19:32.374Z","modified":"2026-10-30T13:21:32.937Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c440cd080761b18a52cac20f2a42e5da1e3995af","fixed":"eb72e2eeff559eb1eb07b1d644ce2bc1a16c4a80","status":"affected"},{"type":"git","introduced":"bcd9a0797d73eeff659582f23277e7ab6e5f18f3","fixed":"48c8b59429d09a7c3598de425acbc2d3f4e6647b","status":"affected"},{"type":"git","introduced":"bcd9a0797d73eeff659582f23277e7ab6e5f18f3","fixed":"e8f24ae4f45efe6861f801c6ebd2789c9016f1bc","status":"affected"},{"type":"git","introduced":"bcd9a0797d73eeff659582f23277e7ab6e5f18f3","fixed":"3c231142c4f4bb96836469eb276026ec55940093","status":"affected"},{"type":"git","introduced":"bcd9a0797d73eeff659582f23277e7ab6e5f18f3","fixed":"32f21607911a1f69c8f0f93a6c28fe6f8490aa98","status":"affected"},{"type":"git","introduced":"bcd9a0797d73eeff659582f23277e7ab6e5f18f3","fixed":"ce79a6c5cc1b8054ec8d3eba16adda4a36113438","status":"affected"},{"type":"git","introduced":"bcd9a0797d73eeff659582f23277e7ab6e5f18f3","fixed":"73bf0f9579633b531098a475e6e55c9316763aed","status":"affected"},{"type":"git","introduced":"bcd9a0797d73eeff659582f23277e7ab6e5f18f3","fixed":"4aa9c0f377a4de5e8fddce76b34ee4529639a1ff","status":"affected"},{"type":"git","version":"8a452d62e7cea3c8a2676a3b89a9118755a1a271","status":"affected"},{"type":"semver","introduced":"5.10.43","fixed":"5.10.273","status":"affected"},{"type":"semver","introduced":"5.12.10","fixed":"5.13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/eb72e2eeff559eb1eb07b1d644ce2bc1a16c4a80","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48c8b59429d09a7c3598de425acbc2d3f4e6647b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8f24ae4f45efe6861f801c6ebd2789c9016f1bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c231142c4f4bb96836469eb276026ec55940093","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32f21607911a1f69c8f0f93a6c28fe6f8490aa98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce79a6c5cc1b8054ec8d3eba16adda4a36113438","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73bf0f9579633b531098a475e6e55c9316763aed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4aa9c0f377a4de5e8fddce76b34ee4529639a1ff","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98964","url":"https://www.cve.org/CVERecord?id=CVE-2026-98964","licence":"CVE Terms of Use","modified":"2026-10-30T12:40:32.519Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98964","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98964","licence":"Public domain","modified":"2026-10-30T13:21:32.937Z"}],"updatedAt":"2026-11-25T22:59:46.924Z","epss":{"score":0.00612,"percentile":0.50672,"date":"2026-12-01T12:00:22.000Z"}}