{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-53147",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-53147"
  ],
  "published": "2026-06-25T08:41:40Z",
  "summary": "thunderbolt: Validate XDomain request packet size before type cast",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: Validate XDomain request packet size before type cast\n\ntb_xdp_handle_request() casts the received packet buffer to\nprotocol-specific structs without verifying that the allocation\nis large enough for the target type.  A peer can send a minimal\nXDomain packet that passes the generic header length check but is\nshorter than the struct accessed after the cast, causing out-of-\nbounds reads from the kmemdup allocation.\n\nPlumb the packet length through xdomain_request_work and validate\nit against the expected struct size before each cast.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.176",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-53147"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a770e62923090d7572f1f5a8507ae551d354a057"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0dd61ba03d05187726ecdf9c0e2175a81b9b24f6"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/79235c8add5da4bf27a12f5a5dbb579f300c059e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/46da5c3ea011e884028a91cf913db093920a915b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/07cd2787cdf8942d24a1a3ef81aa89b526fb6381"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a504b9f2797b739e0304d537e8aa4ce883ecce39"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T13:16:28Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.1,
      "cvss_v3_severity": "High",
      "scenario": "AV:A - The vulnerable parser handles XDomain control packets from a directly connected Thunderbolt/USB4 peer on the same local fabric, not from a routable network. A malicious connected host, dock, or in-line device can send the malformed request packets.\nAC:L - The attacker controls the packet type, declared length, checksum, and payload size, and the generic header check accepts packets shorter than the later protocol-specific struct accesses. No race or condition outside attacker control is required once an XDomain peer is connected.\nPR:N - No target-system account or kernel capability is required; the packet is accepted from the external XDomain peer before any user credential check. XDomain must be enabled/allowed, but that is a platform configuration gate rather than attacker privilege.\nUI:N - After the malicious peer is connected, exploitation is driven entirely by packets sent over the Thunderbolt/USB4 control channel. No victim action such as opening a file or authorizing a user operation is required for the vulnerable parsing path.\nS:U - The impact is within the host kernel that processes the malformed XDomain packet. This is not a VM escape, IOMMU bypass, or cross-authority scope change.\nC:H - Short PROPERTIES_REQUEST packets cause reads past the kmemdup-allocated packet into adjacent kernel heap data, including UUID/offset fields used by the response logic. Under the required higher-severity rule for out-of-bounds reads, this is high confidentiality impact.\nI:N - The fixed bug is an out-of-bounds read before type-specific casts, not an out-of-bounds write or direct overwrite primitive. The affected paths may use the read value for response/link-state handling, but they do not provide attacker-controlled kernel memory modification.\nA:H - The malformed packet can drive kernel out-of-bounds heap reads from the control-channel workqueue and can be sent repeatedly by the peer. Such reads can fault or trigger kernel hardening/KASAN failures, so availability impact is high."
    }
  }
}
