{"id":"CVE-2026-139284","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:51.937","lastModified":"2026-11-30T14:18:51.937","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Protect the unregister notifier traversal\n\nsnd_pcm_free() traverses snd_pcm_notify_list and calls n_unregister\nwithout register_mutex, although snd_pcm_notify() takes that mutex to\nadd and remove notifiers. PCM disconnect releases the mutex before the\nfree callback runs, so it does not protect this later traversal.\n\nWith no open OSS file, normal snd-pcm-oss removal can overlap PCM card\nteardown, for example when unbinding snd-dummy:\n\n  PCM card teardown                     snd-pcm-oss unload\n  -----------------                     ------------------\n  snd_pcm_dev_disconnect()\n    remove PCM under register_mutex\n    unlock register_mutex\n  snd_pcm_free()\n    fetch notifier\n                                        snd_pcm_notify(..., 1)\n                                          unlink notifier under mutex\n                                        free module storage\n    read notifier->n_unregister\n    invoke callback\n\nThe free path can then read the notifier from released module storage\nor call its unloaded code.\n\nHold register_mutex across the unregister traversal and its callbacks.\nNotifier removal must wait until both have finished. This also protects\nthe traversal if a callback releases the last module reference: module\nexit cannot unlink its notifier until the free path releases the mutex.\nDrop the mutex before private_free and the remaining stream cleanup."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["sound/core/pcm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"c461482c8072bb073e6146db320d3da85cdc89ad","lessThan":"318fc5607b5292b4f992a918a738024af036b8aa","versionType":"git","status":"affected"},{"version":"c461482c8072bb073e6146db320d3da85cdc89ad","lessThan":"004b92595e5cd2ff4b7d338807faaead22684ce8","versionType":"git","status":"affected"},{"version":"c461482c8072bb073e6146db320d3da85cdc89ad","lessThan":"3f93e4a7e66077b95bd26902d636feadf0feaa05","versionType":"git","status":"affected"},{"version":"c461482c8072bb073e6146db320d3da85cdc89ad","lessThan":"1e6431d4d9bc8b85636673dfe3a118ef0142b9d5","versionType":"git","status":"affected"},{"version":"c461482c8072bb073e6146db320d3da85cdc89ad","lessThan":"707420fcb2cc6b759bc425c1da62a1cfdc5345f3","versionType":"git","status":"affected"},{"version":"c461482c8072bb073e6146db320d3da85cdc89ad","lessThan":"c4149fef114f2f88d31a903b67525cf9c07c5e22","versionType":"git","status":"affected"},{"version":"c461482c8072bb073e6146db320d3da85cdc89ad","lessThan":"680be9f82d4977d3410c513d3bfe912d100f64fc","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["sound/core/pcm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.19","status":"affected"},{"version":"0","lessThan":"2.6.19","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/004b92595e5cd2ff4b7d338807faaead22684ce8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/1e6431d4d9bc8b85636673dfe3a118ef0142b9d5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/318fc5607b5292b4f992a918a738024af036b8aa","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3f93e4a7e66077b95bd26902d636feadf0feaa05","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/680be9f82d4977d3410c513d3bfe912d100f64fc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/707420fcb2cc6b759bc425c1da62a1cfdc5345f3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c4149fef114f2f88d31a903b67525cf9c07c5e22","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}