Security mailing lists by PureSourceCode

CVE-2026-139284

not scored yet

ALSA: pcm: Protect the unregister notifier traversal

In the Linux kernel, the following vulnerability has been resolved:

ALSA: pcm: Protect the unregister notifier traversal

snd_pcm_free() traverses snd_pcm_notify_list and calls n_unregister
without register_mutex, although snd_pcm_notify() takes that mutex to
add and remove notifiers. PCM disconnect releases the mutex before the
free callback runs, so it does not protect this later traversal.

With no open OSS file, normal snd-pcm-oss removal can overlap PCM card
teardown, for example when unbinding snd-dummy:

PCM card teardown snd-pcm-oss unload


snd_pcm_dev_disconnect()
remove PCM under register_mutex
unlock register_mutex
snd_pcm_free()
fetch notifier
snd_pcm_notify(..., 1)
unlink notifier under mutex
free module storage
read notifier->n_unregister
invoke callback

The free path can then read the notifier from released module storage
or call its unloaded code.

Hold register_mutex across the unregister traversal and its callbacks.
Notifier removal must wait until both have finished. This also protects
the traversal if a callback releases the last module reference: module
exit cannot unlink its notifier until the free path releases the mutex.
Drop the mutex before private_free and the remaining stream cleanup.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= c461482c8072bb073e6146db320d3da85cdc89ad, < 318fc5607b5292b4f992a918a738024af036b8aa; >= c461482c8072bb073e6146db320d3da85cdc89ad, < 004b92595e5cd2ff4b7d338807faaead22684ce8; >= c461482c8072bb073e6146db320d3da85cdc89ad, < 3f93e4a7e66077b95bd26902d636feadf0feaa05; >= c461482c8072bb073e6146db320d3da85cdc89ad, < 1e6431d4d9bc8b85636673dfe3a118ef0142b9d5; >= c461482c8072bb073e6146db320d3da85cdc89ad, < 707420fcb2cc6b759bc425c1da62a1cfdc5345f3; >= c461482c8072bb073e6146db320d3da85cdc89ad, < c4149fef114f2f88d31a903b67525cf9c07c5e22; >= c461482c8072bb073e6146db320d3da85cdc89ad, < 680be9f82d4977d3410c513d3bfe912d100f64fc 318fc5607b5292b4f992a918a738024af036b8aa, 004b92595e5cd2ff4b7d338807faaead22684ce8, 3f93e4a7e66077b95bd26902d636feadf0feaa05, 1e6431d4d9bc8b85636673dfe3a118ef0142b9d5, 707420fcb2cc6b759bc425c1da62a1cfdc5345f3, c4149fef114f2f88d31a903b67525cf9c07c5e22, 680be9f82d4977d3410c513d3bfe912d100f64fc
CVE List Linux Linux = 2.6.19

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.