Critical severity · published Jun 25, 2026
CVE-2026-53186
RDMA/srp: bound SRP_RSP sense copy by the received length
9.1
CVSS
0.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
2.6.15 before 5.10.259; 5.11 before 5.15.210; 5.16 before 6.1.176; 6.2 before 6.6.143; 6.7 before 6.12.94; 6.13 before 6.18.36; +8 more · source: NVD
LI
Linux · Linux
aef9ec39c47f0cece886ddd6b53c440321e0b2a6 before 3889517c2ec7f364914aea8209abfff735f7ecde; aef9ec39c47f0cece886ddd6b53c440321e0b2a6 before ed77cc819ad631264787cade5ae5ec4c535ec6bb; aef9ec39c47f0cece886ddd6b53c440321e0b2a6 before 0b9ee09d5e849591f17d98c078033dadea967293; aef9ec39c47f0cece886ddd6b53c440321e0b2a6 before 0d64bc200ebe4f275b27438c6e593903e0b16fe1; aef9ec39c47f0cece886ddd6b53c440321e0b2a6 before 2015038195939eac54a1ee83c9d98ef1a8ccbbce; aef9ec39c47f0cece886ddd6b53c440321e0b2a6 before f92a285db7ff6e598591ccbfb551be155c5f4d57; +3 more · source: vendor