Linux
thunderbolt: Bound root directory content to block size
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= cdae7c07e3e3509eaabc18c1640a55dc5b99c179, < 5c7657d38d07268124782f03519f07c22a5814fb
- >= cdae7c07e3e3509eaabc18c1640a55dc5b99c179, < b212bc161d8a9937b42153723a4a3f2f74fab528
- >= cdae7c07e3e3509eaabc18c1640a55dc5b99c179, < 1912be23daf4afc8d24ce916021ab68ca4c679db
- >= cdae7c07e3e3509eaabc18c1640a55dc5b99c179, < 4d0b1524caadb04c10a71f3f88692c63dcb39115
- >= cdae7c07e3e3509eaabc18c1640a55dc5b99c179, < 0a32040a48db8cf35de48b85d6115df5623e4964
- >= cdae7c07e3e3509eaabc18c1640a55dc5b99c179, < 60ba6217460792356a238299edd675d91d46bab4
- >= cdae7c07e3e3509eaabc18c1640a55dc5b99c179, < cbeb68cbaa0a6f979ef428a7f2d0268c082ba166
- >= cdae7c07e3e3509eaabc18c1640a55dc5b99c179, < 65423079c7420e3dbf9a7aa345c243a3f5752e5d
Fixed in 5c7657d38d07268124782f03519f07c22a5814fb, b212bc161d8a9937b42153723a4a3f2f74fab528, 1912be23daf4afc8d24ce916021ab68ca4c679db, 4d0b1524caadb04c10a71f3f88692c63dcb39115, 0a32040a48db8cf35de48b85d6115df5623e4964, 60ba6217460792356a238299edd675d91d46bab4, cbeb68cbaa0a6f979ef428a7f2d0268c082ba166, 65423079c7420e3dbf9a7aa345c243a3f5752e5d
- 4.15
Fixed in 0, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to 5c7657d38d07268124782f03519f07c22a5814fb or b212bc161d8a9937b42153723a4a3f2f74fab528 or 1912be23daf4afc8d24ce916021ab68ca4c679db or 4d0b1524caadb04c10a71f3f88692c63dcb39115 or 0a32040a48db8cf35de48b85d6115df5623e4964 or 60ba6217460792356a238299edd675d91d46bab4 or cbeb68cbaa0a6f979ef428a7f2d0268c082ba166 or 65423079c7420e3dbf9a7aa345c243a3f5752e5d or later.
Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.94 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.