CVE-2026-99754
published high CVSS 3.1 · 7.1scsi: target: Verify the iSCSI ISID is null-terminated
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < 7cc1ed496b739e0f57c10dd61e289a0b27ca7158 · c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < c8f8c568a73d1ba6b045dcb94e23ab50633da9e5 · c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < 54bf2d26275efaa9caad854880ebba1a42f9a2ad · c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < a5ebdf5b5a2105557a22c00b5e678a8d753a1f8c · c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < 29c5ce6465b5696fbdf8126fcd0a6946b005c8b7 · c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < 8a71f25a34439e99e094fabb619f787d15aaf9ae · c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < d1db24c32bbe7b998573392070c3a6bdd9f4066c · c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < cdf4b87a18cb6a0ee26865cb1b7b5660a491d302 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.38 (affected) · 0 to < 2.6.38 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: target: Verify the iSCSI ISID is null-terminated iscsi_parse_pr_out_transport_id() returns the ISID of a FORMAT CODE 01b TransportID as a pointer into the PERSISTENT RESERVE OUT parameter list, lowercased in place and never null-terminated. spc4r37 Table 508 requires the field to be null-terminated, but a non-conforming initiator can omit the NULL; when the ISID ends at the end of the received buffer, the pointer is not a C string. The registration code still consumes it as one: strcmp() in __core_scsi3_locate_pr_reg() and in the REGISTER AND MOVE path, and snprintf("%s") in __core_scsi3_do_alloc_registration(), which also reads its first 8 bytes unconditionally with get_unaligned_be64() - a NUL check does not bound that read. When the parameter list spans more than one page, transport_kmap_data_sg() maps it with vmap(), and the over-read walks off the end of the mapping into the vmalloc() guard page and oopses. Reproduced with a PR OUT REGISTER + SPEC_I_PT parameter list of exactly 8192 bytes whose final TransportID carries a 12-byte ISID without a terminating NUL: BUG: unable to handle page fault for address: ffffc9000138c000 RIP: 0010:strcmp+0xc/0x30 Call Trace: __core_scsi3_locate_pr_reg+0xd3/0x120 [target_core_mod] core_scsi3_decode_spec_i_port+0x8fc/0x13a0 [target_core_mod] core_scsi3_emulate_pro_register+0x73c/0x900 [target_core_mod] ... iscsi_target_rx_thread+0xef/0x1d0 [iscsi_target_mod] With a single-page parameter list the buffer is a kmap() direct mapping, so the over-read continues into the physically adjacent page instead of faulting. snprintf("%s") then copies whatever follows the ISID in memory into pr_reg_isid, and PR IN READ FULL STATUS reports the registration back to any initiator, turning the over-read into an info leak of kernel heap contents. Reproduced with a 4096-byte parameter list whose last TransportID ends at the end of the buffer with a 4-byte ISID and no NUL, interleaved with I/O to populate adjacent pages: the READ FULL STATUS response returned the ISID as "0xleak" followed by raw bytes that were not part of the parameter list. The snprintf() into pr_reg_isid[PR_REG_ISID_LEN] caps the echoed ISID at 15 characters, so at most 11 bytes past the buffer are leaked per command, but the PR OUT command is not rate limited. Any initiator that can send PR OUT to an iSCSI-exported LUN can trigger either variant, including a guest via vhost-scsi. Require 8 bytes to remain after the ",i,0x" separator, and a NUL inside the rest of the descriptor, before the ISID pointer is returned. REGISTER AND MOVE fails with TCM_INVALID_PARAMETER_LIST; on SPEC_I_PT no target port claims the malformed TransportID, and the command fails the same way.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
- Scenarios
- en: AV:N - A logged-in iSCSI initiator places the malformed format-code 01b TransportID, including the unterminated ISID, in the PERSISTENT RESERVE OUT parameter list of a SCSI Command PDU. iscsi_target_rx_thread() receives that PDU and core_scsi3_decode_spec_i_port() passes it to iscsi_parse_pr_out_transport_id(); iSCSI is carried over TCP. AC:L - The initiator chooses the parameter-list length and the ISID bytes. transport_kmap_data_sg() vmap()s a multi-page list, so an ISID that ends on that mapping faults on the guard page in get_unaligned_be64() or snprintf("%s") in __core_scsi3_do_alloc_registration(). core_scsi3_pr_seq_non_holder() accepts PRO_REGISTER even when another reservation is held. PR:L - target_scsi3_emulate_pr_out() runs only after iscsi_post_login_handler() sets TARG_CONN_STATE_LOGGED_IN and wakes iscsi_target_rx_thread(). iscsi_target_locate_portal() requires a node ACL, and with default TA_AUTHENTICATION=1 iscsit_tpg_enable_portal_group() keeps AuthMethod=CHAP, so the attacker is an authorized initiator. UI:N - That initiator sends the PR OUT SCSI Command PDU that reaches iscsi_parse_pr_out_transport_id(), and sends PR IN READ FULL STATUS to read back the stored pr_reg_isid. S:U - The guard-page fault and the leaked pr_reg_isid both occur in the host kernel that owns the iSCSI session. The initiator and the affected memory are under that same target security authority. C:L - For a one-page parameter list, transport_kmap_data_sg() uses kmap(), and snprintf() into pr_reg->pr_reg_isid[PR_REG_ISID_LEN] retains at most 15 characters. iscsi_get_pr_transport_id() copies that string into the PR IN READ FULL STATUS TransportID, disclosing only those adjacent bytes per command. I:N - The ISID pointer is consumed by strcmp() in __core_scsi3_locate_pr_reg(), get_unaligned_be64(), and snprintf("%s") into the 16-byte pr_reg_isid. The tolower loop in iscsi_parse_pr_out_transport_id() writes only while p remains inside tid_len. A:H - A parameter list longer than one page is vmap()'d by transport_kmap_data_sg() with a guard page. The unterminated ISID makes strcmp() in __core_scsi3_locate_pr_reg(), or snprintf()/get_unaligned_be64() in __core_scsi3_do_alloc_registration(), fault there and oops iscsi_target_rx_thread().
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < 7cc1ed496b739e0f57c10dd61e289a0b27ca7158 (affected · git)c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < c8f8c568a73d1ba6b045dcb94e23ab50633da9e5 (affected · git)c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < 54bf2d26275efaa9caad854880ebba1a42f9a2ad (affected · git)c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < a5ebdf5b5a2105557a22c00b5e678a8d753a1f8c (affected · git)c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < 29c5ce6465b5696fbdf8126fcd0a6946b005c8b7 (affected · git)c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < 8a71f25a34439e99e094fabb619f787d15aaf9ae (affected · git)c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < d1db24c32bbe7b998573392070c3a6bdd9f4066c (affected · git)c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 to < cdf4b87a18cb6a0ee26865cb1b7b5660a491d302 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.38 (affected)0 to < 2.6.38 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/29c5ce6465b5696fbdf8126fcd0a6946b005c8b7
- https://git.kernel.org/stable/c/54bf2d26275efaa9caad854880ebba1a42f9a2ad
- https://git.kernel.org/stable/c/7cc1ed496b739e0f57c10dd61e289a0b27ca7158
- https://git.kernel.org/stable/c/8a71f25a34439e99e094fabb619f787d15aaf9ae
- https://git.kernel.org/stable/c/a5ebdf5b5a2105557a22c00b5e678a8d753a1f8c
- https://git.kernel.org/stable/c/c8f8c568a73d1ba6b045dcb94e23ab50633da9e5
- https://git.kernel.org/stable/c/cdf4b87a18cb6a0ee26865cb1b7b5660a491d302
- https://git.kernel.org/stable/c/d1db24c32bbe7b998573392070c3a6bdd9f4066c
Provider assertions
1Linux · cna
scsi: target: Verify the iSCSI ISID is null-terminated
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ba8059ff9bc895b7abcfc5970d5ea591447763d2b73a4097f3d4b69b6469bb47
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record