Skip to content
Heist/ feed
Critical

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

Type: advisorySource: Official CVE List1 source record

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 (cor

Announced Source revision 1
Original source ↗

CVE-2026-72084

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-72084

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5",
        "lessThan": "88c67c3de914e19172e1d878a7625c5b06c20ec5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5",
        "lessThan": "842248047ef28dbf3b3f7f49a0ec315054d4dab8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5",
        "lessThan": "03fbc7de8d5e85fc8420e57e8304c855efd453ab",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5",
        "lessThan": "6ca5de8782e67573a61a6736b6dc0ffe58dcdf59",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5",
        "lessThan": "9298078a8f7d8181a04614a34ab655ccdf038204",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5",
        "lessThan": "004ccd2d3b4ac36a300e05e01df152e5c02a5a82",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5",
        "lessThan": "555a89846ed888d7401b3f7200934c0fbedcbb46",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5",
        "lessThan": "d04a179085c262c9ed577d0a4cbc6482ff1fd9a3",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/target/target_core_fabric_lib.c",
      "drivers/target/target_core_internal.h",
      "drivers/target/target_core_pr.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2.6.38"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "2.6.38",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.266",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.212",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.178",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.145",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.97",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/target/target_core_fabric_lib.c",
      "drivers/target/target_core_internal.h",
      "drivers/target/target_core_pr.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-72084

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#41863 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement