CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of Thunderbolt connections, specifically in the `tbt_altmode_remove()` function, which improperly drops references to plug and cable without ensuring that associated work is completed. This oversight can lead to dereferencing invalid memory, potentially causing system instability or crashes. Organizations utilizing Linux systems with Thunderbolt support should prioritize addressing this vulnerability to maintain system reliability and prevent potential exploitation.
Original NVD Description
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.