CVE-2026-99154

scsi: libiscsi: Reject a negative task index from parse_pdu_itt

State
Published
Severity
Not scored
Published
Oct 28, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to before 24bd9ba431b2daa263f3551bc2f09f6b4487f5aeAffected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to before f8fabe1fe044f86abc42194b8f86dfd70212115fAffected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to before e896a97f336c5edfc13066b57ed431cb3f64e68cAffected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to before 6200fb2de579f268742a77b0f3d823cb0a8b1947Affected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to before 0eb06ebbbecb122f0df9a1f7f623f5255be741edAffected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to before 6cadfa6f1f5896632d4223d3b7addb2a29fea74eAffected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to before 35b60549a956237488c89a2d85352e026e7d55b7Affected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to before 8ee2a09a1dbb257c9e828ad2497f8e4832dfb142Affected
LinuxLinux
  • 2.6.33Affected
  • before 2.6.33Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.161 through 6.6.*Not affected
  • 6.12.115 through 6.12.*Not affected
  • 6.18.59 through 6.18.*Not affected
  • 7.2.13 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.