{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143435","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.375Z","datePublished":"2026-12-05T01:41:15.317Z","dateUpdated":"2026-12-05T01:41:15.317Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-05T01:41:15.317Z"},"descriptions":[{"lang":"en","value":"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->runtime and later reads its channel\ncount. Final close clears and frees that runtime under pcm->open_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->runtime\n                                      lock(pcm->open_mutex)\n                                      snd_pcm_release_substream()\n                                        snd_pcm_detach_substream()\n                                          substream->runtime = NULL\n                                          kfree(runtime)\n                                      unlock(pcm->open_mutex)\n      substream->runtime->channels\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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_lib.c"],"versions":[{"version":"2d3391ec0ecca37efb6bc995906292f47522b471","lessThan":"f65e2c6c159b8d8a3235b7573d4bc176e5ee0d18","status":"affected","versionType":"git"},{"version":"2d3391ec0ecca37efb6bc995906292f47522b471","lessThan":"69518e80c154952ce30b19c57c9a89754c4eee6a","status":"affected","versionType":"git"},{"version":"2d3391ec0ecca37efb6bc995906292f47522b471","lessThan":"9b06541e4c36ee67cf909965e40ed654fd8d7ddf","status":"affected","versionType":"git"},{"version":"2d3391ec0ecca37efb6bc995906292f47522b471","lessThan":"639fa18439ad62566c5f34230a91c4802b1fa26f","status":"affected","versionType":"git"},{"version":"2d3391ec0ecca37efb6bc995906292f47522b471","lessThan":"2762cb36378cf162521cb6fcd073d1c39b3ffecd","status":"affected","versionType":"git"},{"version":"2d3391ec0ecca37efb6bc995906292f47522b471","lessThan":"bb4834d5242c4829c0d8467ee68eb25a9bafc38d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/pcm_lib.c"],"versions":[{"version":"3.7","status":"affected"},{"version":"0","lessThan":"3.7","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f65e2c6c159b8d8a3235b7573d4bc176e5ee0d18"},{"url":"https://git.kernel.org/stable/c/69518e80c154952ce30b19c57c9a89754c4eee6a"},{"url":"https://git.kernel.org/stable/c/9b06541e4c36ee67cf909965e40ed654fd8d7ddf"},{"url":"https://git.kernel.org/stable/c/639fa18439ad62566c5f34230a91c4802b1fa26f"},{"url":"https://git.kernel.org/stable/c/2762cb36378cf162521cb6fcd073d1c39b3ffecd"},{"url":"https://git.kernel.org/stable/c/bb4834d5242c4829c0d8467ee68eb25a9bafc38d"}],"title":"ALSA: pcm: Protect channel-map reads against runtime detach","x_generator":{"engine":"bippy-1.2.0"}}}}