CVE-2026-138967
ALSA: mpu401: shut down timer before freeing MPU
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.
INFO
Published Date :
Nov. 30, 2026, 2:17 p.m.
Last Modified :
Nov. 30, 2026, 2:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Initialize timer once when MPU object is created.
- Rearm timer only when timer mode is active.
- Shut down timer synchronously after freeing IRQ.
- Complete in-flight callback before releasing MPU.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-138967.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-138967 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-138967
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-138967 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-138967 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138967.json">CVE-2026-138967</a> Added Reference https://git.kernel.org/stable/c/61fe436a8c4f5a99a7b005f414fe7376e87c4e65 Added Reference https://git.kernel.org/stable/c/79b4553a51b688f44acdb01eb0f29cbc32f27f8c Added Reference https://git.kernel.org/stable/c/80d81ab3f0195763831c6507affac77ea2835f16 Added Reference https://git.kernel.org/stable/c/8493740754194ad53d4f636bcb50336bcb1a8d8f Added Reference https://git.kernel.org/stable/c/9332af5220d42341bb1446a62c545c0518e990ef Added Reference https://git.kernel.org/stable/c/a86fb8659476d19743df6c62e4ec950930949d49 Added Reference https://git.kernel.org/stable/c/c603b2366ce7682ccb21cbcb19fdfffb0f053d4c Added Reference https://git.kernel.org/stable/c/ef6d993762b2198a098f2a82a0da7c29418aad5b