CVE-2026-63893

thunderbolt: property: Reject u32 wrap in tb_property_entry_valid()

State
Published
Severity
8.1 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
LinuxLinux
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 6a63623621639acbb39bc2d9fb09559681716695Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before e8a0b0a93a6ef958e70b1dd4930beb6dc0026b36Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 9fee50c4e1e42f6d3cbe30df584f9f648f626071Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 8d4a758b407ab3de3be86d1ceadfa35d717d30c7Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 5c06a3043ad944f087bb2ae0aae28d820bb9f460Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 31b98e503ecca8077e5247253dd5425ab84bc96dAffected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before a47784aee77f33f786dc5d7375db821bdae68792Affected
  • cdae7c07e3e3509eaabc18c1640a55dc5b99c179 to before 01deda0152066c6c955f0619114ea6afa070aaecAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.