8.1high
thunderbolt: property: Reject u32 wrap in tb_property_entry_valid()
- Severity
- 8.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.39% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: property: Reject u32 wrap in tb_property_entry_valid() entry->value is u32 and entry->length is u16; the sum is performed in u32 and wraps. A malicious XDomain peer can pick value = 0xffffff00, length = 0x100 so the sum 0x100000000 wraps to 0 and passes the > block_len check. tb_property_parse() then passes entry->value to parse_dwdata() as a dword offset into the property block, reading attacker-directed memory far past the allocation. For TEXT-typed entries with the "deviceid" or "vendorid" keys this lands in xd->device_name / xd->vendor_name and is readable back via the per-XDomain device_name / vendor_name sysfs attributes; the leak is NUL-bounded (kstrdup() stops at the first zero byte) and untargeted (the attacker picks a delta, not an absolute address). DATA-typed entries are parsed into property->value.data but not generically surfaced to userspace. Use check_add_overflow() so a wrapped sum is rejected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cdae7c07e3e3509eaabc18c1640a55dc5b99c179 before 6a63623621639acbb39bc2d9fb09559681716695, from cdae7c07e3e3509eaabc18c1640a55dc5b99c179 before e8a0b0a93a6ef958e70b1dd4930beb6dc0026b36, from cdae7c07e3e3509eaabc18c1640a55dc5b99c179 before 9fee50c4e1e42f6d3cbe30df584f9f648f626071, from cdae7c07e3e3509eaabc18c1640a55dc5b99c179 before 8d4a758b407ab3de3be86d1ceadfa35d717d30c7, from cdae7c07e3e3509eaabc18c1640a55dc5b99c179 before 5c06a3043ad944f087bb2ae0aae28d820bb9f460, from cdae7c07e3e3509eaabc18c1640a55dc5b99c179 before 31b98e503ecca8077e5247253dd5425ab84bc96d, from cdae7c07e3e3509eaabc18c1640a55dc5b99c179 before a47784aee77f33f786dc5d7375db821bdae68792, from cdae7c07e3e3509eaabc18c1640a55dc5b99c179 before 01deda0152066c6c955f0619114ea6afa070aaec and 1 more Not affected: before 4.15, from 5.10.259 up to 5.10.*, from 5.15.210 up to 5.15.*, from 6.1.176 up to 6.1.*, from 6.6.143 up to 6.6.*, from 6.12.93 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.15 before 5.10.259, from 5.11 before 5.15.210, from 5.16 before 6.1.176, from 6.2 before 6.6.143, from 6.7 before 6.12.93, from 6.13 before 6.18.35, from 6.19 before 7.0.12, 7.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63893 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-63893 changed 2026-10-26 | Public domain |