CVE-2026-138967
Description
In the Linux kernel, the following vulnerability has been resolved:
ALSA: mpu401: shut down timer before freeing MPU
When an MPU401 interface has no usable IRQ, the driver polls raw-MIDI input and output with a timer. During raw-MIDI teardown, the timer callback can already be running when snd_mpu401_uart_remove_timer() clears the last mode bit and calls timer_delete(). That API neither waits for a running callback nor prevents it from rearming the timer, and free_irq() does not synchronize timer callbacks. snd_mpu401_uart_free() can therefore release mpu while the timer callback still uses it.
Initialize the timer once when the MPU object is created and only rearm it while a timer mode is active. Shut it down synchronously after freeing the IRQ so an in-flight callback completes before mpu and its resources are released.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/61fe436a8c4f5a99a7b005f414fe7376e87c4e65nvd
- git.kernel.org/stable/c/79b4553a51b688f44acdb01eb0f29cbc32f27f8cnvd
- git.kernel.org/stable/c/80d81ab3f0195763831c6507affac77ea2835f16nvd
- git.kernel.org/stable/c/8493740754194ad53d4f636bcb50336bcb1a8d8fnvd
- git.kernel.org/stable/c/9332af5220d42341bb1446a62c545c0518e990efnvd
- git.kernel.org/stable/c/a86fb8659476d19743df6c62e4ec950930949d49nvd
- git.kernel.org/stable/c/c603b2366ce7682ccb21cbcb19fdfffb0f053d4cnvd
- git.kernel.org/stable/c/ef6d993762b2198a098f2a82a0da7c29418aad5bnvd
News mentions
0No linked articles in our index yet.