Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-99154

scsi: libiscsi: Reject a negative task index from parse_pdu_itt

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to < 6cadfa6f1f5896632d4223d3b7addb2a29fea74eaffected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to < 35b60549a956237488c89a2d85352e026e7d55b7affected
  • bfead3b2cb4607c71831423c3ee97d22cd0c9dcb to < 8ee2a09a1dbb257c9e828ad2497f8e4832dfb142affected

Linux Linux

Default version status: affected

  • 2.6.33affected
  • 0 to < 2.6.33unaffected
  • 6.18.59 to ≤ 6.18.*unaffected
  • 7.2.13 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References