What’s Vulnerable › Vulnerabilities

CVE-2026-98964: nvmet: use the local P2P device on metadata allocation failure

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.

Affected products

How to fix

Upgrade to a fixed version: Linux 5.10.273, 5.13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-98964 or the next vulnerability affects your stack