CVE-2026-98964·Kernel vulnerability
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
- Software
- Kernel
- Fixed in
- 6.6.160, 6.12.113, 6.18.57, 7.2.11, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.54% — higher than 45% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98964 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.54%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to a patched version that resolves the P2P memory allocation failure handling issue in the NVMe target subsystem. Users should upgrade to kernel 6.6.160, 6.12.113, 6.18.57, 7.2.11 or later depending on their current kernel branch, or install their distribution's patched kernel package to avoid potential system instability during metadata SGL allocation.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r
- Step 2: Compare against the fixed versions (6.6.160, 6.12.113, 6.18.57, 7.2.11) for your kernel branch
- Step 3: Check if NVMe target (nvmet) is actively loaded: lsmod | grep nvmet
- Step 4: Search system logs for P2P memory allocation failures: grep -i 'p2pmem\|pci_p2p' /var/log/kern.log or journalctl -k | grep -i p2p
- Step 5: Verify the patch was applied by checking kernel changelog: apt changelog linux-image-generic 2>/dev/null | grep -i 'p2pmem\|nvmet' or dnf changelog kernel 2>/dev/null | grep -i p2p
FAQ
What is CVE-2026-98964?
This vulnerability exists in the Linux kernel's NVMe target subsystem where improper pointer management during P2P (PCI-to-PCI) memory allocation can cause cleanup operations to reference an uninitialized device pointer if metadata SGL allocation fails after successful data SGL allocation, potentially leading to system crashes or undefined behavior.
Is CVE-2026-98964 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, it should still be remediated promptly as it affects system stability.
What versions of Kernel are affected by CVE-2026-98964?
The vulnerability affects multiple kernel stable branches. Fixed versions are: 6.6.160+, 6.12.113+, 6.18.57+, and 7.2.11+. All versions prior to these fixes in their respective branches are vulnerable.
How do I check if my server is vulnerable to CVE-2026-98964?
Run 'uname -r' to see your kernel version, then verify it matches or exceeds the fixed versions for your branch. If you're on 6.6.x, ensure version is 160 or higher; for 6.12.x, version 113 or higher; for 6.18.x, version 57 or higher; for 7.2.x, version 11 or higher.
Does Defensia detect CVE-2026-98964?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98964 will appear in your dashboard with remediation steps specific to your kernel branch and distribution.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/32f21607911a1f69c8f0f93a6c28fe6f8490aa98
- https://git.kernel.org/stable/c/3c231142c4f4bb96836469eb276026ec55940093
- https://git.kernel.org/stable/c/48c8b59429d09a7c3598de425acbc2d3f4e6647b
- https://git.kernel.org/stable/c/4aa9c0f377a4de5e8fddce76b34ee4529639a1ff
- https://git.kernel.org/stable/c/73bf0f9579633b531098a475e6e55c9316763aed
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98964. Free for 1 server.
Get started free