scsi: libiscsi_tcp: Prevent R2T range check overflow
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
scsi: libiscsi_tcp: Prevent R2T range check overflow
An iSCSI target controls the R2T data offset and length as 32-bit values. Adding them before comparing the result with the SCSI data buffer length can wrap. An R2T with offset 1 and length U32_MAX then passes the check for a 4096-byte write.
The transmit path treats the wrapped range as valid, exhausts the command scatterlist, and dereferences the NULL next entry in iscsi_tcp_segment_done().
Check the offset first, then compare the length with the remaining bytes in the data buffer.
| Product | Versions |
|---|---|
| Linux Linux | a081c13e39b5c17052a7b46fafa61019c4c110ff to before fb7e3c649b7d6721e5b0e31b35b87a37db4f0246 Affecteda081c13e39b5c17052a7b46fafa61019c4c110ff to before 01697cebec719c2db8c3bc8d265ad003efdd16c1 Affecteda081c13e39b5c17052a7b46fafa61019c4c110ff to before 7a1bda4004e964793b23c1365cf0104c8603533c Affecteda081c13e39b5c17052a7b46fafa61019c4c110ff to before 6f3a770275640d3313a7089d49fdc31eb0fff95b Affecteda081c13e39b5c17052a7b46fafa61019c4c110ff to before ca70c19c0b25e56f7c2566d979189d2cdccb95dc Affecteda081c13e39b5c17052a7b46fafa61019c4c110ff to before e89d8e7c00ec52c207950a4f80c77e82565de9fe Affecteda081c13e39b5c17052a7b46fafa61019c4c110ff to before 9a6aa08dccb428d9f0ea40d9fce8debdac317c89 Affecteda081c13e39b5c17052a7b46fafa61019c4c110ff to before eb7aa7fd673fdc1582223cd133bcc5f54e7af19f Affected |
| Linux Linux | 2.6.29 Affectedbefore 2.6.29 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/fb7e3c649b7d6721e5b0e31b35b87a37db4f0246
- https://git.kernel.org/stable/c/01697cebec719c2db8c3bc8d265ad003efdd16c1
- https://git.kernel.org/stable/c/7a1bda4004e964793b23c1365cf0104c8603533c
- https://git.kernel.org/stable/c/6f3a770275640d3313a7089d49fdc31eb0fff95b
- https://git.kernel.org/stable/c/ca70c19c0b25e56f7c2566d979189d2cdccb95dc
- https://git.kernel.org/stable/c/e89d8e7c00ec52c207950a4f80c77e82565de9fe
- https://git.kernel.org/stable/c/9a6aa08dccb428d9f0ea40d9fce8debdac317c89
- https://git.kernel.org/stable/c/eb7aa7fd673fdc1582223cd133bcc5f54e7af19f
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.