usb: typec: thunderbolt: Disable work before freeing tbt on remove
- 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 6.18.50, 7.2.4
- 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: usb: typec: thunderbolt: Disable work before freeing tbt on remove tbt_altmode_remove() drops the plug and cable references without draining tbt->work. The work function dereferences those references, and can also requeue itself in its error path. The VDM callbacks can queue the same work item. Disable and drain tbt->work before dropping the references. This waits for an existing invocation and prevents subsequent schedule_work() calls from queueing it during teardown. This issue was found by an in-house static analysis tool and confirmed by manual code review.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 100e257386595b3f1865ca8a991e2ba74f9701ff · fixed in ebb840d982a612261cfc8a7687735a140c6c7024; From 100e257386595b3f1865ca8a991e2ba74f9701ff · fixed in 0a25484fe22f621e151367a59a82330a22ac80bc; From 100e257386595b3f1865ca8a991e2ba74f9701ff · fixed in 92090f6ff2acc81e9dd99881dcfb4f8c1bdaabd3
- Linux Linux
6.14
- KernelLinux
From 6.14.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4