CVE-2026-64268 PUBLISHED

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

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 8b6a361b8c482f22ac99c3273285ff16b23fba91 to a31b6d18ded3cc32d9ee85a6ff0726d4274887b2 (excl.)
  • affected from 8b6a361b8c482f22ac99c3273285ff16b23fba91 to 595e6537ad1a210da32cbb9a7f91aa73090915ba (excl.)
  • affected from 8b6a361b8c482f22ac99c3273285ff16b23fba91 to 3ef7e052cbd05a8b13a51a07b185a39ec93ee1cf (excl.)
  • affected from 8b6a361b8c482f22ac99c3273285ff16b23fba91 to b2e26c955f8dd7e8d3f16c858db05245ea4fa817 (excl.)
  • affected from 8b6a361b8c482f22ac99c3273285ff16b23fba91 to 6bc89f34a4597f9f6d41f7a60c67a3153bfe8851 (excl.)
  • affected from 8b6a361b8c482f22ac99c3273285ff16b23fba91 to 423a78ff7928c2601013f73ec6d896f5597d0df5 (excl.)
  • affected from 8b6a361b8c482f22ac99c3273285ff16b23fba91 to 75c93cd3c421890f49ea93f0b978b9b7bb10e5e3 (excl.)
  • affected from 8b6a361b8c482f22ac99c3273285ff16b23fba91 to 7d29f7e9dbd844cae4d3e559cf78324b9642fd6b (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.3 is affected
  • unaffected from 0 to 5.3 (excl.)
  • unaffected from 5.10.261 to 5.10.* (incl.)
  • unaffected from 5.15.212 to 5.15.* (incl.)
  • unaffected from 6.1.178 to 6.1.* (incl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References