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.
https://git.kernel.org/stable/c/fb7e3c649b7d6721e5b0e31b35b87a37db4f0246
https://git.kernel.org/stable/c/eb7aa7fd673fdc1582223cd133bcc5f54e7af19f
https://git.kernel.org/stable/c/e89d8e7c00ec52c207950a4f80c77e82565de9fe
https://git.kernel.org/stable/c/ca70c19c0b25e56f7c2566d979189d2cdccb95dc
https://git.kernel.org/stable/c/9a6aa08dccb428d9f0ea40d9fce8debdac317c89
https://git.kernel.org/stable/c/7a1bda4004e964793b23c1365cf0104c8603533c
https://git.kernel.org/stable/c/6f3a770275640d3313a7089d49fdc31eb0fff95b
https://git.kernel.org/stable/c/01697cebec719c2db8c3bc8d265ad003efdd16c1