{"id":"CVE-2026-143435","aliases":["EUVD-2026-145064","GHSA-j6cj-q279-x63w"],"status":"published","title":"ALSA: pcm: Protect channel-map reads against runtime detach","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Protect channel-map reads against runtime detach\n\nChannel-map controls remain accessible between PCM opens. In-tree HDA\ncode publishes the generic controls through add_std_chmaps(), so a\nSNDRV_CTL_IOCTL_ELEM_READ can overlap the final close of the same PCM\nsubstream.\n\npcm_chmap_ctl_get() checks substream-\u003eruntime and later reads its channel\ncount. Final close clears and frees that runtime under pcm-\u003eopen_mutex,\nwhile the control callback holds only controls_rwsem:\n\n  Control GET                         Final PCM close\n  -----------                         ---------------\n  snd_ctl_elem_read()\n    down_read(controls_rwsem)\n    pcm_chmap_ctl_get()\n      check substream-\u003eruntime\n                                      lock(pcm-\u003eopen_mutex)\n                                      snd_pcm_release_substream()\n                                        snd_pcm_detach_substream()\n                                          substream-\u003eruntime = NULL\n                                          kfree(runtime)\n                                      unlock(pcm-\u003eopen_mutex)\n      substream-\u003eruntime-\u003echannels\n        NULL or freed-pointer access\n    up_read(controls_rwsem)\n\nReloading the cleared field can fault through NULL, while retaining the\nold pointer can access freed storage. controls_rwsem keeps the control\nalive, but does not serialize the matching PCM close.\n\nCopy the channel count under open_mutex and use that scalar for the map\nlookup. Use trylock with -EBUSY because snd_pcm_dev_disconnect() takes\nopen_mutex before removing controls under controls_rwsem; blocking in\nthe reverse order from GET could deadlock.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2026-12-05T01:41:15Z","modified":"2026-12-05T03:30:37Z","fixes":[{"ecosystem":"Linux","package":"Kernel","fixed_in":["6.1.193","6.6.163","6.12.119","6.18.65","7.3.6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}]}],"products":[{"vendor":"linux","product":"linux"}],"references":[{"url":"https://git.kernel.org/stable/c/f65e2c6c159b8d8a3235b7573d4bc176e5ee0d18","tags":["web"]},{"url":"https://git.kernel.org/stable/c/69518e80c154952ce30b19c57c9a89754c4eee6a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9b06541e4c36ee67cf909965e40ed654fd8d7ddf","tags":["web"]},{"url":"https://git.kernel.org/stable/c/639fa18439ad62566c5f34230a91c4802b1fa26f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2762cb36378cf162521cb6fcd073d1c39b3ffecd","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bb4834d5242c4829c0d8467ee68eb25a9bafc38d","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143435","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-j6cj-q279-x63w"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143435.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-143435","title":"ALSA: pcm: Protect channel-map reads against runtime detach","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Protect channel-map reads against runtime detach\n\nChannel-map controls remain accessible between PCM opens. In-tree HDA\ncode publishes the generic controls through add_std_chmaps(), so a\nSNDRV_CTL_IOCTL_ELEM_READ can overlap the final close of the same PCM\nsubstream.\n\npcm_chmap_ctl_get() checks substream-\u003eruntime and later reads its channel\ncount. Final close clears and frees that runtime under pcm-\u003eopen_mutex,\nwhile the control callback holds only controls_rwsem:\n\n  Control GET                         Final PCM close\n  -----------                         ---------------\n  snd_ctl_elem_read()\n    down_read(controls_rwsem)\n    pcm_chmap_ctl_get()\n      check substream-\u003eruntime\n                                      lock(pcm-\u003eopen_mutex)\n                                      snd_pcm_release_substream()\n                                        snd_pcm_detach_substream()\n                                          substream-\u003eruntime = NULL\n                                          kfree(runtime)\n                                      unlock(pcm-\u003eopen_mutex)\n      substream-\u003eruntime-\u003echannels\n        NULL or freed-pointer access\n    up_read(controls_rwsem)\n\nReloading the cleared field can fault through NULL, while retaining the\nold pointer can access freed storage. controls_rwsem keeps the control\nalive, but does not serialize the matching PCM close.\n\nCopy the channel count under open_mutex and use that scalar for the map\nlookup. Use trylock with -EBUSY because snd_pcm_dev_disconnect() takes\nopen_mutex before removing controls under controls_rwsem; blocking in\nthe reverse order from GET could deadlock.","status":"published","published":"2026-12-05T01:41:15.317Z","modified":"2026-12-05T01:41:15.317Z","updated_at":"2026-12-05T01:48:47.517798Z"}],"euvd":[{"id":"EUVD-2026-145064","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Protect channel-map reads against runtime detach\n\nChannel-map controls remain accessible between PCM opens. In-tree HDA\ncode publishes the generic controls through add_std_chmaps(), so a\nSNDRV_CTL_IOCTL_ELEM_READ can overlap the final close of the same PCM\nsubstream.\n\npcm_chmap_ctl_get() checks substream-\u003eruntime and later reads its channel\ncount. Final close clears and frees that runtime under pcm-\u003eopen_mutex,\nwhile the control callback holds only controls_rwsem:\n\n  Control GET                         Final PCM close\n  -----------                         ---------------\n  snd_ctl_elem_read()\n    down_read(controls_rwsem)\n    pcm_chmap_ctl_get()\n      check substream-\u003eruntime\n                                      lock(pcm-\u003eopen_mutex)\n                                      snd_pcm_release_substream()\n                                        snd_pcm_detach_substream()\n                                          substream-\u003eruntime = NULL\n                                          kfree(runtime)\n                                      unlock(pcm-\u003eopen_mutex)\n      substream-\u003eruntime-\u003echannels\n        NULL or freed-pointer access\n    up_read(controls_rwsem)\n\nReloading the cleared field can fault through NULL, while retaining the\nold pointer can access freed storage. controls_rwsem keeps the control\nalive, but does not serialize the matching PCM close.\n\nCopy the channel count under open_mutex and use that scalar for the map\nlookup. Use trylock with -EBUSY because snd_pcm_dev_disconnect() takes\nopen_mutex before removing controls under controls_rwsem; blocking in\nthe reverse order from GET could deadlock.","status":"published","published":"2026-12-05T01:41:15Z","modified":"2026-12-05T01:41:15Z","updated_at":"2026-12-05T03:44:21.912352Z"}],"ghsa":[{"id":"GHSA-j6cj-q279-x63w","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Protect channel...","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Protect channel-map reads against runtime detach\n\nChannel-map controls remain accessible between PCM opens. In-tree HDA\ncode publishes the generic controls through add_std_chmaps(), so a\nSNDRV_CTL_IOCTL_ELEM_READ can overlap the final close of the same PCM\nsubstream.\n\npcm_chmap_ctl_get() checks substream-\u003eruntime and later reads its channel\ncount. Final close clears and frees that runtime under pcm-\u003eopen_mutex,\nwhile the control callback holds only controls_rwsem:\n\n  Control GET                         Final PCM close\n  -----------                         ---------------\n  snd_ctl_elem_read()\n    down_read(controls_rwsem)\n    pcm_chmap_ctl_get()\n      check substream-\u003eruntime\n                                      lock(pcm-\u003eopen_mutex)\n                                      snd_pcm_release_substream()\n                                        snd_pcm_detach_substream()\n                                          substream-\u003eruntime = NULL\n                                          kfree(runtime)\n                                      unlock(pcm-\u003eopen_mutex)\n      substream-\u003eruntime-\u003echannels\n        NULL or freed-pointer access\n    up_read(controls_rwsem)\n\nReloading the cleared field can fault through NULL, while retaining the\nold pointer can access freed storage. controls_rwsem keeps the control\nalive, but does not serialize the matching PCM close.\n\nCopy the channel count under open_mutex and use that scalar for the map\nlookup. Use trylock with -EBUSY because snd_pcm_dev_disconnect() takes\nopen_mutex before removing controls under controls_rwsem; blocking in\nthe reverse order from GET could deadlock.","status":"published","published":"2026-12-05T03:30:29Z","modified":"2026-12-05T03:30:37Z","updated_at":"2026-12-05T03:31:20.896926Z"}],"nvd":[{"id":"CVE-2026-143435","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Protect channel-map reads against runtime detach\n\nChannel-map controls remain accessible between PCM opens. In-tree HDA\ncode publishes the generic controls through add_std_chmaps(), so a\nSNDRV_CTL_IOCTL_ELEM_READ can overlap the final close of the same PCM\nsubstream.\n\npcm_chmap_ctl_get() checks substream-\u003eruntime and later reads its channel\ncount. Final close clears and frees that runtime under pcm-\u003eopen_mutex,\nwhile the control callback holds only controls_rwsem:\n\n  Control GET                         Final PCM close\n  -----------                         ---------------\n  snd_ctl_elem_read()\n    down_read(controls_rwsem)\n    pcm_chmap_ctl_get()\n      check substream-\u003eruntime\n                                      lock(pcm-\u003eopen_mutex)\n                                      snd_pcm_release_substream()\n                                        snd_pcm_detach_substream()\n                                          substream-\u003eruntime = NULL\n                                          kfree(runtime)\n                                      unlock(pcm-\u003eopen_mutex)\n      substream-\u003eruntime-\u003echannels\n        NULL or freed-pointer access\n    up_read(controls_rwsem)\n\nReloading the cleared field can fault through NULL, while retaining the\nold pointer can access freed storage. controls_rwsem keeps the control\nalive, but does not serialize the matching PCM close.\n\nCopy the channel count under open_mutex and use that scalar for the map\nlookup. Use trylock with -EBUSY because snd_pcm_dev_disconnect() takes\nopen_mutex before removing controls under controls_rwsem; blocking in\nthe reverse order from GET could deadlock.","status":"published","published":"2026-12-05T03:19:55.237Z","modified":"2026-12-05T03:19:55.237Z","updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-143435","title":"ALSA: pcm: Protect channel-map reads against runtime detach","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: Protect channel-map reads against runtime detach\n\nChannel-map controls remain accessible between PCM opens. In-tree HDA\ncode publishes the generic controls through add_std_chmaps(), so a\nSNDRV_CTL_IOCTL_ELEM_READ can overlap the final close of the same PCM\nsubstream.\n\npcm_chmap_ctl_get() checks substream-\u003eruntime and later reads its channel\ncount. Final close clears and frees that runtime under pcm-\u003eopen_mutex,\nwhile the control callback holds only controls_rwsem:\n\n  Control GET                         Final PCM close\n  -----------                         ---------------\n  snd_ctl_elem_read()\n    down_read(controls_rwsem)\n    pcm_chmap_ctl_get()\n      check substream-\u003eruntime\n                                      lock(pcm-\u003eopen_mutex)\n                                      snd_pcm_release_substream()\n                                        snd_pcm_detach_substream()\n                                          substream-\u003eruntime = NULL\n                                          kfree(runtime)\n                                      unlock(pcm-\u003eopen_mutex)\n      substream-\u003eruntime-\u003echannels\n        NULL or freed-pointer access\n    up_read(controls_rwsem)\n\nReloading the cleared field can fault through NULL, while retaining the\nold pointer can access freed storage. controls_rwsem keeps the control\nalive, but does not serialize the matching PCM close.\n\nCopy the channel count under open_mutex and use that scalar for the map\nlookup. Use trylock with -EBUSY because snd_pcm_dev_disconnect() takes\nopen_mutex before removing controls under controls_rwsem; blocking in\nthe reverse order from GET could deadlock.","status":"published","published":"2026-12-05T01:41:15.317Z","modified":"2026-12-05T03:01:06.325300409Z","updated_at":"2026-12-05T03:12:29.940403Z"}]}}
