# CVE-2026-143435: ALSA: pcm: Protect channel-map reads against runtime detach

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2026-12-05 · Modified: 2026-12-05
- Aliases: DEBIAN-CVE-2026-143435
- Record: https://cvemate.com/vulnerability/CVE-2026-143435 · JSON: https://cvemate.com/vulnerability/CVE-2026-143435/json

## Description

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

ALSA: pcm: Protect channel-map reads against runtime detach

Channel-map controls remain accessible between PCM opens. In-tree HDA
code publishes the generic controls through add_std_chmaps(), so a
SNDRV_CTL_IOCTL_ELEM_READ can overlap the final close of the same PCM
substream.

pcm_chmap_ctl_get() checks substream->runtime and later reads its channel
count. Final close clears and frees that runtime under pcm->open_mutex,
while the control callback holds only controls_rwsem:

  Control GET                         Final PCM close
  -----------                         ---------------
  snd_ctl_elem_read()
    down_read(controls_rwsem)
    pcm_chmap_ctl_get()
      check substream->runtime
                                      lock(pcm->open_mutex)
                                      snd_pcm_release_substream()
                                        snd_pcm_detach_substream()
                                          substream->runtime = NULL
                                          kfree(runtime)
                                      unlock(pcm->open_mutex)
      substream->runtime->channels
        NULL or freed-pointer access
    up_read(controls_rwsem)

Reloading the cleared field can fault through NULL, while retaining the
old pointer can access freed storage. controls_rwsem keeps the control
alive, but does not serialize the matching PCM close.

Copy the channel count under open_mutex and use that scalar for the map
lookup. Use trylock with -EBUSY because snd_pcm_dev_disconnect() takes
open_mutex before removing controls under controls_rwsem; blocking in
the reverse order from GET could deadlock.
```

## Signals

- CVSS: none published
- EPSS: 0.304%, percentile 24.957%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian linux (Debian): All versions (No fix recorded) \| \< 7.3.6-1
- linux linux: ≥ 2d3391ec0ecca37efb6bc995906292f47522b471, \< f65e2c6c159b8d8a3235b7573d4bc176e5ee0d18 \| ≥ 2d3391ec0ecca37efb6bc995906292f47522b471, \< 69518e80c154952ce30b19c57c9a89754c4eee6a \| ≥ 2d3391ec0ecca37efb6bc995906292f47522b471, \< 9b06541e4c36ee67cf909965e40ed654fd8d7ddf \| ≥ 2d3391ec0ecca37efb6bc995906292f47522b471, \< 639fa18439ad62566c5f34230a91c4802b1fa26f \| ≥ 2d3391ec0ecca37efb6bc995906292f47522b471, \< 2762cb36378cf162521cb6fcd073d1c39b3ffecd \| ≥ 2d3391ec0ecca37efb6bc995906292f47522b471, \< bb4834d5242c4829c0d8467ee68eb25a9bafc38d \| 3.7

## References

- <https://git.kernel.org/stable/c/f65e2c6c159b8d8a3235b7573d4bc176e5ee0d18>
- <https://git.kernel.org/stable/c/69518e80c154952ce30b19c57c9a89754c4eee6a>
- <https://git.kernel.org/stable/c/9b06541e4c36ee67cf909965e40ed654fd8d7ddf>
- <https://git.kernel.org/stable/c/639fa18439ad62566c5f34230a91c4802b1fa26f>
- <https://git.kernel.org/stable/c/2762cb36378cf162521cb6fcd073d1c39b3ffecd>
- <https://git.kernel.org/stable/c/bb4834d5242c4829c0d8467ee68eb25a9bafc38d>
- <https://security-tracker.debian.org/tracker/CVE-2026-143435>

---

Data as of 2026-12-06T03:22:23.738Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
