CVE-2026-139156

nvme-rdma: fix NULL metadata_sgl dereference with T10-PI

Published Nov 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

nvme-rdma: fix NULL metadata_sgl dereference with T10-PI

Since commit 2a8513091d2f ("nvme-rdma: parallelize I/O queue allocation
and startup") the I/O tag set is allocated before the I/O queues.
nvme_rdma_init_request() only sets req->metadata_sgl if
queue->pi_support is set, but pi_support is only set later by
nvme_rdma_alloc_queue(), so every I/O request is left with a NULL
metadata_sgl.

With an RDMA device that supports integrity and a namespace formatted
with protection information, nvme_rdma_dma_map_req() then dereferences
the NULL pointer on the first integrity I/O, already during the
namespace scan when there is more than one I/O queue.

Queues that a later reconnect adds for the first time have the same
problem.

Check queue_idx and the controller's max_integrity_segments instead,
which is what nvme_rdma_alloc_queue() derives pi_support from.

Analysis

AI-generated

Technical impact

An uninitialized metadata_sgl pointer in the NVMe over RDMA subsystem can become NULL because pi_support is set later in activation. When an RDMA device with integrity support and a namespace formatted with T10-PI performs an I/O, the function nvme_rdma_dma_map_req dereferences this NULL pointer. This causes a kernel panic, resulting in a denial of service for the host system.

Affected Systems

All Linux kernel versions running the NVMe over RDMA driver before commit 2a8513091d2f are vulnerable. The issue appears in the Linux kernel's NVMe RDMA driver. Users of Linux distributions that ship with older kernel releases that lack this commit are affected. No specific product or vendor beyond the generic Linux kernel is singled out; the flaw is inherent to the NVMe RDMA implementation in the kernel.

Risk and Exploitability

Based on the description, it is inferred that the vulnerability requires an RDMA device that supports integrity and a namespace formatted with T10-PI. The likely attack vector is local exploitation via the system’s NVMe over RDMA interface, as the NULL metadata_sgl dereference occurs during the first integrity I/O handled by the controller. No public exploit has been documented, EPSS is unavailable, and the vulnerability is not listed in CISA’s KEV catalog. The CVSS score of 7.5 indicates a high severity, and the kernel crash impact confirms a significant denial of service risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes commit 2a8513091d2f or later, which removes the race condition that leaves metadata_sgl NULL.
  • If an upgrade is not immediately possible, reconfigure the NVMe RDMA subsystem to disable integrity support or use a namespace that is not formatted with T10-PI, thereby avoiding the dereference trigger.
  • As an additional precaution, review RDMA controller firmware and ensure it does not expose authenticated I/O operations that could be used to trigger the fault. Consider isolating the RDMA interface from untrusted workloads until a kernel update is applied.

Generated by OpenCVE AI on December 1, 2026 at 09:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-476
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'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: fix NULL metadata_sgl dereference with T10-PI Since commit 2a8513091d2f ("nvme-rdma: parallelize I/O queue allocation and startup") the I/O tag set is allocated before the I/O queues. nvme_rdma_init_request() only sets req->metadata_sgl if queue->pi_support is set, but pi_support is only set later by nvme_rdma_alloc_queue(), so every I/O request is left with a NULL metadata_sgl. With an RDMA device that supports integrity and a namespace formatted with protection information, nvme_rdma_dma_map_req() then dereferences the NULL pointer on the first integrity I/O, already during the namespace scan when there is more than one I/O queue. Queues that a later reconnect adds for the first time have the same problem. Check queue_idx and the controller's max_integrity_segments instead, which is what nvme_rdma_alloc_queue() derives pi_support from.
Title nvme-rdma: fix NULL metadata_sgl dereference with T10-PI
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Dec 1, 2026, 5:41 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Dec 1, 2026, 6:17 AM