CVE-2026-99935
published high CVSS 3.1 · 7.5scsi: libiscsi_tcp: Prevent R2T range check overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa081c13e39b5c17052a7b46fafa61019c4c110ff to < fb7e3c649b7d6721e5b0e31b35b87a37db4f0246 · a081c13e39b5c17052a7b46fafa61019c4c110ff to < 01697cebec719c2db8c3bc8d265ad003efdd16c1 · a081c13e39b5c17052a7b46fafa61019c4c110ff to < 7a1bda4004e964793b23c1365cf0104c8603533c · a081c13e39b5c17052a7b46fafa61019c4c110ff to < 6f3a770275640d3313a7089d49fdc31eb0fff95b · a081c13e39b5c17052a7b46fafa61019c4c110ff to < ca70c19c0b25e56f7c2566d979189d2cdccb95dc · a081c13e39b5c17052a7b46fafa61019c4c110ff to < e89d8e7c00ec52c207950a4f80c77e82565de9fe · a081c13e39b5c17052a7b46fafa61019c4c110ff to < 9a6aa08dccb428d9f0ea40d9fce8debdac317c89 · a081c13e39b5c17052a7b46fafa61019c4c110ff to < eb7aa7fd673fdc1582223cd133bcc5f54e7af19f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.29 (affected) · 0 to < 2.6.29 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a081c13e39b5c17052a7b46fafa61019c4c110ff to < fb7e3c649b7d6721e5b0e31b35b87a37db4f0246 (affected · git)a081c13e39b5c17052a7b46fafa61019c4c110ff to < 01697cebec719c2db8c3bc8d265ad003efdd16c1 (affected · git)a081c13e39b5c17052a7b46fafa61019c4c110ff to < 7a1bda4004e964793b23c1365cf0104c8603533c (affected · git)a081c13e39b5c17052a7b46fafa61019c4c110ff to < 6f3a770275640d3313a7089d49fdc31eb0fff95b (affected · git)a081c13e39b5c17052a7b46fafa61019c4c110ff to < ca70c19c0b25e56f7c2566d979189d2cdccb95dc (affected · git)a081c13e39b5c17052a7b46fafa61019c4c110ff to < e89d8e7c00ec52c207950a4f80c77e82565de9fe (affected · git)a081c13e39b5c17052a7b46fafa61019c4c110ff to < 9a6aa08dccb428d9f0ea40d9fce8debdac317c89 (affected · git)a081c13e39b5c17052a7b46fafa61019c4c110ff to < eb7aa7fd673fdc1582223cd133bcc5f54e7af19f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.29 (affected)0 to < 2.6.29 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/01697cebec719c2db8c3bc8d265ad003efdd16c1
- https://git.kernel.org/stable/c/6f3a770275640d3313a7089d49fdc31eb0fff95b
- https://git.kernel.org/stable/c/7a1bda4004e964793b23c1365cf0104c8603533c
- https://git.kernel.org/stable/c/9a6aa08dccb428d9f0ea40d9fce8debdac317c89
- https://git.kernel.org/stable/c/ca70c19c0b25e56f7c2566d979189d2cdccb95dc
- https://git.kernel.org/stable/c/e89d8e7c00ec52c207950a4f80c77e82565de9fe
- https://git.kernel.org/stable/c/eb7aa7fd673fdc1582223cd133bcc5f54e7af19f
- https://git.kernel.org/stable/c/fb7e3c649b7d6721e5b0e31b35b87a37db4f0246
Provider assertions
1Linux · cna
scsi: libiscsi_tcp: Prevent R2T range check overflow
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e3ca6a4d543c3cd05a1967e30c006cc4d49810ac4b87c9a82ec9e801410a17be
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record