In the Linux kernel, the following vulnerability has been resolved: nvmet: use the local P2P device on metadata allocation failure… (CVE-2026-98964)
Description
A vulnerability in the Linux kernel's nvmet subsystem was resolved involving improper handling of local P2P device references during metadata allocation failure. Specifically, if data allocation succeeds but metadata allocation fails, a cleanup function uses an uninitialized device pointer, potentially causing improper resource handling.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel nvmet subsystem had a flaw in nvmet_req_alloc_p2pmem_sgls() where req->p2p_dev was assigned only after both data and metadata scatter-gather list (SGL) allocations succeeded. If data allocation succeeded but metadata allocation failed, the cleanup function out_free_sg called pci_p2pmem_free_sgl() with an uninitialized req->p2p_dev pointer. The fix involves passing the local p2p_dev argument directly to the cleanup function to ensure the same PCI device used in the successful data allocation is used during cleanup, preventing use of an uninitialized pointer.
Potential Impact
This vulnerability could lead to improper cleanup of PCI P2P memory resources during metadata allocation failure in the nvmet subsystem. While no direct exploitation details or CVSS score are provided, the issue may cause kernel instability or resource mismanagement.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by correcting the device pointer usage during cleanup. Users should update to the fixed kernel version once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8vjr-8rg3-pvjv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98964"]
Threat ID: 6adbaad0d73cc49347b2058b
Added to database: 10/23/2026, 18:43:28 UTC
Last enriched: 10/23/2026, 18:59:30 UTC
Last updated: 10/23/2026, 22:05:16 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.