Skip to contentSkip to conversation

CVE-2026-53149: thunderbolt: Bound root directory content to block size

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-53149 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.10.259 with commit 5c7657d38d07268124782f03519f07c22a5814fb
	Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.15.210 with commit b212bc161d8a9937b42153723a4a3f2f74fab528
	Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.1.176 with commit 1912be23daf4afc8d24ce916021ab68ca4c679db
	Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.6.143 with commit 4d0b1524caadb04c10a71f3f88692c63dcb39115
	Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.12.94 with commit 0a32040a48db8cf35de48b85d6115df5623e4964
	Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.18.36 with commit 60ba6217460792356a238299edd675d91d46bab4
	Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.0.13 with commit cbeb68cbaa0a6f979ef428a7f2d0268c082ba166
	Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.1 with commit 65423079c7420e3dbf9a7aa345c243a3f5752e5d

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53149

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/thunderbolt/property.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/5c7657d38d07268124782f03519f07c22a5814fb
	https://git.kernel.org/stable/c/b212bc161d8a9937b42153723a4a3f2f74fab528
	https://git.kernel.org/stable/c/1912be23daf4afc8d24ce916021ab68ca4c679db
	https://git.kernel.org/stable/c/4d0b1524caadb04c10a71f3f88692c63dcb39115
	https://git.kernel.org/stable/c/0a32040a48db8cf35de48b85d6115df5623e4964
	https://git.kernel.org/stable/c/60ba6217460792356a238299edd675d91d46bab4
	https://git.kernel.org/stable/c/cbeb68cbaa0a6f979ef428a7f2d0268c082ba166
	https://git.kernel.org/stable/c/65423079c7420e3dbf9a7aa345c243a3f5752e5d