ALSA: mpu401: shut down timer before freeing MPU (Linux Linux)

CVE-2026-138967
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 79b4553a51b688f44acdb01eb0f29cbc32f27f8c
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8493740754194ad53d4f636bcb50336bcb1a8d8f
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 61fe436a8c4f5a99a7b005f414fe7376e87c4e65
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a86fb8659476d19743df6c62e4ec950930949d49
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c603b2366ce7682ccb21cbcb19fdfffb0f053d4c
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ef6d993762b2198a098f2a82a0da7c29418aad5b
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 80d81ab3f0195763831c6507affac77ea2835f16
affected : ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9332af5220d42341bb1446a62c545c0518e990ef
Other versions : unaffected
Linux · Linux
affected : 2.6.12
unaffected : ≥ 0 < 2.6.12
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.63 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD