Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99935

published high CVSS 3.1 · 7.5

scsi: libiscsi_tcp: Prevent R2T range check overflow

Published
30 Nov 2026, 13:18:25 UTC
Updated
01 Dec 2026, 05:44:22 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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

0

No weakness assertions.

References

8

Provider assertions

1

Linux · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected