CVE-2026-64482: ALSA: gus: check snd_ctl_new1() return value

Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 10:51:39 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072548-CVE-2026-64482-08ac@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

ALSA: gus: check snd_ctl_new1() return value

snd_ctl_new1() can return NULL when memory allocation fails.
snd_gf1_pcm_volume_control() does not check the return value before
dereferencing kctl->id.index, which can lead to a NULL pointer
dereference.

Add a NULL check after snd_ctl_new1() and return -ENOMEM if it fails.

The Linux kernel CVE team has assigned CVE-2026-64482 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.1.34 with commit c35034fd6446afaf408d5ab296068e32c775c965 and fixed in 6.1.178 with commit 97f6bdf5d5ded2e37f358cacb5a95f1393356604
	Issue introduced in 6.4 with commit c5ae57b1bb99bd6f50b90428fabde397c2aeba0f and fixed in 6.6.145 with commit eccf8e91266e39f6f15637702a04a1d344833fe2
	Issue introduced in 6.4 with commit c5ae57b1bb99bd6f50b90428fabde397c2aeba0f and fixed in 6.12.96 with commit fc5d4f27ca1293bc1379ef8fff691c30d9803ca2
	Issue introduced in 6.4 with commit c5ae57b1bb99bd6f50b90428fabde397c2aeba0f and fixed in 6.18.39 with commit 5e74e5e8cb7cc25f7a89f59abaf3489bf0c6f4a0
	Issue introduced in 6.4 with commit c5ae57b1bb99bd6f50b90428fabde397c2aeba0f and fixed in 7.1.4 with commit 465075c6835103821d725c13f8c545898e5f2636
	Issue introduced in 6.4 with commit c5ae57b1bb99bd6f50b90428fabde397c2aeba0f and fixed in 7.2-rc1 with commit c7fa99d30c7a166a5e5db5a585ce7501ff68326b
	Issue introduced in 6.3.8 with commit a1374d2683442633f8ad2169f8f31df45048e008

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-64482
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/isa/gus/gus_pcm.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/97f6bdf5d5ded2e37f358cacb5a95f1393356604
	https://git.kernel.org/stable/c/eccf8e91266e39f6f15637702a04a1d344833fe2
	https://git.kernel.org/stable/c/fc5d4f27ca1293bc1379ef8fff691c30d9803ca2
	https://git.kernel.org/stable/c/5e74e5e8cb7cc25f7a89f59abaf3489bf0c6f4a0
	https://git.kernel.org/stable/c/465075c6835103821d725c13f8c545898e5f2636
	https://git.kernel.org/stable/c/c7fa99d30c7a166a5e5db5a585ce7501ff68326b