PT-2026-151528
CVE-2026-99347
·
Publicado
2026-11-19
·
Atualizado
2026-11-19
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: x86: hdmi: fix chmap array missing terminator entry
had build channel allocation map() allocates a single struct
snd pcm chmap elem via kzalloc() and stores it as
intelhaddata->chmap->chmap. struct snd pcm chmap.chmap is expected to
be a zero-terminated array (see snd pcm std chmaps[]), but
had register chmap ctls() never overrides the TLV callback installed
by snd pcm add chmap ctls(), so the generic pcm chmap ctl tlv() from
ALSA core is left in place.
pcm chmap ctl tlv() is reachable by any local user via
SNDRV CTL IOCTL TLV READ on the "Playback Channel Map" control and
walks the array with "for (map = info->chmap; map->channels; map++)".
Since the driver's single element is never terminated, this walks
past the allocation. The same pointer is also freed on hot-unplug and
rebuilt on hot-plug under intelhaddata->mutex, while the TLV callback
runs under card->controls rwsem without that mutex, so the walk can
also race a concurrent free of the array.
Fix this by allocating a second, zeroed element so the array is
properly terminated, and by dropping the inherited TLV callback
entirely at registration time, since the driver never implements one
of its own.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾