Shellfeed logo Shellfeed

CVE-2026-64490 · HIGH (CVSS 8.4)

Summary: ALSA: virtio: Validate control metadata from the device

Details

In the Linux kernel, the following vulnerability has been resolved:

ALSA: virtio: Validate control metadata from the device

virtio-snd control handling trusts the device-provided control type and
value count returned by the device.

That metadata is then used directly to index g_v2a_type_map[] in
virtsnd_kctl_info(), and to size loops and memcpy() operations in
virtsnd_kctl_get() and virtsnd_kctl_put() against fixed-size
virtio_snd_ctl_value and snd_ctl_elem_value arrays.

A buggy or malicious device can therefore trigger out-of-bounds access by
advertising an invalid control type or an oversized value count.

Validate control type and count once in virtsnd_kctl_parse_cfg(), before
querying enumerated items or exposing the control to ALSA.

Severity

HIGH (CVSS 8.4) — vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [d6568e3de42dd971a1356f7ba581e6600d53f0a0 – 3243563f99ef5d3949b934bd6390a5679405d0e1]
  • Linux Kernel [6.9.0 – 6.12.96] [6.13.0 – 6.18.39] [6.19.0 – 7.1.4]

References