Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98479 Overview
CVE-2026-98479 is a Linux kernel vulnerability in the libiscsi_tcp driver. The iscsi_tcp_hdr_dissect() function processes incoming Data-In Protocol Data Units (PDUs) without verifying the data direction of the referenced command. A malicious or malfunctioning iSCSI target can respond to a WRITE command's Initiator Task Tag (ITT) with a Data-In PDU. The initiator then copies target-supplied bytes into the pages that the write operation was about to transmit, corrupting user data in O_DIRECT buffers or page cache pages for buffered writes.
Critical Impact
A hostile iSCSI target can silently overwrite initiator-side memory pages belonging to in-flight WRITE commands, corrupting application data without triggering errors.
Affected Products
- Linux kernel libiscsi_tcp module (SCSI subsystem)
- Systems using iSCSI software initiator over TCP
- Multiple stable kernel branches referenced in the upstream fix commits
Discovery Timeline
- 2026-10-18 - CVE-2026-98479 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98479
Vulnerability Analysis
The vulnerability resides in the Data-In handling branch of iscsi_tcp_hdr_dissect() within drivers/scsi/libiscsi_tcp.c. The function resolves the ITT carried in an incoming PDU to the matching SCSI task and copies the PDU's data segment into that task's scatterlist. The code performs this copy without checking whether the resolved task represents a read operation (DMA_FROM_DEVICE).
The parallel iscsi_tcp_r2t_rsp() function in the same file demonstrates the expected pattern. It validates the command direction and rejects a Ready-to-Transfer (R2T) PDU for any command that is not DMA_TO_DEVICE. The Data-In path lacks this symmetric check.
When a target emits a Data-In PDU referencing a WRITE command's ITT, the initiator writes the target-supplied bytes into the write buffer's scatterlist. For an O_DIRECT write, these are the caller's own pinned userspace pages. For a buffered write, they are page cache pages.
Root Cause
The root cause is a missing input validation check [CWE-20] on the data direction field of the SCSI command associated with an incoming Data-In PDU. The initiator trusts the target to only send Data-In PDUs for read commands, violating the principle of defensive protocol parsing.
Attack Vector
Exploitation requires the initiator to connect to a hostile or compromised iSCSI target. Observed behavior against a test target shows that a single 512-byte Data-In PDU naming a 128 KB write's ITT, delivered after the R2T for that write, causes 512 bytes of target data to land in the caller's buffer. With O_DIRECT, pwrite() returns 131072 while the buffer silently holds attacker-chosen bytes. With buffered I/O, pwrite() and fsync() succeed, no errors are logged, and subsequent reads return the target's bytes from the page cache without any wire activity.
No verified public exploit code is available. See the upstream patch at Linux Kernel Commit 24ffc91 for the authoritative fix implementation.
Detection Methods for CVE-2026-98479
Indicators of Compromise
- Unexpected content divergence between data written by applications and data stored on backing iSCSI LUNs.
- iSCSI targets emitting Data-In PDUs whose ITT values correspond to active WRITE commands rather than READ commands.
- Silent data corruption in files written over iSCSI-backed filesystems with no accompanying kernel error messages.
Detection Strategies
- Capture iSCSI session traffic with tcpdump or wireshark on port 3260 and inspect PDU opcodes to correlate ITT values with the original command direction.
- Audit kernel versions across Linux hosts to identify systems running libiscsi_tcp without the fix commits listed in the references.
- Monitor for iSCSI target endpoints that are unmanaged, untrusted, or exposed to networks outside the storage fabric.
Monitoring Recommendations
- Enable iSCSI session logging and alert on sessions established with targets outside an approved allowlist.
- Deploy file integrity monitoring on filesystems backed by iSCSI LUNs to detect unexpected content changes.
- Collect and centralize kernel ring buffer messages from scsi and iscsi_tcp subsystems in a security data lake for correlation.
How to Mitigate CVE-2026-98479
Immediate Actions Required
- Update the Linux kernel to a version containing the fix commits referenced in the NVD advisory for all affected stable branches.
- Restrict iSCSI initiator connections to trusted, authenticated targets within segmented storage networks.
- Enforce mutual CHAP authentication on all iSCSI sessions to raise the bar for a malicious target impersonating a trusted one.
Patch Information
The upstream fix adds a data direction check in the Data-In branch of iscsi_tcp_hdr_dissect(), mirroring the validation already present in iscsi_tcp_r2t_rsp(). Fix commits are available at Linux Kernel Commit 24ffc91, Linux Kernel Commit 79991b7, Linux Kernel Commit 8db1232, Linux Kernel Commit 94e5bdd, Linux Kernel Commit bce07e2, Linux Kernel Commit de96dc1, Linux Kernel Commit e3b25bf, and Linux Kernel Commit ee56b5e.
Workarounds
- Disable the iscsi_tcp module on hosts that do not require software iSCSI initiator functionality.
- Place iSCSI storage traffic on isolated VLANs or dedicated storage networks inaccessible to untrusted systems.
- Prefer hardware iSCSI HBAs or alternative storage transports until patched kernels are deployed where feasible.
# Confirm kernel version and iscsi_tcp module status
uname -r
lsmod | grep iscsi_tcp
# Disable the module if iSCSI is not required
sudo modprobe -r iscsi_tcp
echo "blacklist iscsi_tcp" | sudo tee /etc/modprobe.d/disable-iscsi-tcp.conf
# Enforce mutual CHAP for required iSCSI sessions
sudo iscsiadm -m node -o update -n node.session.auth.authmethod -v CHAP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

