{"id":"CVE-2026-99935","summary":"scsi: libiscsi_tcp: Prevent R2T range check overflow","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libiscsi_tcp: Prevent R2T range check overflow\n\nAn iSCSI target controls the R2T data offset and length as 32-bit\nvalues. Adding them before comparing the result with the SCSI data buffer\nlength can wrap. An R2T with offset 1 and length U32_MAX then passes the\ncheck for a 4096-byte write.\n\nThe transmit path treats the wrapped range as valid, exhausts the command\nscatterlist, and dereferences the NULL next entry in\niscsi_tcp_segment_done().\n\nCheck the offset first, then compare the length with the remaining bytes in\nthe data buffer.","modified":"2026-12-01T07:00:48.420839982Z","published":"2026-11-30T13:18:25.652Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99935.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/01697cebec719c2db8c3bc8d265ad003efdd16c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f3a770275640d3313a7089d49fdc31eb0fff95b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a1bda4004e964793b23c1365cf0104c8603533c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a6aa08dccb428d9f0ea40d9fce8debdac317c89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca70c19c0b25e56f7c2566d979189d2cdccb95dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e89d8e7c00ec52c207950a4f80c77e82565de9fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb7aa7fd673fdc1582223cd133bcc5f54e7af19f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb7e3c649b7d6721e5b0e31b35b87a37db4f0246"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99935.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99935"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a081c13e39b5c17052a7b46fafa61019c4c110ff"},{"fixed":"fb7e3c649b7d6721e5b0e31b35b87a37db4f0246"},{"fixed":"01697cebec719c2db8c3bc8d265ad003efdd16c1"},{"fixed":"7a1bda4004e964793b23c1365cf0104c8603533c"},{"fixed":"6f3a770275640d3313a7089d49fdc31eb0fff95b"},{"fixed":"ca70c19c0b25e56f7c2566d979189d2cdccb95dc"},{"fixed":"e89d8e7c00ec52c207950a4f80c77e82565de9fe"},{"fixed":"9a6aa08dccb428d9f0ea40d9fce8debdac317c89"},{"fixed":"eb7aa7fd673fdc1582223cd133bcc5f54e7af19f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99935.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.29"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99935.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}