{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-63893",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-63893"
  ],
  "published": "2026-07-19T14:56:29Z",
  "summary": "thunderbolt: property: Reject u32 wrap in tb_property_entry_valid()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nthunderbolt: property: Reject u32 wrap in tb_property_entry_valid()\n\nentry->value is u32 and entry->length is u16; the sum is performed in\nu32 and wraps.  A malicious XDomain peer can pick\nvalue = 0xffffff00, length = 0x100 so the sum 0x100000000 wraps to 0\nand passes the > block_len check.  tb_property_parse() then passes\nentry->value to parse_dwdata() as a dword offset into the property\nblock, reading attacker-directed memory far past the allocation.\n\nFor TEXT-typed entries with the \"deviceid\" or \"vendorid\" keys this\nlands in xd->device_name / xd->vendor_name and is readable back via\nthe per-XDomain device_name / vendor_name sysfs attributes; the leak\nis NUL-bounded (kstrdup() stops at the first zero byte) and\nuntargeted (the attacker picks a delta, not an absolute address).\nDATA-typed entries are parsed into property->value.data but not\ngenerically surfaced to userspace.\n\nUse check_add_overflow() so a wrapped sum is rejected.",
  "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-63893"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6a63623621639acbb39bc2d9fb09559681716695"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e8a0b0a93a6ef958e70b1dd4930beb6dc0026b36"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9fee50c4e1e42f6d3cbe30df584f9f648f626071"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8d4a758b407ab3de3be86d1ceadfa35d717d30c7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5c06a3043ad944f087bb2ae0aae28d820bb9f460"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/31b98e503ecca8077e5247253dd5425ab84bc96d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a47784aee77f33f786dc5d7375db821bdae68792"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/01deda0152066c6c955f0619114ea6afa070aaec"
    }
  ],
  "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 - A malicious Thunderbolt XDomain peer (adjacent host, dock, or in-line device on a direct Thunderbolt/USB4 link) delivers crafted PROPERTIES_RESPONSE data that the victim kernel parses during automatic XDomain discovery.\nAC:L - The peer fully controls property entry value/length fields and can reliably craft the u32 wrap (e.g. value=0xffffff00, length=0x100) without races or special memory layout.\nPR:N - Exploitation requires no privileges on the victim system; the attacker only needs to be the connected XDomain peer responding to the kernel-initiated property exchange, with no authentication on that control-plane path.\nUI:N - Once a Thunderbolt XDomain link exists, property fetching and parsing run automatically in the kernel handshake state machine without any additional victim user action at exploitation time.\nS:U - Impact is confined to the victim kernel/userspace boundary (kernel heap disclosure to local sysfs and possible kernel crash); it does not cross VM, IOMMU, or sandbox security boundaries.\nC:H - Integer-wrap bypass enables an out-of-bounds kernel memory read of up to entry->length dwords, which for deviceid/vendorid TEXT properties is copied into world-readable sysfs attributes, disclosing kernel heap contents.\nI:N - The bug is an out-of-bounds read via parse_dwdata(); destination buffers are properly sized kcalloc allocations, so there is no out-of-bounds write or integrity modification of victim kernel structures.\nA:H - Reading from block+0xffffff00 dwords (~4 GB past the allocation) will access unmapped kernel addresses, causing a kernel fault/oops/panic in addition to any information disclosure."
    }
  }
}
