{"id":"CVE-2026-138967","aliases":["CVE-2026-138967"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: mpu401: shut down timer before freeing MPU","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: mpu401: shut down timer before freeing MPU\n\nWhen an MPU401 interface has no usable IRQ, the driver polls raw-MIDI\ninput and output with a timer. During raw-MIDI teardown, the timer callback\ncan already be running when snd_mpu401_uart_remove_timer() clears the last\nmode bit and calls timer_delete(). That API neither waits for a running\ncallback nor prevents it from rearming the timer, and free_irq() does not\nsynchronize timer callbacks. snd_mpu401_uart_free() can therefore release\nmpu while the timer callback still uses it.\n\nInitialize the timer once when the MPU object is created and only rearm it\nwhile a timer mode is active. Shut it down synchronously after freeing the\nIRQ so an in-flight callback completes before mpu and its resources are\nreleased.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: mpu401: shut down timer before freeing MPU\n\nWhen an MPU401 interface has no usable IRQ, the driver polls raw-MIDI\ninput and output with a timer. During raw-MIDI teardown, the timer callback\ncan already be running when snd_mpu401_uart_remove_timer() clears the last\nmode bit and calls timer_delete(). That API neither waits for a running\ncallback nor prevents it from rearming the timer, and free_irq() does not\nsynchronize timer callbacks. snd_mpu401_uart_free() can therefore release\nmpu while the timer callback still uses it.\n\nInitialize the timer once when the MPU object is created and only rearm it\nwhile a timer mode is active. Shut it down synchronously after freeing the\nIRQ so an in-flight callback completes before mpu and its resources are\nreleased.","source":"cvelist"}],"published":"2026-11-30T13:26:38.639Z","modified":"2026-11-30T14:17:58.400Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"79b4553a51b688f44acdb01eb0f29cbc32f27f8c","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8493740754194ad53d4f636bcb50336bcb1a8d8f","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"61fe436a8c4f5a99a7b005f414fe7376e87c4e65","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"a86fb8659476d19743df6c62e4ec950930949d49","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"c603b2366ce7682ccb21cbcb19fdfffb0f053d4c","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"ef6d993762b2198a098f2a82a0da7c29418aad5b","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"80d81ab3f0195763831c6507affac77ea2835f16","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"9332af5220d42341bb1446a62c545c0518e990ef","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/79b4553a51b688f44acdb01eb0f29cbc32f27f8c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8493740754194ad53d4f636bcb50336bcb1a8d8f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61fe436a8c4f5a99a7b005f414fe7376e87c4e65","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a86fb8659476d19743df6c62e4ec950930949d49","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c603b2366ce7682ccb21cbcb19fdfffb0f053d4c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef6d993762b2198a098f2a82a0da7c29418aad5b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80d81ab3f0195763831c6507affac77ea2835f16","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9332af5220d42341bb1446a62c545c0518e990ef","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138967","url":"https://www.cve.org/CVERecord?id=CVE-2026-138967","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:38.639Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138967","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138967","licence":"Public domain","modified":"2026-11-30T14:17:58.400Z"}],"updatedAt":"2026-11-30T14:32:27.999Z","epss":{"score":0.0022,"percentile":0.13277,"date":"2026-12-01T12:00:22.000Z"}}