ZeroHour

CVE-2026-89481

moderate

Kernel memory disclosure in Linux nvme-tcp via forged R2T for read commands

CVSS 3.1
7.5 high
EPSS
Published
()
Modified
AI analysis

The Linux kernel's NVMe-over-TCP (nvme-tcp) driver fails to validate the command direction when handling an R2T (Ready-to-Transfer) PDU, because nvme_tcp_handle_r2t() never checks whether the referenced request is a write. A malicious or compromised NVMe controller can send an R2T for a READ command, causing the host to transmit the contents of that request's destination buffer back to the controller via H2CData PDUs; that buffer holds stale kernel heap memory, which in testing included an array of struct page pointers. The disclosure is silent: the command completes normally and nothing is logged, letting a hostile storage target harvest kernel memory byte-for-byte across repeated reads. Any Linux host using the nvme-tcp transport is affected, but exploitation requires the attacker to control or impersonate the NVMe/TCP controller the host connects to, so the trust boundary is the storage target. No public proof-of-concept or in-the-wild exploitation is known, and the flaw is not in the CISA KEV catalog.

What to do: Apply a kernel update containing the upstream fix (rejecting R2Ts for non-write requests) once it reaches your distro's stable or LTS kernel series. In the interim, mitigate by only connecting nvme-tcp initiators to trusted, authenticated controllers on private networks, since the attacker must be the storage target. Verify whether you are exposed at all with 'nvme list-subsys' and 'lsmod | grep nvme_tcp' — hosts not using NVMe over TCP are not affected.

Affected
Linux kernel (nvme-tcp NVMe-over-TCP driver)All kernel releases shipping the nvme-tcp driver, prior to the fixing commit that rejects an R2T for a request that is not a write
Estimated exposure
moderateTens of thousands of Linux hosts acting as NVMe/TCP initiators (order of magnitude ~10,000-100,000 systems) — nvme-tcp is an opt-in NVMe Fabrics transport whose module is only loaded when a host is actively configured to connect to an NVMe/TCP target, so exposure is limited to enterprise/private-cloud and hyperconverged storage deployments rather…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: fix host memory disclosure on R2T for a read command nvme_tcp_handle_r2t() does not check the direction of the request the R2T refers to. A malicious controller can send an R2T for a READ and the host will answer it: nvme_tcp_setup_h2c_data_pdu() builds the H2CData header and nvme_tcp_try_send_data() sends the request's data buffer. That buffer is the READ destination, so its contents go to the controller. The command then completes normally and nothing is logged. Against a test controller that answers every READ with an R2T, a 4096 byte buffered read returned all 4096 bytes, split over two R2Ts. The pages contained stale kernel data, including an array of struct page pointers. Reject an R2T for a request that is not a write.

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news

No ingested article mentions this CVE yet.