Description
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 of iscsi_tcp_hdr_dissect() resolves the ITT to a task
and copies the PDU's data segment into that command's scatterlist without
asking whether the command was reading. iscsi_tcp_r2t_rsp() in the same
file does ask, and rejects an R2T for a command that is not DMA_TO_DEVICE.

A target that answers a WRITE command's ITT with a Data-In therefore has
the initiator write target-supplied bytes into the pages that write was
about to send. Those are the caller's own pinned pages for an O_DIRECT
write, and page cache pages for a buffered one.

Observed against a test target that emits one 512-byte Data-In naming a 128
KB write's ITT, after the R2T for that write. With O_DIRECT the caller's
buffer ends up holding 512 bytes of the target's data while pwrite()
returns 131072. Buffered is quieter: pwrite() and fsync() both succeed,
nothing is logged, and reading those blocks back returns the target's bytes
out of the page cache without a command going on the wire.

Check the direction before using the scatterlist, the way the R2T path
already does.
Published: 2026-10-18
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Data Corruption
Action: Immediate Patch
AI Analysis

Impact

A flaw in the Linux kernel’s iSCSI TCP implementation fails to verify the data direction before copying a Data‑In protocol data unit into a command’s buffer. If a target responds to a WRITE command with a Data‑In segment, the kernel incorrectly writes the target’s payload into the initiator’s page cache or O_DIRECT buffer, overwriting user supplied data. This can corrupt or silently overwrite data on the initiator side but does not lead to code execution or external disclosure of data.

Affected Systems

The vulnerability affects the Linux kernel where the libiscsi_tcp driver resides. No specific patch version is listed in the available data; it is known that a fix has been merged into the kernel code. All current and legacy kernel releases that include the vulnerable libiscsi_tcp module are potentially impacted until a patched kernel is installed.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity. The EPSS score of less than 1% suggests a low likelihood of exploitation at the time of this analysis. The vulnerability permits a malicious iSCSI target to supply data that overwrites user supplied data when responding to a WRITE command. This can corrupt data on the initiator side but does not lead to code execution or external disclosure of data. Potential exploitation requires the attacker to control or influence the target device; this inference is drawn from the vulnerability description but is not explicitly stated in the input.

Generated by OpenCVE AI on October 24, 2026 at 17:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the iSCSI TCP data‑direction check fix.
  • Reboot the system to activate the updated kernel after applying the patch.
  • If an update cannot be applied immediately, limit iSCSI initiator access or temporarily disable the iSCSI driver until the patch is installed.

Generated by OpenCVE AI on October 24, 2026 at 17:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 24 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sat, 24 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Wed, 21 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-358
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L'}

threat_severity

Moderate


Sun, 18 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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 of iscsi_tcp_hdr_dissect() resolves the ITT to a task and copies the PDU's data segment into that command's scatterlist without asking whether the command was reading. iscsi_tcp_r2t_rsp() in the same file does ask, and rejects an R2T for a command that is not DMA_TO_DEVICE. A target that answers a WRITE command's ITT with a Data-In therefore has the initiator write target-supplied bytes into the pages that write was about to send. Those are the caller's own pinned pages for an O_DIRECT write, and page cache pages for a buffered one. Observed against a test target that emits one 512-byte Data-In naming a 128 KB write's ITT, after the R2T for that write. With O_DIRECT the caller's buffer ends up holding 512 bytes of the target's data while pwrite() returns 131072. Buffered is quieter: pwrite() and fsync() both succeed, nothing is logged, and reading those blocks back returns the target's bytes out of the page cache without a command going on the wire. Check the direction before using the scatterlist, the way the R2T path already does.
Title scsi: libiscsi_tcp: Check the data direction of a Data-In PDU
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-24T14:09:01.805Z

Reserved: 2026-09-25T10:25:14.351Z

Link: CVE-2026-98479

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:16:58.467

Modified: 2026-10-24T14:16:43.610

Link: CVE-2026-98479

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98479 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T17:30:08Z

Weaknesses
  • CWE-358

    Improperly Implemented Security Check for Standard