PT-2026-168741

CVE-2026-143435

·

Publicado

2026-12-05

·

Atualizado

2026-12-05

Descrição por

Pontuação
N/A
Não disponível

Nã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: 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.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾