CVE-2026-138967
JSON

Not scored

ALSA: mpu401: shut down timer before freeing MPU

Severity
Not scored
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 79b4553a51b688f44acdb01eb0f29cbc32f27f8c, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8493740754194ad53d4f636bcb50336bcb1a8d8f, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 61fe436a8c4f5a99a7b005f414fe7376e87c4e65, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a86fb8659476d19743df6c62e4ec950930949d49, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c603b2366ce7682ccb21cbcb19fdfffb0f053d4c, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ef6d993762b2198a098f2a82a0da7c29418aad5b, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 80d81ab3f0195763831c6507affac77ea2835f16, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9332af5220d42341bb1446a62c545c0518e990ef and 1 more
Not affected: before 2.6.12, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138967 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138967 changed 2026-11-30Public domain