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.
Published: 2026-10-23
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service / Kernel Crash
Action: Patch Kernel
AI Analysis

Impact

A flaw in the Linux kernel’s NVMe target component causes the request allocation routine to assign the peer‑to‑peer device pointer only after both data and metadata scatter‑list allocations succeed. If the data allocation succeeds while the metadata allocation fails, the cleanup path later attempts to free the device using an uninitialized pointer. This improper initialization can lead to kernel memory corruption or a crash, resulting in a denial‑of‑service condition.

Affected Systems

All systems running a Linux kernel that includes the nvmet module and have not applied the commit that fixes nvmet_req_alloc_p2pmem_sgls() are regarded as vulnerable. It is inferred that, because specific kernel versions are not listed, any kernel lacking the fix should be considered vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a moderate to high severity. The EPSS score of less than 1% reflects a low likelihood of exploitation so far, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an attacker who can trigger a metadata allocation failure in an NVMe target session. The flaw is limited to contexts where the NVMe target is active; exploitation would require a metadata allocation failure occurring after a successful data allocation, a scenario that can arise under heavy load or misconfiguration. The impact is primarily a kernel crash or denial of service rather than privilege escalation or data disclosure.

Generated by OpenCVE AI on October 29, 2026 at 22:39 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that includes the commit fixing nvmet_req_alloc_p2pmem_sgls().
  • Reduce the load on NVMe target devices to decrease the likelihood of metadata allocation failures.
  • Disable the nvmet service on hosts that do not require it until the kernel patch is applied.

Generated by OpenCVE AI on October 29, 2026 at 22:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 13:00:00 +0000


Thu, 29 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Thu, 29 Oct 2026 12:15:00 +0000


Sat, 24 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Sat, 24 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Sat, 24 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Fri, 23 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title nvmet: use the local P2P device on metadata allocation failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:40:32.519Z

Reserved: 2026-09-25T10:25:14.383Z

Link: CVE-2026-98964

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:17.830

Modified: 2026-10-30T13:21:32.937

Link: CVE-2026-98964

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T00:00:00Z

Links: CVE-2026-98964 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T22:45:03Z

Weaknesses