Not rated
CVE-2025-39997 In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: fix race condition to UAF in…
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free The previous commit 0718a78f6a9f ("ALSA: usb-audio: Kill timer properly at removal") patched a UAF issue caused by the error timer. However, because the error timer kill added in this patch occurs after the endpoint delete, a race condition to UAF still occurs, albeit rarely. Additionally, since kill-cleanup for urb is also missing, freed memory can be accessed in interrupt context related to urb, which can cause UAF. Therefore, to prevent this, error timer and urb must be killed before freeing the heap memory.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.18 | earliest → < 6.18 | 6.18 |
| Linux 6.17 | earliest → < 6.17.1 | 6.17.1 |
| Linux | 6.16 | 6.16.11 |
| Linux 6.1 | earliest → < 6.1.175 | 6.1.175 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Versions not published |
Other CVEs of Linux
The 18286 CVEs of Linux →
CVE-2026-100082
xen-blkback: Avoid UAF when reading I/O statistics
Not rated
CVE-2026-100081
xen-netback: defer xenvif_mcast_addr_list_free()
Not rated
CVE-2026-100080
xen-netback: Fix UAF when reading statistics data
Not rated
CVE-2026-99270
tcp: Fix potential UAF in reqsk_timer_handler().
8.1
High