{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99935","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.447Z","datePublished":"2026-11-30T13:18:25.652Z","dateUpdated":"2026-12-01T05:44:22.290Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:22.290Z"},"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The malformed values are the Data Offset and Desired Data Transfer Length fields of an iSCSI R2T PDU (opcode 0x31), which arrives over the initiator's TCP/3260 connection. iscsi_tcp_recv_skb -> iscsi_tcp_hdr_dissect -> iscsi_tcp_r2t_rsp() parses them, so a remote target supplies the bytes that cause the bug over a routable protocol.\nAC:L - The target only waits for the next routine WRITE to the LUN, then answers it with an R2T whose matching r2tsn has offset 1 and length U32_MAX. Since the target also negotiates max_xmit_dlength, a Data-Out segment always crosses the sgl end. Nothing depends on timing or memory layout.\nPR:N - The R2T is handled in Full Feature Phase. Its only checks are a valid ITT, a WRITE direction, r2tsn equal to exp_datasn, and a nonzero length, all values the target already knows. The target needs no account or privilege on the initiator host, and mutual CHAP is optional.\nUI:N - The session login is standing configuration. After that, ordinary filesystem or application writes to the iSCSI disk issue the SCSI WRITE the target answers. No user has to take any action at attack time.\nS:U - The crash happens in the initiator kernel's own transmit path (iscsi_sw_tcp_xmit_segment/iscsi_tcp_segment_done). No other security authority is affected.\nC:N - Before the fault, the initiator sends only bytes that belong to the WRITE's scatterlist. The overrun ends at sg_next() returning NULL for the end-marked last entry, so no memory outside the command buffer is read or disclosed.\nI:N - The faulting access is a read of NULL->length in iscsi_tcp_segment_init_sg(), at a low address under mmap_min_addr. Nothing is written out of bounds and no memory corruption occurs.\nA:H - The NULL dereference oopses the iSCSI transmit worker. That wedges the session and all I/O to the LUN, or panics the host under panic_on_oops. The target can repeat the crash on every reconnect and WRITE."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/libiscsi_tcp.c"],"versions":[{"version":"a081c13e39b5c17052a7b46fafa61019c4c110ff","lessThan":"fb7e3c649b7d6721e5b0e31b35b87a37db4f0246","status":"affected","versionType":"git"},{"version":"a081c13e39b5c17052a7b46fafa61019c4c110ff","lessThan":"01697cebec719c2db8c3bc8d265ad003efdd16c1","status":"affected","versionType":"git"},{"version":"a081c13e39b5c17052a7b46fafa61019c4c110ff","lessThan":"7a1bda4004e964793b23c1365cf0104c8603533c","status":"affected","versionType":"git"},{"version":"a081c13e39b5c17052a7b46fafa61019c4c110ff","lessThan":"6f3a770275640d3313a7089d49fdc31eb0fff95b","status":"affected","versionType":"git"},{"version":"a081c13e39b5c17052a7b46fafa61019c4c110ff","lessThan":"ca70c19c0b25e56f7c2566d979189d2cdccb95dc","status":"affected","versionType":"git"},{"version":"a081c13e39b5c17052a7b46fafa61019c4c110ff","lessThan":"e89d8e7c00ec52c207950a4f80c77e82565de9fe","status":"affected","versionType":"git"},{"version":"a081c13e39b5c17052a7b46fafa61019c4c110ff","lessThan":"9a6aa08dccb428d9f0ea40d9fce8debdac317c89","status":"affected","versionType":"git"},{"version":"a081c13e39b5c17052a7b46fafa61019c4c110ff","lessThan":"eb7aa7fd673fdc1582223cd133bcc5f54e7af19f","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/libiscsi_tcp.c"],"versions":[{"version":"2.6.29","status":"affected"},{"version":"0","lessThan":"2.6.29","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/fb7e3c649b7d6721e5b0e31b35b87a37db4f0246"},{"url":"https://git.kernel.org/stable/c/01697cebec719c2db8c3bc8d265ad003efdd16c1"},{"url":"https://git.kernel.org/stable/c/7a1bda4004e964793b23c1365cf0104c8603533c"},{"url":"https://git.kernel.org/stable/c/6f3a770275640d3313a7089d49fdc31eb0fff95b"},{"url":"https://git.kernel.org/stable/c/ca70c19c0b25e56f7c2566d979189d2cdccb95dc"},{"url":"https://git.kernel.org/stable/c/e89d8e7c00ec52c207950a4f80c77e82565de9fe"},{"url":"https://git.kernel.org/stable/c/9a6aa08dccb428d9f0ea40d9fce8debdac317c89"},{"url":"https://git.kernel.org/stable/c/eb7aa7fd673fdc1582223cd133bcc5f54e7af19f"}],"title":"scsi: libiscsi_tcp: Prevent R2T range check overflow","x_generator":{"engine":"bippy-1.2.0"}}}}