CVE-2026-23301: ASoC: SDCA: Add allocation failure check for Entity name
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SDCA: Add allocation failure check for Entity name
Currently find_sdca_entity_iot() can allocate a string for the Entity name but it doesn't check if that allocation succeeded. Add the missing NULL check after the allocation.
The Linux kernel CVE team has assigned CVE-2026-23301 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit 48fa77af2f4a55ab961520f2a0e50560dc0baca8 and fixed in 6.19.7 with commit bdcc10a86055beb7109a786d94abf5626f375bbd Issue introduced in 6.19 with commit 48fa77af2f4a55ab961520f2a0e50560dc0baca8 and fixed in 7.0-rc3 with commit 27990181031fdcdbe0f7c46011f6404e5d116386
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-23301
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/soc/sdca/sdca_functions.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/bdcc10a86055beb7109a786d94abf5626f375bbd https://git.kernel.org/stable/c/27990181031fdcdbe0f7c46011f6404e5d116386