VDB

CVE-2026-72084

CVE-2026-72084 PUBLISHED CVSS 9.8 CRITICAL

scsi: target: Bound PR-OUT TransportID parsing to the received buffer

Reported by linux · Published August 15, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
microvm-kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
python3-perfAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.12-headersAmazon Linux1:6.12.100-125.179.amzn2023
perfAmazon Linux1:6.1.180-225.360.amzn2023
python3-perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxc66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5
LinuxLinux2.6.38, 0, 5.10.266
amazon:2023microvm-kernel6.180
amazon:2023python3-perf0
amazon:2023kernel6.12-headers0
amazon:2023perf0
amazon:2023python3-perf6.180
amazon:2023kernel6.12-modules-extra0
linuxlinux_kernel2.6.38, 2.6.38, 2.6.38
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-livepatch-6.1.180-225.3600
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-tools0
LinuxLinux7.1.5, 6.18.40, *
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool0

…and 18 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 17, 2026 CVE Updated
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72084
vulnetix vdb fixes CVE-2026-72084

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72084/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›