Description
In the Linux kernel, the following vulnerability has been resolved:

scsi: libiscsi: Reject a negative task index from parse_pdu_itt

A transport that implements parse_pdu_itt hands libiscsi an index taken
from the PDU, and both lookups bound it from above only:

if (i >= session->cmds_max)

i and cmds_max are both int, so a negative index passes and
session->cmds[i] is read from before the array.

be2iscsi produces one. beiscsi_parse_pdu() assigns the raw tag,

*index = (int)itt;

and beiscsi_complete_pdu() forwards an unsolicited NOP-In from the
hardware async ring without replacing its ITT, so the value is the
target's. It also reports the session's own age rather than the one in
the tag, which leaves the age comparison in iscsi_verify_itt() with
nothing to reject.

Bound the index from below in both lookups.
Published: 2026-10-28
Score: n/a
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Patch kernel
AI Analysis

Impact

An integer index supplied by an iSCSI target is passed to a library function without a lower bound check, allowing a negative value to pass the upper bound test. The library then uses the signed index to access an array before its first element, causing an out‑of‑bounds read of kernel memory. This flaw exposes the contents of memory that should remain hidden and could be leveraged to learn kernel‑level data or crash the system, as any read beyond the array bounds is unpredictable.

Affected Systems

The issue affects the Linux kernel wherever the libiscsi implementation is compiled in. No specific kernel version is listed, but the patch was applied in a series of commits in the stable tree – any kernel before those revisions is vulnerable. The vulnerability deals with the generic Linux:Linux product line.

Risk and Exploitability

The CVSS score is not reported and the EPSS score is unavailable, so the precise severity cannot be quantified from the data, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, because the flaw can be triggered by malformed iSCSI PDUs sent from a remote host, it is a remote‑only attack vector with the possibility of information disclosure or denial of service. The lack of a lower bound check is a classic out‑of‑bounds read (CWE‑125), which historically has been considered serious in kernel contexts.

Generated by OpenCVE AI on October 28, 2026 at 12:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the fix introduced in commit 35b60549a956237488c89a2d85352e026e7d55b7 or later.
  • If an immediate official update is unavailable, backport the patch from the referenced commits into your kernel source and build the updated kernel for deployment.
  • As a temporary measure, restrict or filter iSCSI traffic from untrusted hosts and monitor kernel logs for abnormal task indices before the patch is applied.

Generated by OpenCVE AI on October 28, 2026 at 12:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Wed, 28 Oct 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: libiscsi: Reject a negative task index from parse_pdu_itt A transport that implements parse_pdu_itt hands libiscsi an index taken from the PDU, and both lookups bound it from above only: if (i >= session->cmds_max) i and cmds_max are both int, so a negative index passes and session->cmds[i] is read from before the array. be2iscsi produces one. beiscsi_parse_pdu() assigns the raw tag, *index = (int)itt; and beiscsi_complete_pdu() forwards an unsolicited NOP-In from the hardware async ring without replacing its ITT, so the value is the target's. It also reports the session's own age rather than the one in the tag, which leaves the age comparison in iscsi_verify_itt() with nothing to reject. Bound the index from below in both lookups.
Title scsi: libiscsi: Reject a negative task index from parse_pdu_itt
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-28T10:35:08.968Z

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

Link: CVE-2026-99154

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T11:17:35.577

Modified: 2026-10-28T11:17:35.577

Link: CVE-2026-99154

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T12:15:14Z

Weaknesses