{"id":71726,"date":"2025-10-15T11:45:37","date_gmt":"2025-10-15T08:15:37","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-39997-alsa-usb-audio-fix-race-condition-to-uaf-in-snd_usbmidi_free\/"},"modified":"2025-10-15T11:45:37","modified_gmt":"2025-10-15T08:15:37","slug":"cve-2025-39997-alsa-usb-audio-fix-race-condition-to-uaf-in-snd_usbmidi_free","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-39997-alsa-usb-audio-fix-race-condition-to-uaf-in-snd_usbmidi_free\/","title":{"rendered":"CVE-2025-39997 &#8211; ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free"},"content":{"rendered":"<p>CVE ID : CVE-2025-39997<\/p>\n<p>Published :  Oct. 15, 2025, 8:15 a.m. | 24\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free<\/p>\n<p>The previous commit 0718a78f6a9f (&#8220;ALSA: usb-audio: Kill timer properly at<br \/>\nremoval&#8221;) patched a UAF issue caused by the error timer.<\/p>\n<p>However, because the error timer kill added in this patch occurs after the<br \/>\nendpoint delete, a race condition to UAF still occurs, albeit rarely.<\/p>\n<p>Additionally, since kill-cleanup for urb is also missing, freed memory can<br \/>\nbe accessed in interrupt context related to urb, which can cause UAF.<\/p>\n<p>Therefore, to prevent this, error timer and urb must be killed before<br \/>\nfreeing the heap memory.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-39997 Published : Oct. 15, 2025, 8:15 a.m. | 24\u00a0minutes ago 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 (&#8220;ALSA: usb-audio: Kill timer properly at removal&#8221;) patched a UAF issue caused by the error timer. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-71726","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=71726"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71726\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=71726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=71726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=71726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}