Shellfeed logo Shellfeed

CVE-2026-89481 · HIGH (CVSS 7.5)

Summary: nvme-tcp: fix host memory disclosure on R2T for a read command

Details

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.

Severity

HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [3f2304f8c6d6ed97849057bd16fee99e434ca796 – effe898669c5f69ed519d6339be01ee9cd91d1a4]
  • Linux Kernel [5.0.0 – 5.10.273] [5.11.0 – 5.15.224] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.109] [6.13.0 – 6.18.50] [6.19.0 – 7.2.4]

References