Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.

Thunderbolt: Zero-Length Property Entries Cause Data Corruption

published 4 months ago
Summary

A Linux kernel bug could cause data corruption on Thunderbolt devices when a zero-length text property entry is sent. This bug has been fixed, but users should update their Linux kernel to prevent potential issues. No action is required if you are running the latest version of the kernel.

What to do
  • Update linux kernel to version 7.0.13.
Affected software
Ecosystem VendorProductAffected versions
Linux linux kernel >= 6.19.0, < 7.0.13
Fix: upgrade to 7.0.13
Original advisory text
thunderbolt: Reject zero-length property entries in validator
In the Linux kernel, the following vulnerability has been resolved:

thunderbolt: Reject zero-length property entries in validator

tb_property_entry_valid() accepts entries with length == 0 for
DIRECTORY, DATA, and TEXT types. A zero-length TEXT entry passes
validation but causes an underflow in the null-termination logic:

property->value.text[property->length * 4 - 1] = '\0';

When property->length is 0 this writes to offset -1 relative to
the allocation.

Reject zero-length entries early in the validator since they have no
valid representation in the XDomain property protocol.
Timeline
Published25 Jun 2026
Updated28 Jul 2026
First seen28 Jul 2026
Track software like this
Free during beta