CVE-2026-64489: ALSA: ymfpci: check snd_ctl_new1() return value
Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 10:51:46 +0200
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026072550-CVE-2026-64489-5b95@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: ALSA: ymfpci: check snd_ctl_new1() return value snd_ctl_new1() can return NULL when memory allocation fails. snd_ymfpci_create_spdif_controls() does not check the return value before dereferencing kctl->id.device, which can lead to a NULL pointer dereference. Add NULL checks after snd_ctl_new1() calls and return -ENOMEM if any fails. The Linux kernel CVE team has assigned CVE-2026-64489 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.34 with commit 1f6c520932bca5be9e8dec137fccb2fc094a80fe and fixed in 6.1.178 with commit d7c71dfd4b80f0eacac2c157a8a3a4c6e8b2e0d1 Issue introduced in 6.4 with commit c9b83ae4a1609b1914ba7fc70826a3f3a8b234db and fixed in 6.6.145 with commit 91095474eea29b95c9a8bceb9b501a2702b6c55f Issue introduced in 6.4 with commit c9b83ae4a1609b1914ba7fc70826a3f3a8b234db and fixed in 6.12.96 with commit 02f33c2062c75e28abc7ad58ce86451cf3140455 Issue introduced in 6.4 with commit c9b83ae4a1609b1914ba7fc70826a3f3a8b234db and fixed in 6.18.39 with commit f6538a318947b627710b08a268bc80a48c23bde7 Issue introduced in 6.4 with commit c9b83ae4a1609b1914ba7fc70826a3f3a8b234db and fixed in 7.1.4 with commit 18ec7d7785be7a4ee8ea11e355122282caad4267 Issue introduced in 6.4 with commit c9b83ae4a1609b1914ba7fc70826a3f3a8b234db and fixed in 7.2-rc1 with commit e64d170346d00b580c0043de3e5ccb3e331c47d4 Issue introduced in 6.3.8 with commit cf671d2462d9af50c328bcc185d2c7b9726f8093 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-64489 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/pci/ymfpci/ymfpci_main.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/d7c71dfd4b80f0eacac2c157a8a3a4c6e8b2e0d1 https://git.kernel.org/stable/c/91095474eea29b95c9a8bceb9b501a2702b6c55f https://git.kernel.org/stable/c/02f33c2062c75e28abc7ad58ce86451cf3140455 https://git.kernel.org/stable/c/f6538a318947b627710b08a268bc80a48c23bde7 https://git.kernel.org/stable/c/18ec7d7785be7a4ee8ea11e355122282caad4267 https://git.kernel.org/stable/c/e64d170346d00b580c0043de3e5ccb3e331c47d4