{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-53186: RDMA/srp: bound SRP_RSP sense copy by the received length","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-53186","status":"final","version":"1","initial_release_date":"2026-06-25T08:38:59.508Z","current_release_date":"2026-06-28T06:40:01.569Z","revision_history":[{"date":"2026-06-25T08:38:59.508Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/srp: bound SRP_RSP sense copy by the received length\n\nsrp_process_rsp() copies sense data from rsp->data + resp_data_len,\nwhere resp_data_len is the full 32-bit value supplied by the SRP target\nand is never checked against the number of bytes actually received\n(wc->byte_len). The copy length is bounded to SCSI_SENSE_BUFFERSIZE, so\nat most 96 bytes are copied, but the source offset is not bounded.\n\nA malicious or compromised SRP target on the InfiniBand/RoCE fabric that\nthe initiator has logged into can return an SRP_RSP with\nSRP_RSP_FLAG_SNSVALID set and a large resp_data_len. The receive buffer\nis allocated at the target-chosen max_ti_iu_len, so the source of the\nsense copy lands past the bytes actually received; with resp_data_len\nnear 0xFFFFFFFF it is gigabytes past the buffer and the read faults.\n\nCopy the sense data only if it has not been truncated, that is, only if\nthe response header, the response data, and the sense region fit within\nthe bytes actually received; otherwise drop the sense and log. The\nin-tree iSER and NVMe-RDMA receive paths already bound their parse by\nwc->byte_len; this brings ib_srp into line with them.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-53186 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-53186"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-53186"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/3889517c2ec7f364914aea8209abfff735f7ecde"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/ed77cc819ad631264787cade5ae5ec4c535ec6bb"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/0b9ee09d5e849591f17d98c078033dadea967293"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/0d64bc200ebe4f275b27438c6e593903e0b16fe1"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/2015038195939eac54a1ee83c9d98ef1a8ccbbce"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/f92a285db7ff6e598591ccbfb551be155c5f4d57"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/3523e53ff95f1837ec3f57ff7558532bcb2661b7"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/13e91fd076306f5d0cdfa14f53d69e37274723c4"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <3889517c2ec7f364914aea8209abfff735f7ecde","product":{"name":"Linux Linux >=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <3889517c2ec7f364914aea8209abfff735f7ecde","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <ed77cc819ad631264787cade5ae5ec4c535ec6bb","product":{"name":"Linux Linux >=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <ed77cc819ad631264787cade5ae5ec4c535ec6bb","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <0b9ee09d5e849591f17d98c078033dadea967293","product":{"name":"Linux Linux >=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <0b9ee09d5e849591f17d98c078033dadea967293","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <0d64bc200ebe4f275b27438c6e593903e0b16fe1","product":{"name":"Linux Linux >=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <0d64bc200ebe4f275b27438c6e593903e0b16fe1","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <2015038195939eac54a1ee83c9d98ef1a8ccbbce","product":{"name":"Linux Linux >=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <2015038195939eac54a1ee83c9d98ef1a8ccbbce","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <f92a285db7ff6e598591ccbfb551be155c5f4d57","product":{"name":"Linux Linux >=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <f92a285db7ff6e598591ccbfb551be155c5f4d57","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <3523e53ff95f1837ec3f57ff7558532bcb2661b7","product":{"name":"Linux Linux >=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <3523e53ff95f1837ec3f57ff7558532bcb2661b7","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <13e91fd076306f5d0cdfa14f53d69e37274723c4","product":{"name":"Linux Linux >=aef9ec39c47f0cece886ddd6b53c440321e0b2a6 <13e91fd076306f5d0cdfa14f53d69e37274723c4","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version","name":"2.6.15","product":{"name":"Linux Linux 2.6.15","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.10.259","product":{"name":"Linux Linux 5.10.259","product_id":"CSAFPID-11","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.15.210","product":{"name":"Linux Linux 5.15.210","product_id":"CSAFPID-12","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.1.176","product":{"name":"Linux Linux 6.1.176","product_id":"CSAFPID-13","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.6.143","product":{"name":"Linux Linux 6.6.143","product_id":"CSAFPID-14","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.94","product":{"name":"Linux Linux 6.12.94","product_id":"CSAFPID-15","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.36","product":{"name":"Linux Linux 6.18.36","product_id":"CSAFPID-16","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.13","product":{"name":"Linux Linux 7.0.13","product_id":"CSAFPID-17","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1","product":{"name":"Linux Linux 7.1","product_id":"CSAFPID-18","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:2.6.15:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-53186","title":"RDMA/srp: bound SRP_RSP sense copy by the received length","notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/srp: bound SRP_RSP sense copy by the received length\n\nsrp_process_rsp() copies sense data from rsp->data + resp_data_len,\nwhere resp_data_len is the full 32-bit value supplied by the SRP target\nand is never checked against the number of bytes actually received\n(wc->byte_len). The copy length is bounded to SCSI_SENSE_BUFFERSIZE, so\nat most 96 bytes are copied, but the source offset is not bounded.\n\nA malicious or compromised SRP target on the InfiniBand/RoCE fabric that\nthe initiator has logged into can return an SRP_RSP with\nSRP_RSP_FLAG_SNSVALID set and a large resp_data_len. The receive buffer\nis allocated at the target-chosen max_ti_iu_len, so the source of the\nsense copy lands past the bytes actually received; with resp_data_len\nnear 0xFFFFFFFF it is gigabytes past the buffer and the read faults.\n\nCopy the sense data only if it has not been truncated, that is, only if\nthe response header, the response data, and the sense region fit within\nthe bytes actually received; otherwise drop the sense and log. The\nin-tree iSER and NVMe-RDMA receive paths already bound their parse by\nwc->byte_len; this brings ib_srp into line with them.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"],"fixed":["CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15","CSAFPID-16","CSAFPID-17","CSAFPID-18"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","baseScore":9.1,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 0b9ee09d5e849591f17d98c078033dadea967293, 0d64bc200ebe4f275b27438c6e593903e0b16fe1, 13e91fd076306f5d0cdfa14f53d69e37274723c4, 2015038195939eac54a1ee83c9d98ef1a8ccbbce, 3523e53ff95f1837ec3f57ff7558532bcb2661b7, 3889517c2ec7f364914aea8209abfff735f7ecde, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1, ed77cc819ad631264787cade5ae5ec4c535ec6bb, f92a285db7ff6e598591ccbfb551be155c5f4d57.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"]}]}]}