CVE-2026-63891: thunderbolt: property: Cap recursion depth in __tb_property_parse_dir()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: property: Cap recursion depth in __tb_property_parse_dir()
A DIRECTORY entry's value field is used as the dir_offset for a recursive call into __tb_property_parse_dir() with no depth counter. A crafted peer that chains DIRECTORY entries into a back-reference loop drives the parser until the kernel stack is exhausted and the guard page fires. Any untrusted XDomain peer (cable, dock, in-line inspector, adjacent host) that reaches the PROPERTIES_REQUEST control-plane exchange can trigger this without authentication.
Thread a depth counter through tb_property_parse() and __tb_property_parse_dir(), and reject blocks that exceed TB_PROPERTY_MAX_DEPTH = 8. That is comfortably larger than any observed legitimate XDomain layout.
Operators who do not need XDomain host-to-host discovery can disable the path entirely with thunderbolt.xdomain=0 on the kernel command line.
The Linux kernel CVE team has assigned CVE-2026-63891 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.10.259 with commit 2b5f47a710172c962ef42d1b732b04d2ad0dce21 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 5.15.210 with commit 95839a67ea56ca35732aad7f711404a3127cfe2d Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.1.176 with commit 0a84ab9271936c11e84e511bb52fc5682f8b6726 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.6.143 with commit b4621e5ef63405c317a84b711faf3bd75b3c6a94 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.12.93 with commit f31c6d220f455b5af63590302b30e1b932d14599 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 6.18.35 with commit 830c8a9b467e7d3a158483d37fa7dc13892b293a Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.0.12 with commit ed9455ef4bd9babc90f92e526abe3fb68c1a8709 Issue introduced in 4.15 with commit cdae7c07e3e3509eaabc18c1640a55dc5b99c179 and fixed in 7.1 with commit 928abe19fbf0127003abcb1ea69cabc1c897d0ab
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-63891
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/2b5f47a710172c962ef42d1b732b04d2ad0dce21 https://git.kernel.org/stable/c/95839a67ea56ca35732aad7f711404a3127cfe2d https://git.kernel.org/stable/c/0a84ab9271936c11e84e511bb52fc5682f8b6726 https://git.kernel.org/stable/c/b4621e5ef63405c317a84b711faf3bd75b3c6a94 https://git.kernel.org/stable/c/f31c6d220f455b5af63590302b30e1b932d14599 https://git.kernel.org/stable/c/830c8a9b467e7d3a158483d37fa7dc13892b293a https://git.kernel.org/stable/c/ed9455ef4bd9babc90f92e526abe3fb68c1a8709 https://git.kernel.org/stable/c/928abe19fbf0127003abcb1ea69cabc1c897d0ab