{"id":"CVE-2026-98964","published":"2026-10-23T13:17:17.830","lastModified":"2026-10-24T14:16:49.490","description":"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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":[],"vendors":[],"products":[],"references":[{"url":"https://git.kernel.org/stable/c/32f21607911a1f69c8f0f93a6c28fe6f8490aa98","tags":[]},{"url":"https://git.kernel.org/stable/c/3c231142c4f4bb96836469eb276026ec55940093","tags":[]},{"url":"https://git.kernel.org/stable/c/4aa9c0f377a4de5e8fddce76b34ee4529639a1ff","tags":[]},{"url":"https://git.kernel.org/stable/c/73bf0f9579633b531098a475e6e55c9316763aed","tags":[]},{"url":"https://git.kernel.org/stable/c/ce79a6c5cc1b8054ec8d3eba16adda4a36113438","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":null}