PT-2026-163318
CVE-2026-139277
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
ALSA: pcm: Remove channel-map controls before freeing substreams
A late HDA codec bind on an already registered card builds new PCMs
before registering them. add std chmaps() publishes generic channel-map
controls during this BUILD stage. If an earlier chmap succeeds and a
later allocation fails, probe cleanup frees the BUILD PCM while the
card's control device remains accessible.
These generic controls are added directly by snd pcm add chmap ctls();
snd hda ctls clear() only removes codec-tracked mixer controls. BUILD
devices also skip dev disconnect. snd pcm free stream() then frees the
substreams before free chmap() withdraws their generic control:
Late HDA codec bind / rollback Control GET on the live card
hda codec driver probe()
snd hda codec build pcms()
PCM is BUILD
snd hda codec build controls()
add std chmaps()
publish an earlier chmap
later allocation: -ENOMEM
snd hda codec cleanup for unbind()
snd hda ctls clear()
generic chmap remains
codec release pcms()
snd device free()
BUILD: skip dev disconnect
snd pcm free stream()
kfree(substream)
snd ctl elem read()
down read(controls rwsem)
pcm chmap ctl get()
walk freed substream
free chmap()
snd ctl remove()
wait for GET
up read(controls rwsem)
The control read lock cannot protect a substream already freed before
control removal starts. The failure above occurs before
snd card register(), so the PCM has not transitioned out of BUILD.
Move free chmap() before the substream free loop. Its snd ctl remove()
withdraws the control and drains readers under controls rwsem before any
substream is released. Normal registered-device disconnect already
removes the control, so the later call remains harmless on that path.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾