PT-2025-42707 · Linux+2 · Linux Kernel+2
Published
2025-10-18
·
Updated
2026-03-07
·
CVE-2025-40002
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a use-after-free issue within the thunderbolt driver, specifically in the
tb dp dprx work function. The original code used cancel delayed work(), which did not guarantee the completion of a delayed work item before the associated memory was deallocated, leading to a use-after-free scenario when tb tunnel was dereferenced. A race condition can occur where tb tunnel is deallocated while tunnel->dprx work is still active. The issue was identified through static analysis. The fix involves implementing proper reference counting to ensure the tb tunnel remains valid during work item execution and to prevent memory leaks. The vulnerable function is tb dp dprx work().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Linux Kernel
Ubuntu