{"id":"CVE-2026-99154","revision":"2750a4951db44899bf0182f11c5b0cca","records":[{"revision":"2750a4951db44899bf0182f11c5b0cca","observedAt":"2026-10-31T13:33:50.447+00:00","statement":{"source":"cve-program","id":"CVE-2026-99154","aliases":[],"title":"scsi: libiscsi: Reject a negative task index from parse_pdu_itt","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libiscsi: Reject a negative task index from parse_pdu_itt\n\nA transport that implements parse_pdu_itt hands libiscsi an index taken\nfrom the PDU, and both lookups bound it from above only:\n\n      if (i >= session->cmds_max)\n\ni and cmds_max are both int, so a negative index passes and\nsession->cmds[i] is read from before the array.\n\nbe2iscsi produces one. beiscsi_parse_pdu() assigns the raw tag,\n\n      *index = (int)itt;\n\nand beiscsi_complete_pdu() forwards an unsolicited NOP-In from the\nhardware async ring without replacing its ITT, so the value is the\ntarget's. It also reports the session's own age rather than the one in\nthe tag, which leaves the age comparison in iscsi_verify_itt() with\nnothing to reject.\n\nBound the index from below in both lookups.","state":0,"publishedAt":"2026-10-28T10:35:08.968+00:00","modifiedAt":"2026-10-31T12:44:09.854+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/scsi/libiscsi.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"bfead3b2cb4607c71831423c3ee97d22cd0c9dcb\",\n                            \"lessThan\": \"24bd9ba431b2daa263f3551bc2f09f6b4487f5ae\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bfead3b2cb4607c71831423c3ee97d22cd0c9dcb\",\n                            \"lessThan\": \"f8fabe1fe044f86abc42194b8f86dfd70212115f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bfead3b2cb4607c71831423c3ee97d22cd0c9dcb\",\n                            \"lessThan\": \"e896a97f336c5edfc13066b57ed431cb3f64e68c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bfead3b2cb4607c71831423c3ee97d22cd0c9dcb\",\n                            \"lessThan\": \"6200fb2de579f268742a77b0f3d823cb0a8b1947\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bfead3b2cb4607c71831423c3ee97d22cd0c9dcb\",\n                            \"lessThan\": \"0eb06ebbbecb122f0df9a1f7f623f5255be741ed\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bfead3b2cb4607c71831423c3ee97d22cd0c9dcb\",\n                            \"lessThan\": \"6cadfa6f1f5896632d4223d3b7addb2a29fea74e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bfead3b2cb4607c71831423c3ee97d22cd0c9dcb\",\n                            \"lessThan\": \"35b60549a956237488c89a2d85352e026e7d55b7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bfead3b2cb4607c71831423c3ee97d22cd0c9dcb\",\n                            \"lessThan\": \"8ee2a09a1dbb257c9e828ad2497f8e4832dfb142\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/scsi/libiscsi.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2.6.33\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"2.6.33\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.273\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.224\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.191\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.161\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.115\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.59\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.13\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99154","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99154","identifiers":["CVE-2026-99154"]},"retained":false,"historicalAffected":[]}],"coverage":[]}