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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
100e257386595b3f1865ca8a991e2ba74f9701ff to < ebb840d982a612261cfc8a7687735a140c6c7024affected100e257386595b3f1865ca8a991e2ba74f9701ff to < 0a25484fe22f621e151367a59a82330a22ac80bcaffected100e257386595b3f1865ca8a991e2ba74f9701ff to < 92090f6ff2acc81e9dd99881dcfb4f8c1bdaabd3affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected