In the Linux kernel, the following vulnerability has been resolved:
scsi: target: Bound PR-OUT TransportID parsing to the received buffer
core_scsi3_decode_spec_i_port() and core_scsi3_emulate_register_and_move() hand the raw PERSISTENT RESERVE OUT parameter buffer to target_parse_pr_out_transport_id() without telling it how many bytes are valid. For an iSCSI TransportID (FORMAT CODE 01b), iscsi_parse_pr_out_transport_id() locates the ",i,0x" ISID separator with an unbounded strstr() (and on the error path prints the name with a further unbounded "%s"). An initiator can submit a TransportID whose iSCSI name contains neither a ",i,0x" substring nor a NUL terminator, filling the parameter list to its end, so the scan runs off the end of the buffer.
When the parameter list spans more than one page the buffer is a multi-page vmap (transport_kmap_data_sg()), so the over-read walks into the trailing vmalloc guard page and oopses (KASAN: vmalloc-out-of-bounds in strstr). It is reachable by any fabric that delivers a PR OUT to a device exported through an iSCSI TPG, including a guest via vhost-scsi.
Pass the number of received bytes down to the parser and validate the iSCSI TransportID's own self-described length (ADDITIONAL LENGTH + 4) once, up front: reject it if it is below the spc4r17 minimum or larger than the received buffer, then bound the separator search, the ISID walk and the name copy by that length. This is the length check the callers already perform after the parse (core_scsi3_decode_spec_i_port() compares tid_len against tpdl, core_scsi3_emulate_register_and_move() validates it against data_length), moved ahead of the scan. Also drop the unbounded "%s" of the unterminated name.
Add per-format explicit name-length checks before copying into i_str, rather than silently truncating with min_t: for FORMAT CODE 00b reject if the descriptor body (tid_len - 4 bytes) cannot fit in i_str[TRANSPORT_IQN_LEN]; for FORMAT CODE 01b reject if the name portion (from &buf[4] up to the separator) cannot fit. Both checks make the bounds intent explicit at each format branch.
While here, also reject a FORMAT CODE 01b TransportID whose ",i,0x" separator sits at the very end of the descriptor: that leaves an empty ISID and points the returned port nexus pointer at buf + tid_len, one past the descriptor, which the registration code (__core_scsi3_locate_pr_reg(), __core_scsi3_alloc_registration()) then dereferences as the ISID string -- the same over-read of the parameter buffer for a malformed descriptor.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade python3-perf-debuginfoUpgrade kernel-tools-debuginfoUpgrade perf-debuginfoUpgrade kernel-develUpgrade kernel-modules-extraUpgrade kernel-debuginfoUpgrade kernel-headersUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-debuginfo-common-aarch64Upgrade bpftool-debuginfoUpgrade perfUpgrade kernel-tools-develUpgrade bpftoolUpgrade kernel-modules-extra-commonUpgrade kernel-toolsUpgrade python3-perfUpgrade kernel-livepatch-6.1.180-225.360Upgrade kernel | Sep 1, 2026 | Aug 15, 2026 |
| Debian | — | Upgrade linux | Aug 16, 2026 | Aug 16, 2026 |
| Redhat_linux | — | No solution exists | Aug 19, 2026 | Aug 15, 2026 |
| Ubuntu | — | Upgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-gcp-64kUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-realtime-hwe-26.04No solution existsUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-1013-gcpUpgrade linux-image-7.0.0-34-generic-64kUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-34-realtime-64kUpgrade linux-image-oem-7.0Upgrade linux-image-6.8.0-1035-nvidia-tegra-rtUpgrade linux-image-aws-7.0Upgrade linux-image-realtimeUpgrade linux-image-awsUpgrade linux-image-7.0.0-1013-awsUpgrade linux-image-7.0.0-1020-raspi-realtimeUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-7.0.0-1013-aws-64kUpgrade linux-image-7.0.0-1014-ibmUpgrade linux-image-realtime-7.0Upgrade linux-image-nvidia-tegra-rtUpgrade linux-image-realtime-64kUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-generic-64kUpgrade linux-image-7.0.0-1013-gcp-64kUpgrade linux-image-oem-26.04aUpgrade linux-image-aws-64k-7.0Upgrade linux-image-raspi-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-raspiUpgrade linux-image-7.0.0-1020-raspiUpgrade linux-image-6.8.0-1035-nvidia-tegraUpgrade linux-image-7.0.0-34-genericUpgrade linux-image-nvidia-tegraUpgrade linux-image-oracle-64kUpgrade linux-image-gcpUpgrade linux-image-7.0.0-1012-oracleUpgrade linux-image-oracle-7.0Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-ibmUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-oracleUpgrade linux-image-generic-64k-7.0Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-1014-oemUpgrade linux-image-7.0.0-34-realtimeUpgrade linux-image-7.0.0-1012-oracle-64kUpgrade linux-image-gcp-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-virtualUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-genericUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-virtual-7.0Upgrade linux-image-aws-64k | Sep 21, 2026 | Sep 18, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 25, 2026 | Aug 15, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub