CVE-2026-53186CWE-125

CVE-2026-53186

Critical · published June 25, 2026

CVSS v3.1
9.1
EPSS
1%
Percentile
42.9
In the wild
Unconfirmed
What it is

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

RDMA/srp: bound SRP_RSP sense copy by the received length

srp_process_rsp() copies sense data from rsp->data + resp_data_len,

where resp_data_len is the full 32-bit value supplied by the SRP target

and is never checked against the number of bytes actually received

(wc->byte_len). The copy length is bounded to SCSI_SENSE_BUFFERSIZE, so

at most 96 bytes are copied, but the source offset is not bounded.

A malicious or compromised SRP target on the InfiniBand/RoCE fabric that

the initiator has logged into can return an SRP_RSP with

SRP_RSP_FLAG_SNSVALID set and a large resp_data_len. The receive buffer

is allocated at the target-chosen max_ti_iu_len, so the source of the

sense copy lands past the bytes actually received; with resp_data_len

near 0xFFFFFFFF it is gigabytes past the buffer and the read faults.

Copy the sense data only if it has not been truncated, that is, only if

the response header, the response data, and the sense region fit within

the bytes actually received; otherwise drop the sense and log. The

in-tree iSER and NVMe-RDMA receive paths already bound their parse by

wc->byte_len; this brings ib_srp into line with them.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00514 · 42.9th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-06-25T13:16Z
Affected products (14)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.15, < 5.10.2595.10.259
linux/linux_kernel≥ 5.11, < 5.15.2105.15.210
linux/linux_kernel≥ 5.16, < 6.1.1766.1.176
linux/linux_kernel≥ 6.2, < 6.6.1436.6.143
linux/linux_kernel≥ 6.7, < 6.12.946.12.94
linux/linux_kernel≥ 6.13, < 6.18.366.18.36
linux/linux_kernel≥ 6.19, < 7.0.137.0.13
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 25 JUN 08:38Z
    RDMA/srp: bound SRP_RSP sense copy by the received length
    cvelistv5