PT-2026-163370
CVE-2026-139329
·
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: jack: Protect the index scan against control removal
A control found during a jack-name index scan must remain alive until
snd ctl find id() finishes comparing its ID and count. However,
get available index() calls it without holding card->controls rwsem.
With CONFIG SND CTL FAST LOOKUP enabled, the lookup loads a raw control
pointer from ctl hash and dereferences it in elem id matches() without
any lock that excludes removal.
This can happen when a jack is created while a different jack owner on
the same card removes an existing control with the same name and index.
For example, probe and unbind of different HDA codecs can reach these
paths on a shared card if their generated jack names match.
The codec device locks do not serialize operations on different
codecs. The unbind path can free the control during the index scan:
Codec A: probe Codec B: unbind
get available index()
snd ctl find id()
kctl = xa load(...)
hda codec driver remove()
snd hda codec cleanup for unbind()
snd hda jack tbl clear()
snd device free()
snd device free()
snd jack dev free()
snd ctl remove()
snd ctl remove locked()
snd ctl remove()
snd ctl free one()
kfree(kctl)
elem id matches(kctl, ...)
read freed id/count -> UAF
Hold controls rwsem for read across the index scan so removal cannot
free a control until the lookup has finished using it. Release the lock
when get available index() returns, before the caller adds the new
control under the write lock.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾