CVE-2026-99154

scsi: libiscsi: Reject a negative task index from parse_pdu_itt

Published Oct 28, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kernel vulnerability arises in libiscsi during the processing of a target request. An index value extracted from an iSCSI PDU is used without a lower bound check. When the index is negative, the array lookup session->cmds[i] runs outside the array bounds and reads kernel memory before the first element. This yields an out‑of‑bounds read of kernel memory that can expose sensitive data.

Affected Systems

All Linux kernels that compile the libiscsi subsystem and have not incorporated the patch are affected. The fix is present in the stable tree as of the commit referenced in the advisory, so any kernel released before that commit remains vulnerable. The issue applies across the Linux:Linux product line.

Risk and Exploitability

The CVSS score of 9.8 signals a high‑risk flaw. The EPSS score of less than 1% suggests that exploitation is currently uncommon, and the vulnerability is not listed in CISA KEV. Attackers can trigger the flaw by sending a malformed iSCSI PDU from a remote host, making the exploit remote. The missing lower bound check enables an out‑of‑bounds read that can lead to information disclosure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel version that includes the patch from commit 35b60549 or later
  • If a security update is not available, backport the patch from the commit into your kernel source and rebuild the kernel
  • Until a patch is available, limit or filter iSCSI traffic from untrusted hosts and monitor kernel logs for abnormal task indices

Generated by OpenCVE AI on November 2, 2026 at 03:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
History
Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-125
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 31, 2026, 12:44 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 31, 2026, 1:17 PM
Severity
Moderate
Public date
Oct 28, 2026, 10:35 AM