Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E984E39185A for ; Sat, 25 Jul 2026 09:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784970093; cv=none; b=O6IpuNoIJ8Q0uNnDTjYqqvsNKjnnDVl92e28ZeZyRbvbU3+UowuPMvelVFzlYPpSGteCO0hw5ZPaqCGCaLS7jnkfSTHGh17cYK4WwDsMvJSRiaO2b/OD9k1tcXQjObDDZIuHhlovSECZ3OYdF2kwzF+Vk8kLlCuJ5lfVvNmBdC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784970093; c=relaxed/simple; bh=DXtQZjtx9bAXgk8DOsaGBhQo1B7ylZu4kyiLFqll+BY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AqezsJ10wh/8+GMPgPHkxhPkuRrTnQPLX23Lgd4arVBkVOGk3Pik1gNr08liFsQbOEuS7rdxLo5Mdw03pv+bU7lYaaZ9obglayzI7PTxprhaPwIfMVFdwGwD0qq5Q8ihNl4QB3lRWMIaWhVyYtCcDDmr8Yu+oqpM16+cHLa5ONE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xn1gHmJs; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xn1gHmJs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44F131F000E9; Sat, 25 Jul 2026 09:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784970091; bh=enq3ZF5SeOrCSkPOu0YI6YcW0r7mKFqi2fyucJBo31A=; h=From:To:Cc:Subject:Date:Reply-To; b=xn1gHmJsk+UP+wwq2kVhNuBwqGY5h6F/TslB8qUuj0ZSw2JWcdf99tF87tZIVZMiw InCBFIHfSnNFwAenDX+w902rvVou3RM1H0o/nUYO104lu+is7uxDs8gO8225XczFsH oCPAL9zIqg5TTfIJ24WRaMlkEFA8efygsp4ktgho= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64490: ALSA: virtio: Validate control metadata from the device Date: Sat, 25 Jul 2026 10:51:47 +0200 Message-ID: <2026072550-CVE-2026-64490-72f5@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2858; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5M6tq4fhmHyIYaA2s/cs2JKSHrFIwetijZauf+S2Ogs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFUVXjy43ktw328PXsnxHEWtJvpgY4xNL9m3p8+8oz xDk+pvTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZlsEwP7/HWyZgbudjCWeZ hwFbXt+VF1D9x7DgUN1N+V0zarZvOZQc4m130fqEapgvAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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. The Linux kernel CVE team has assigned CVE-2026-64490 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit d6568e3de42dd971a1356f7ba581e6600d53f0a0 and fixed in 6.12.96 with commit 3243563f99ef5d3949b934bd6390a5679405d0e1 Issue introduced in 6.9 with commit d6568e3de42dd971a1356f7ba581e6600d53f0a0 and fixed in 6.18.39 with commit 5da9742de22db0dbaa8d414214ab5e1bedde00f9 Issue introduced in 6.9 with commit d6568e3de42dd971a1356f7ba581e6600d53f0a0 and fixed in 7.1.4 with commit 21584672fd699abe1768241d6c501b2de6139b6a Issue introduced in 6.9 with commit d6568e3de42dd971a1356f7ba581e6600d53f0a0 and fixed in 7.2-rc1 with commit c77a6cbb36ff8cbc1f084d94f8dcda5250935271 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-64490 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: sound/virtio/virtio_kctl.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3243563f99ef5d3949b934bd6390a5679405d0e1 https://git.kernel.org/stable/c/5da9742de22db0dbaa8d414214ab5e1bedde00f9 https://git.kernel.org/stable/c/21584672fd699abe1768241d6c501b2de6139b6a https://git.kernel.org/stable/c/c77a6cbb36ff8cbc1f084d94f8dcda5250935271