Linux
ALSA: usx2y: us144mkii: fix work UAF on disconnect
In the Linux kernel, the following vulnerability has been resolved: ALSA: usx2y: us144mkii: fix work UAF on disconnect tascam_disconnect() cancels capture_work and midi_in_work before usb_kill_anchored_urbs() kills the capture/MIDI-in URBs. Those URBs self-resubmit, and their completion handlers reschedule the work. A URB that completes in the small window between cancel_work_sync() and usb_kill_anchored_urbs() therefore re-arms the work after its only cancel. Nothing cancels it again before snd_card_free() frees the card-private tascam structure, so the work handler then runs on freed memory. Kill the anchored URBs before cancelling the work; once the work is cancelled no remaining URB can complete to re-arm it.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= c1bb0c13e430623c26543baae5bb9ae21139db87, < c071df05bcda0e47aac581d4b564b2bebcb1ff60
- >= c1bb0c13e430623c26543baae5bb9ae21139db87, < 27161c68d5e78807c9d897db222a775b298d05fd
- >= c1bb0c13e430623c26543baae5bb9ae21139db87, < 147996e7e7c9e8339c0e04f6fa7ccb3e4d448ff7
Fixed in c071df05bcda0e47aac581d4b564b2bebcb1ff60, 27161c68d5e78807c9d897db222a775b298d05fd, 147996e7e7c9e8339c0e04f6fa7ccb3e4d448ff7
- 6.18
Fixed in 0, 6.18.39, 7.1.4, 7.2
Mitigation
Upgrade Linux to c071df05bcda0e47aac581d4b564b2bebcb1ff60 or 27161c68d5e78807c9d897db222a775b298d05fd or 147996e7e7c9e8339c0e04f6fa7ccb3e4d448ff7 or later.
Upgrade Linux to 0 or 6.18.39 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.