thunderbolt: Bound root directory content to block size
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · fixed in 5c7657d38d07268124782f03519f07c22a5814fb; From cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · fixed in b212bc161d8a9937b42153723a4a3f2f74fab528; From cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · fixed in 1912be23daf4afc8d24ce916021ab68ca4c679db; From cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · fixed in 4d0b1524caadb04c10a71f3f88692c63dcb39115; From cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · fixed in 0a32040a48db8cf35de48b85d6115df5623e4964; From cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · fixed in 60ba6217460792356a238299edd675d91d46bab4; From cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · fixed in cbeb68cbaa0a6f979ef428a7f2d0268c082ba166; From cdae7c07e3e3509eaabc18c1640a55dc5b99c179 · fixed in 65423079c7420e3dbf9a7aa345c243a3f5752e5d
- Linux Linux
4.15
- KernelLinux
From 4.15.0 · fixed in 5.10.259; From 5.11.0 · fixed in 5.15.210; From 5.16.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.143; From 6.7.0 · fixed in 6.12.94; From 6.13.0 · fixed in 6.18.36; From 6.19.0 · fixed in 7.0.13
References 8
git.kernel.org
- stable/c/5c7657d38d07268124782f03519f07c22a5814fb
- stable/c/b212bc161d8a9937b42153723a4a3f2f74fab528
- stable/c/1912be23daf4afc8d24ce916021ab68ca4c679db
- stable/c/4d0b1524caadb04c10a71f3f88692c63dcb39115
- stable/c/0a32040a48db8cf35de48b85d6115df5623e4964
- stable/c/60ba6217460792356a238299edd675d91d46bab4
- stable/c/cbeb68cbaa0a6f979ef428a7f2d0268c082ba166
- stable/c/65423079c7420e3dbf9a7aa345c243a3f5752e5d