CVE-2026-53186
RDMA/srp: bound SRP_RSP sense copy by the received length
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.
INFO
Published Date :
June 25, 2026, 9:16 a.m.
Last Modified :
July 6, 2026, 12:41 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Validate received byte length before copying sense data.
- Ensure response data and sense region fit within received bytes.
- Drop sense data if truncated and log the event.
- Update the Linux kernel to the latest version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53186.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53186 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53186
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53186 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53186 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 06, 2026
Action Type Old Value New Value Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.176 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.143 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.210 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.36 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.94 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.13 *cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.15 up to (excluding) 5.10.259 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0b9ee09d5e849591f17d98c078033dadea967293 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0d64bc200ebe4f275b27438c6e593903e0b16fe1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/13e91fd076306f5d0cdfa14f53d69e37274723c4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2015038195939eac54a1ee83c9d98ef1a8ccbbce Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3523e53ff95f1837ec3f57ff7558532bcb2661b7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3889517c2ec7f364914aea8209abfff735f7ecde Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ed77cc819ad631264787cade5ae5ec4c535ec6bb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f92a285db7ff6e598591ccbfb551be155c5f4d57 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'aef9ec39c47f0cece886ddd6b53c440321e0b2a6', 'lessThan': '3889517c2ec7f364914aea8209abfff735f7ecde', 'versionType': 'git'}, {'status': 'affected', 'version': 'aef9ec39c47f0cece886ddd6b53c440321e0b2a6', 'lessThan': 'ed77cc819ad631264787cade5ae5ec4c535ec6bb', 'versionType': 'git'}, {'status': 'affected', 'version': 'aef9ec39c47f0cece886ddd6b53c440321e0b2a6', 'lessThan': '0b9ee09d5e849591f17d98c078033dadea967293', 'versionType': 'git'}, {'status': 'affected', 'version': 'aef9ec39c47f0cece886ddd6b53c440321e0b2a6', 'lessThan': '0d64bc200ebe4f275b27438c6e593903e0b16fe1', 'versionType': 'git'}, {'status': 'affected', 'version': 'aef9ec39c47f0cece886ddd6b53c440321e0b2a6', 'lessThan': '2015038195939eac54a1ee83c9d98ef1a8ccbbce', 'versionType': 'git'}, {'status': 'affected', 'version': 'aef9ec39c47f0cece886ddd6b53c440321e0b2a6', 'lessThan': 'f92a285db7ff6e598591ccbfb551be155c5f4d57', 'versionType': 'git'}, {'status': 'affected', 'version': 'aef9ec39c47f0cece886ddd6b53c440321e0b2a6', 'lessThan': '3523e53ff95f1837ec3f57ff7558532bcb2661b7', 'versionType': 'git'}, {'status': 'affected', 'version': 'aef9ec39c47f0cece886ddd6b53c440321e0b2a6', 'lessThan': '13e91fd076306f5d0cdfa14f53d69e37274723c4', 'versionType': 'git'}], 'programFiles': ['drivers/infiniband/ulp/srp/ib_srp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.259', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.210', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.94', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/infiniband/ulp/srp/ib_srp.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/0b9ee09d5e849591f17d98c078033dadea967293 Added Reference https://git.kernel.org/stable/c/0d64bc200ebe4f275b27438c6e593903e0b16fe1 Added Reference https://git.kernel.org/stable/c/13e91fd076306f5d0cdfa14f53d69e37274723c4 Added Reference https://git.kernel.org/stable/c/2015038195939eac54a1ee83c9d98ef1a8ccbbce Added Reference https://git.kernel.org/stable/c/3523e53ff95f1837ec3f57ff7558532bcb2661b7 Added Reference https://git.kernel.org/stable/c/3889517c2ec7f364914aea8209abfff735f7ecde Added Reference https://git.kernel.org/stable/c/ed77cc819ad631264787cade5ae5ec4c535ec6bb Added Reference https://git.kernel.org/stable/c/f92a285db7ff6e598591ccbfb551be155c5f4d57