scsi: libiscsi: Reject a negative task index from parse_pdu_itt (Linux Linux)

CVE-2026-99154
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.67 % · percentile 53 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ bfead3b2cb4607c71831423c3ee97d22cd0c9dcb < 24bd9ba431b2daa263f3551bc2f09f6b4487f5ae
affected : ≥ bfead3b2cb4607c71831423c3ee97d22cd0c9dcb < f8fabe1fe044f86abc42194b8f86dfd70212115f
affected : ≥ bfead3b2cb4607c71831423c3ee97d22cd0c9dcb < e896a97f336c5edfc13066b57ed431cb3f64e68c
affected : ≥ bfead3b2cb4607c71831423c3ee97d22cd0c9dcb < 6200fb2de579f268742a77b0f3d823cb0a8b1947
affected : ≥ bfead3b2cb4607c71831423c3ee97d22cd0c9dcb < 0eb06ebbbecb122f0df9a1f7f623f5255be741ed
affected : ≥ bfead3b2cb4607c71831423c3ee97d22cd0c9dcb < 6cadfa6f1f5896632d4223d3b7addb2a29fea74e
affected : ≥ bfead3b2cb4607c71831423c3ee97d22cd0c9dcb < 35b60549a956237488c89a2d85352e026e7d55b7
affected : ≥ bfead3b2cb4607c71831423c3ee97d22cd0c9dcb < 8ee2a09a1dbb257c9e828ad2497f8e4832dfb142
Other versions : unaffected
Linux · Linux
affected : 2.6.33
unaffected : ≥ 0 < 2.6.33
unaffected : ≥ 5.10.273 ≤ 5.10.*
unaffected : ≥ 5.15.224 ≤ 5.15.*
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.161 ≤ 6.6.*
unaffected : ≥ 6.12.115 ≤ 6.12.*
unaffected : ≥ 6.18.59 ≤ 6.18.*
unaffected : ≥ 7.2.13 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD