thunderbolt: Bound root directory content to block size
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · < 60ba6217460792356a238299edd675d91d46bab4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: Bound root directory content to block size
__tb_property_parse_dir() does not check that content_offset + content_len fits within block_len for the root directory case. When rootdir->length equals or exceeds block_len - 2, the entry loop reads past the allocated property block.
Add a bounds check after computing content_offset and content_len to reject directories whose content extends past the block.
From the CVE record · Linux
The thunderbolt property parser fails to check whether root directory content fits within its allocated block. If the root directory length reaches or exceeds the specified limit, parsing reads beyond the block. The input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running the Linux kernel should check their thunderbolt deployments; affected versions are not specified.