CVE-2026-143435

Source
https://cve.org/CVERecord?id=CVE-2026-143435
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143435.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143435
Downstream
Published
2026-12-05T01:41:15Z
Modified
2026-12-05T03:01:06Z
Summary
ALSA: pcm: Protect channel-map reads against runtime detach
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143435.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2d3391ec0ecca37efb6bc995906292f47522b471
Fixed
f65e2c6c159b8d8a3235b7573d4bc176e5ee0d18
Fixed
69518e80c154952ce30b19c57c9a89754c4eee6a
Fixed
9b06541e4c36ee67cf909965e40ed654fd8d7ddf
Fixed
639fa18439ad62566c5f34230a91c4802b1fa26f
Fixed
2762cb36378cf162521cb6fcd073d1c39b3ffecd
Show 1 more event Show fewer events
Fixed
bb4834d5242c4829c0d8467ee68eb25a9bafc38d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143435.json"

Linux / Kernel

Package

Name
Kernel

Affected 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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143435.json"