# CVE-2026-99154: scsi: libiscsi: Reject a negative task index from parse_pdu_itt

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-02)
- Published: 2026-10-28T10:35:08.968Z
- Modified: 2026-10-31T13:17:57.807Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bfead3b2cb4607c71831423c3ee97d22cd0c9dcb before 24bd9ba431b2daa263f3551bc2f09f6b4487f5ae; from bfead3b2cb4607c71831423c3ee97d22cd0c9dcb before f8fabe1fe044f86abc42194b8f86dfd70212115f; from bfead3b2cb4607c71831423c3ee97d22cd0c9dcb before e896a97f336c5edfc13066b57ed431cb3f64e68c; from bfead3b2cb4607c71831423c3ee97d22cd0c9dcb before 6200fb2de579f268742a77b0f3d823cb0a8b1947; from bfead3b2cb4607c71831423c3ee97d22cd0c9dcb before 0eb06ebbbecb122f0df9a1f7f623f5255be741ed; from bfead3b2cb4607c71831423c3ee97d22cd0c9dcb before 6cadfa6f1f5896632d4223d3b7addb2a29fea74e; from bfead3b2cb4607c71831423c3ee97d22cd0c9dcb before 35b60549a956237488c89a2d85352e026e7d55b7; from bfead3b2cb4607c71831423c3ee97d22cd0c9dcb before 8ee2a09a1dbb257c9e828ad2497f8e4832dfb142; 2.6.33 (not affected: before 2.6.33; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.59 up to 6.18.*; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/24bd9ba431b2daa263f3551bc2f09f6b4487f5ae>
- <https://git.kernel.org/stable/c/f8fabe1fe044f86abc42194b8f86dfd70212115f>
- <https://git.kernel.org/stable/c/e896a97f336c5edfc13066b57ed431cb3f64e68c>
- <https://git.kernel.org/stable/c/6200fb2de579f268742a77b0f3d823cb0a8b1947>
- <https://git.kernel.org/stable/c/0eb06ebbbecb122f0df9a1f7f623f5255be741ed>
- <https://git.kernel.org/stable/c/6cadfa6f1f5896632d4223d3b7addb2a29fea74e>
- <https://git.kernel.org/stable/c/35b60549a956237488c89a2d85352e026e7d55b7>
- <https://git.kernel.org/stable/c/8ee2a09a1dbb257c9e828ad2497f8e4832dfb142>

## Sources

- CVE List: [CVE-2026-99154](https://www.cve.org/CVERecord?id=CVE-2026-99154), CVE Terms of Use, modified 2026-10-31
- NVD: [CVE-2026-99154](https://nvd.nist.gov/vuln/detail/CVE-2026-99154), Public domain, modified 2026-10-31

---

Page: https://cve.day/CVE-2026-99154 · Whole record: https://cve.day/CVE-2026-99154.json · Rebuilt by cve.day 2026-11-25T22:59:47.580Z
