CVE-2025-39997ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free
Updated under an hour ago ()
Does this affect you?
It affects Linux and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- Not yet scored
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Deferred
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from 06513dd6d32c37d0364db8488cfdf3e14da238a8 before e63f049c7764b615d1d50cb486745fa63372b42d; from efaf61052b8ff9ee8968912fbaf02c2847c78ede before e16985513e89466a236d2a7c202783b4dd0c5a46; from 647410a7da46067953a53c0d03f8680eff570959 before dc4874366cf6cf4a31d8fa4b7f0e2a5b2d7647ba; from c611b9e55174e439dcd85a72969b43a95f3827a4 before 647d6b8d22be12842fde6ed0c56859ebc615f21e; from 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 before af600e7f5526d16146b3ae99f6ad57bfea79ca33; 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 builds before 353d8c715cc951a980728133c9dd64ca5a0a186c; 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 builds before 9f2c0ac1423d5f267e7f1d1940780fc764b0fee3; 62066758d2ae169278e5d6aea5995b1b6f6ddeb5; and 2 more ranges | CNA record |
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name) | all versions | CISA ADP |
References
- https://git.kernel.org/stable/c/e63f049c7764b615d1d50cb486745fa63372b42d
- https://git.kernel.org/stable/c/e16985513e89466a236d2a7c202783b4dd0c5a46
- https://git.kernel.org/stable/c/dc4874366cf6cf4a31d8fa4b7f0e2a5b2d7647ba
- https://git.kernel.org/stable/c/647d6b8d22be12842fde6ed0c56859ebc615f21e
- https://git.kernel.org/stable/c/af600e7f5526d16146b3ae99f6ad57bfea79ca33
- https://git.kernel.org/stable/c/353d8c715cc951a980728133c9dd64ca5a0a186c
- https://git.kernel.org/stable/c/9f2c0ac1423d5f267e7f1d1940780fc764b0fee3
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.