๐Ÿ” CVE Alert

CVE-2025-39997

UNKNOWN 0.0

ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Oct 15, 2025
Last Updated Mar 25, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
647410a7da46067953a53c0d03f8680eff570959 < dc4874366cf6cf4a31d8fa4b7f0e2a5b2d7647ba c611b9e55174e439dcd85a72969b43a95f3827a4 < 647d6b8d22be12842fde6ed0c56859ebc615f21e 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 < af600e7f5526d16146b3ae99f6ad57bfea79ca33 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 < 353d8c715cc951a980728133c9dd64ca5a0a186c 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 < 9f2c0ac1423d5f267e7f1d1940780fc764b0fee3 efaf61052b8ff9ee8968912fbaf02c2847c78ede 62066758d2ae169278e5d6aea5995b1b6f6ddeb5
Linux / Linux
6.16

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/dc4874366cf6cf4a31d8fa4b7f0e2a5b2d7647ba git.kernel.org: https://git.kernel.org/stable/c/647d6b8d22be12842fde6ed0c56859ebc615f21e git.kernel.org: https://git.kernel.org/stable/c/af600e7f5526d16146b3ae99f6ad57bfea79ca33 git.kernel.org: https://git.kernel.org/stable/c/353d8c715cc951a980728133c9dd64ca5a0a186c git.kernel.org: https://git.kernel.org/stable/c/9f2c0ac1423d5f267e7f1d1940780fc764b0fee3