CVE-2026-64268

RDMA/siw: bound Read Response placement to the RREAD length

State
Published
Severity
9.8 Critical
Published
Jul 25, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/siw: bound Read Response placement to the RREAD length

In drivers/infiniband/sw/siw/siw_qp_rx.c, siw_proc_rresp() places each inbound Read Response DDP segment at sge->laddr + wqe->processed and then accumulates wqe->processed, but it never checks the running total against the sink buffer length on continuation segments. siw_check_sge() resolves and validates the sink memory only on the first fragment (the if (!*mem) branch), and siw_rresp_check_ntoh() compares the cumulative length against wqe->bytes only on the final segment (the !frx->more_ddp_segs guard).

A connected siw peer that answers an outstanding RREAD with Read Response segments that keep the DDP Last flag clear, carrying more total payload than the RREAD requested, drives wqe->processed past the validated sink buffer; the next siw_rx_data() call writes out of bounds at sge->laddr + wqe->processed. siw runs iWARP over ordinary routable TCP, so the peer is the remote end of an established RDMA connection and needs no local privilege.

Bound every segment before placement, exactly as siw_proc_send() and siw_proc_write() already do for their tagged and untagged paths, and terminate the connection with a base-or-bounds DDP error when the Read Response would overrun the sink buffer.

This is the second receive-path length fix for this file. A separate change rejects an MPA FPDU length that underflows the per-fragment remainder in the header decode; that guard does not cover this case, because here each individual segment length is self-consistent and only the accumulated placement offset overruns the buffer.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 8b6a361b8c482f22ac99c3273285ff16b23fba91 to before a31b6d18ded3cc32d9ee85a6ff0726d4274887b2Affected
  • 8b6a361b8c482f22ac99c3273285ff16b23fba91 to before 595e6537ad1a210da32cbb9a7f91aa73090915baAffected
  • 8b6a361b8c482f22ac99c3273285ff16b23fba91 to before 3ef7e052cbd05a8b13a51a07b185a39ec93ee1cfAffected
  • 8b6a361b8c482f22ac99c3273285ff16b23fba91 to before b2e26c955f8dd7e8d3f16c858db05245ea4fa817Affected
  • 8b6a361b8c482f22ac99c3273285ff16b23fba91 to before 6bc89f34a4597f9f6d41f7a60c67a3153bfe8851Affected
  • 8b6a361b8c482f22ac99c3273285ff16b23fba91 to before 423a78ff7928c2601013f73ec6d896f5597d0df5Affected
  • 8b6a361b8c482f22ac99c3273285ff16b23fba91 to before 75c93cd3c421890f49ea93f0b978b9b7bb10e5e3Affected
  • 8b6a361b8c482f22ac99c3273285ff16b23fba91 to before 7d29f7e9dbd844cae4d3e559cf78324b9642fd6bAffected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.