CVE-2026-99935: Linux kernel iSCSI initiator crashes on an R2T whose offset and length wrap 32 bits

ByLinuxtastic

December 1, 2026 #CVE, #Linux Kernel

In iSCSI a target that wants the rest of a write sends a Ready To Transfer PDU naming the offset and length it is ready for, and the initiator trusts them. libiscsi_tcp (drivers/scsi/libiscsi_tcp.c), the library under the software initiator and the iscsi_tcp driver, checked them by adding the two 32-bit values and comparing with the buffer length, and the sum “can wrap. An R2T with offset 1 and length U32_MAX then passes the check for a 4096-byte write.” The transmit path then “treats the wrapped range as valid, exhausts the command scatterlist, and dereferences the NULL next entry in iscsi_tcp_segment_done()”. The kernel CNA and Red Hat both score it 7.5 as a remote crash with no authentication; Red Hat rates it Important and lists every RHEL release and the OpenShift images as affected. Upgrade every host that logs in to iSCSI targets to a kernel at or above 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 or 7.3.4 and reboot; until then, treat every target the initiator can reach as able to panic it.

CVE-2026-99935 at a glance.

ComponentLinux kernel, SCSI iSCSI initiator: the R2T range check in drivers/scsi/libiscsi_tcp.c, shared by the software initiator (iscsi_tcp) and the offload drivers built on libiscsi_tcp (cxgb4i, bnx2i)
Affected versionsmainline 2.6.29 up to 7.4-rc1 (from commit a081c13e); 5.10.x below 5.10.275, 5.15.x below 5.15.226, 6.1.x below 6.1.193, 6.6.x below 6.6.163, 6.12.x below 6.12.117, 6.18.x below 6.18.63, 7.3.x below 7.3.4. Every kernel since 2009 carries the check
Fixed inmainline 7.4-rc1 (commit eb7aa7fd) and stable 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4; eight fix commits in the record. The fix checks “the offset first, then compare[s] the length with the remaining bytes in the data buffer”, so neither value can wrap the other
Severitykernel CNA CVSS 3.1 7.5 High (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, availability only); NVD Received with no score, CWE or CPE of its own. Red Hat Important, 7.5 with the same vector, CWE-476 (NULL pointer dereference), score marked draft; Ubuntu tracker not reachable; SUSE not reachable
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30, released 30 November). EPSS: no score yet on 1 December 2026
Who is exposedany host with an active iSCSI session over the software initiator: virtualisation hosts and database servers on iSCSI SANs, Kubernetes nodes with iSCSI CSI drivers, and anything that boots from iSCSI. The attacker is the target, or anyone who can impersonate it — a compromised storage array, a rogue device on the storage VLAN, or a man in the middle where the session is not on an isolated network. No authentication is needed beyond what the initiator already gave; the malformed PDU arrives inside an established session. Red Hat’s statement: exposure “is lower on RHEL deployments that use dedicated, trusted storage networks”
PublishedCVE record 30 November 2026 (kernel CNA, updated 1 December); this page built 1 December 2026, last updated 1 December 2026

What it is

A SCSI write over iSCSI is driven by the target: the initiator sends the command and some immediate data, and the target returns R2T PDUs saying “send me length bytes from offset“. Both fields are 32-bit on the wire, and the initiator must keep them inside the command’s data buffer before it starts walking the scatterlist to find the bytes. The old check added the two and compared the sum with the buffer length; with offset 1 and length 0xFFFFFFFF the 32-bit sum is 0, which is less than 4,096, so the check passed. The transmit code then set out to send four gigabytes from a 4 KiB buffer.

What that does is run the scatterlist to its end and keep going. iscsi_tcp_segment_done() advances to the next scatterlist entry when the current one is exhausted; past the last one there is no next entry, and the dereference of NULL is a kernel oops in softirq or the transmit workqueue, which on most configurations is a panic. The score is availability only — nothing is read or written beyond the crash — but the crash is of the whole host, from one PDU, in a session that any target the initiator trusts can send. Red Hat classes it as CWE-476 and marks every RHEL release from 6 to 10 affected, since the check has been the same since 2.6.29.

The fix reorders the arithmetic: the offset is checked against the buffer length on its own, and the length is then compared with what remains after the offset, so no addition can wrap. The change is confined to libiscsi_tcp.c; the libiscsi core and the hardware-offload initiators that do not use the TCP library are not named. git.kernel.org refused our reader, so the change is described from the CNA’s copy of the commit message and the one file the record names.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.

DistributionStatusFixed package
AlpineNot consulted for this page—
Debianbookworm’s 6.1 kernel (6.1.176-1, security 6.1.192-3) vulnerable; trixie fixed in both the plain and security rows; forky and sid fixed; no DSA or DLA on 1 December 2026trixie 6.12.117-1 (security 6.12.118-1); forky and sid 7.3.6-1 (fix recorded at 7.3.4-1); nothing for bookworm on 1 December 2026
UbuntuTracker unreachable on 1 December 2026 (client error on two attempts); nothing inferred—
RHEL, Rocky, Alma, CentOS StreamImportant, 7.5, CWE-476 (bug 2586403); affected on RHEL 6, 7, 8, 9 and 10 (kernel and kernel-rt) and on the OpenShift 4 and 5 RHCOS images; no errata on 1 December 2026nothing on 1 December 2026
openSUSE/SLETracker unreachable on 1 December 2026 (client error); nothing inferred—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.117 / 6.18.63 / 7.3.4 or later

How to check

Three questions, in order: which kernel is running, is the TCP iSCSI library loaded, and which targets have sessions open and over what network. The third decides urgency: a session to an array on an isolated storage VLAN is a different risk from one that crosses a routed network.

# 1. the running kernel (compare with the fixed stable version for its series)
uname -r

# 2. is the vulnerable library loaded (iscsi_tcp, cxgb4i and bnx2i all sit on libiscsi_tcp)
lsmod | grep -E '^(libiscsi_tcp|iscsi_tcp|cxgb4i|bnx2i)'
modinfo -n libiscsi_tcp 2>/dev/null

# 3. open sessions, their targets and the path to them
iscsiadm -m session -P 1 2>/dev/null
ss -tnp | grep -E ':3260\b'
ip route get $(iscsiadm -m session 2>/dev/null | awk -F'[ ,:]' '{print $4; exit}') 2>/dev/null

A kernel at or above the fixed stable version for its series is done. A host with no libiscsi_tcp loaded and no sessions has nothing to crash, and a host whose only sessions go to an array on a dedicated, unrouted storage network is exposed only to that array. The case the score describes is a session that an attacker can reach or stand in the middle of: an initiator on a shared VLAN, a target across a routed network, or an array that itself might be compromised, since one R2T is enough and nothing stops a target from sending it.

# an attempted or successful hit leaves the transmit path's trace before the crash, and a session drop after it
journalctl -k -b -1 | grep -iE 'iscsi_tcp_segment_done|libiscsi_tcp|BUG: kernel NULL pointer' | tail
journalctl -k -b | grep -iE 'iscsi.*(conn error|session recovery|detected conn error)' | tail
# the last R2T values are not logged; a target sending offset 1 / length 0xFFFFFFFF shows only as the oops above

A previous boot whose kernel log ends in a NULL dereference under iscsi_tcp_segment_done is a hit, whether deliberate or an array firmware bug. Repeated connection-error and recovery messages from one target without a crash are not this bug, which does not fail gracefully, but they are a reason to look at that target before upgrading.

How to fix it

Install the fixed kernel and reboot; a kernel bug is not patched in place and the library stays in memory until the machine boots the new image. On an iSCSI-booted host, or one carrying live SAN volumes, that means draining workloads first. Debian trixie and later already carry the fix; Ubuntu could not be checked, and Red Hat lists every RHEL release as affected with no errata on 1 December 2026.

# Debian trixie / forky / sid
apt update && apt install linux-image-amd64 && systemctl reboot       # or linux-image-arm64
# Ubuntu, RHEL family, SUSE: when the builds land
apt update && apt full-upgrade && systemctl reboot
dnf upgrade kernel && systemctl reboot
zypper patch && systemctl reboot
uname -r

# until then: confine iSCSI to the storage network and refuse 3260 from anywhere else
nft add rule inet filter output tcp dport 3260 ip daddr != 10.20.0.0/24 drop

The only mitigation is the one the storage network should already provide: an initiator that can reach only its own array, over a link nobody else is on, can be crashed only by that array. CHAP does not help, since the PDU arrives inside an authenticated session, and neither does header or data digest, since the R2T is well formed. What not to do: do not switch to iscsi_tcp‘s offload cousins expecting to dodge the bug, since cxgb4i and bnx2i use the same library; and do not treat Red Hat’s “lower exposure on trusted storage networks” as a reason to skip the kernel, since the array’s own firmware is in the trust boundary.

Sources

  • CVE-2026-99935 at CVE.org — the kernel CNA record (30 November 2026, updated 1 December when the CNA added its CVSS 3.1 metric): the commit message with the offset-1/U32_MAX example, the git and version ranges, CVSS 3.1 7.5
  • Fix commits on git.kernel.org: eb7aa7fd, fb7e3c64, 01697ceb, 7a1bda40, 6f3a7702, ca70c19c, e89d8e7c, 9a6aa08d; git.kernel.org refuses automated readers, so the diffs were not read for this page and the fix is described from the CNA’s copy of the commit message and the file the record names
  • NVD entry — Received on 30 November, carrying the CNA’s ranges; no NVD score, CWE or CPE on 1 December
  • Distribution trackers: Debian (trixie 6.12.117-1 fixed, bookworm vulnerable) · Ubuntu (unreachable on 1 December) · Red Hat (Important 7.5, CWE-476, every RHEL release affected) · SUSE (unreachable on 1 December)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS: no score for this CVE on 1 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.