In the Linux kernel, the following vulnerability has been resolved: scsi: libiscsi_tcp: Check the data direction of a Data-In PDU The Data-In branch… (CVE-2026-98479)
Description
A vulnerability in the Linux kernel's libiscsi_tcp component allows improper handling of Data-In PDUs during WRITE commands. The flaw causes the initiator to write target-supplied data into the caller's own memory pages without verifying the data direction, potentially leading to data corruption. This occurs because the Data-In branch of iscsi_tcp_hdr_dissect() does not check if the command is reading before copying data, unlike the iscsi_tcp_r2t_rsp() function. The issue affects both O_DIRECT and buffered writes, with the latter silently corrupting page cache data.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's libiscsi_tcp module mishandles the data direction check for Data-In PDUs in iscsi_tcp_hdr_dissect(). Specifically, when processing a WRITE command, the function copies the PDU's data segment into the command's scatterlist without verifying if the command is a read operation. This contrasts with iscsi_tcp_r2t_rsp(), which correctly rejects R2T responses for commands not marked as DMA_TO_DEVICE. Consequently, a malicious or misbehaving target can cause the initiator to overwrite its own pinned pages or page cache with target-supplied data, leading to data corruption. The vulnerability was observed with a test target sending a 512-byte Data-In after an R2T for a 128 KB write, resulting in corrupted buffers and page cache without detection.
Potential Impact
The vulnerability can cause data corruption on the initiator side by overwriting the caller's memory pages with data supplied by the target during WRITE commands. This affects both direct I/O (O_DIRECT) and buffered I/O, potentially leading to silent data corruption in the page cache. There is no indication of remote code execution or denial of service from the provided data. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description suggests that the fix involves adding a data direction check in the Data-In branch of iscsi_tcp_hdr_dissect(), similar to the existing check in iscsi_tcp_r2t_rsp(). Until an official fix is available, users should monitor vendor advisories for patches addressing this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m9q9-jv5w-f7p7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98479"]
Threat ID: 6ad520b12cdf04f656993b0d
Added to database: 10/18/2026, 19:40:33 UTC
Last enriched: 10/18/2026, 20:03:53 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.