CVE-2025-39997
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 06513dd6d32c37d0364db8488cfdf3e14da238a8 | affected | git | e63f049c7764b615d1d50cb486745fa63372b42d | Unavailable | None listed |
| efaf61052b8ff9ee8968912fbaf02c2847c78ede | affected | git | e16985513e89466a236d2a7c202783b4dd0c5a46 | Unavailable | None listed |
| 647410a7da46067953a53c0d03f8680eff570959 | affected | git | dc4874366cf6cf4a31d8fa4b7f0e2a5b2d7647ba | Unavailable | None listed |
| c611b9e55174e439dcd85a72969b43a95f3827a4 | affected | git | 647d6b8d22be12842fde6ed0c56859ebc615f21e | Unavailable | None listed |
| 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 | affected | git | af600e7f5526d16146b3ae99f6ad57bfea79ca33 | Unavailable | None listed |
| 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 | affected | git | 353d8c715cc951a980728133c9dd64ca5a0a186c | Unavailable | None listed |
| 0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1 | affected | git | 9f2c0ac1423d5f267e7f1d1940780fc764b0fee3 | Unavailable | None listed |
| 62066758d2ae169278e5d6aea5995b1b6f6ddeb5 | affected | git | Unavailable | Unavailable | None listed |
| 6.1.167 | affected | semver | 6.1.175 | Unavailable | None listed |
| 6.15.3 | affected | semver | 6.16 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6.16 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 6.16 | Unavailable | None listed |
| 6.1.175 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.16.11 | unaffected | semver | Unavailable | 6.16.* | None listed |
| 6.17.1 | unaffected | semver | Unavailable | 6.17.* | None listed |
| 6.18 | unaffected | original_commit_for_fix | Unavailable | * | None listed |