CVE-2025-39997
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 versions
Linux kernel versions
6.1.167,
6.15.3,
6.16
and later are affected. Fixed in
6.1.175,
6.16.11,
6.17.1,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-39997 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/353d8c715cc951a980728133c9dd64ca5a0a186c
-
PatchKernel patch commithttps://git.kernel.org/stable/c/647d6b8d22be12842fde6ed0c56859ebc615f21e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9f2c0ac1423d5f267e7f1d1940780fc764b0fee3
Frequently asked questions
-
What is CVE-2025-39997?
CVE-2025-39997 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.1.167 onward and has been patched in 6.1.175, 6.16.11, 6.17.1 and others. CVE-2025-39997 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-39997?
Yes — CVE-2025-39997 has been patched. Fixed versions include 6.1.175, 6.16.11, 6.17.1 and others. If you are running Linux kernel 6.1.167 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-39997 actively exploited?
No — CVE-2025-39997 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.