CVE-2026-98053: ASoC: Intel: avs: Refactor and fix init_config access
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: Intel: avs: Refactor and fix init_config access
Existing code accesses enties found in ->init_configs array through indexes that are part of ->config_ids array. Those two are limited by:
->num_init_configs and ->num_config_ids respectively. Using ID larger or equal to ->num_init_configs leads to out-of-bounds access:
avs_path_module_send_init_configs()
loop:
(...) &acomp->tplg->init_configs[ids[i]] ^ out-of-bounds candidate
Rather than adding another if-statement, refactor the code. There is no need to store the IDs, have a list of pointers to actual config-entries instead. As the verification of ->init_config entries does not differ from verification of other types that are part of the topology.c file, simply reuse the code.
The Linux kernel CVE team has assigned CVE-2026-98053 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit 8a49ef789b1be68242624d460df2ada8087308a7 and fixed in 6.18.53 with commit 75bd5ea9c858d89fb8862f23afb00783bf02cd7a Issue introduced in 6.9 with commit 8a49ef789b1be68242624d460df2ada8087308a7 and fixed in 7.2.7 with commit 8f20a0f4f7d638e83ae86db1719a24c7049762f5 Issue introduced in 6.9 with commit 8a49ef789b1be68242624d460df2ada8087308a7 and fixed in 7.3-rc3 with commit 681e91035dc794896a904852040837190e5041f5
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-98053
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/intel/avs/path.c
sound/soc/intel/avs/topology.c
sound/soc/intel/avs/topology.h
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/75bd5ea9c858d89fb8862f23afb00783bf02cd7a https://git.kernel.org/stable/c/8f20a0f4f7d638e83ae86db1719a24c7049762f5 https://git.kernel.org/stable/c/681e91035dc794896a904852040837190e5041f5