Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-39997— ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于usb-audio组件中存在竞争条件,可能导致释放后重用。

AI Predicted 5.5 Difficulty: Hard EPSS 0.21% · P11

Affected Version Matrix 16

VendorProduct Version RangeStatus
Linux Linux 06513dd6d32c37d0364db8488cfdf3e14da238a8< e63f049c7764b615d1d50cb486745fa63372b42d affected
efaf61052b8ff9ee8968912fbaf02c2847c78ede< e16985513e89466a236d2a7c202783b4dd0c5a46 affected
647410a7da46067953a53c0d03f8680eff570959< dc4874366cf6cf4a31d8fa4b7f0e2a5b2d7647ba affected
c611b9e55174e439dcd85a72969b43a95f3827a4< 647d6b8d22be12842fde6ed0c56859ebc615f21e affected
0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1< af600e7f5526d16146b3ae99f6ad57bfea79ca33 affected
0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1< 353d8c715cc951a980728133c9dd64ca5a0a186c affected
0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1< 9f2c0ac1423d5f267e7f1d1940780fc764b0fee3 affected
62066758d2ae169278e5d6aea5995b1b6f6ddeb5 affected
… +8 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-39997

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于usb-audio组件中存在竞争条件,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 06513dd6d32c37d0364db8488cfdf3e14da238a8 ~ e63f049c7764b615d1d50cb486745fa63372b42d -
Linux Linux 6.16 -

II. Public POCs for CVE-2025-39997

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-39997

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-39997 (2)

Same Patch Batch · Linux · 2025-10-15 · 34 CVEs total

CVE-2025-39975 9.8 CRITICAL smb: client: fix wrong index reference in smb2_compound_op()
CVE-2025-40000 8.8 HIGH wifi: rtw89: fix use-after-free in rtw89_core_tx_kick_off_and_wait()
CVE-2025-39969 8.8 HIGH i40e: fix validation of VF state in get resources
CVE-2025-39971 8.8 HIGH i40e: fix idx validation in config queues msg
CVE-2025-39970 8.8 HIGH i40e: fix input validation logic for action_meta
CVE-2025-39972 8.8 HIGH i40e: fix idx validation in i40e_validate_queue_map
CVE-2025-39973 8.8 HIGH i40e: add validation for ring_len param
CVE-2025-39983 8.8 HIGH Bluetooth: hci_event: Fix UAF in hci_conn_tx_dequeue
CVE-2025-39982 8.8 HIGH Bluetooth: hci_event: Fix UAF in hci_acl_create_conn_sync
CVE-2025-39966 7.8 HIGH iommufd: Fix race during abort for file descriptors
CVE-2025-39967 7.8 HIGH fbcon: fix integer overflow in fbcon_do_set_font
CVE-2025-39976 7.8 HIGH futex: Use correct exit on failure from futex_hash_allocate_default()
CVE-2025-39977 7.8 HIGH futex: Prevent use-after-free during requeue-PI
CVE-2025-39978 7.8 HIGH octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
CVE-2025-39979 7.8 HIGH net/mlx5: fs, fix UAF in flow counter release
CVE-2025-39981 7.8 HIGH Bluetooth: MGMT: Fix possible UAFs
CVE-2025-39985 7.8 HIGH can: mcba_usb: populate ndo_change_mtu() to prevent buffer overflow
CVE-2025-39986 7.8 HIGH can: sun4i_can: populate ndo_change_mtu() to prevent buffer overflow
CVE-2025-39987 7.8 HIGH can: hi311x: populate ndo_change_mtu() to prevent buffer overflow
CVE-2025-39988 7.8 HIGH can: etas_es58x: populate ndo_change_mtu() to prevent buffer overflow

Showing top 20 of 34 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-39997

No comments yet


Leave a comment