CVE-2026-63838: ASoC: rsnd: Fix potential out-of-bounds access of component_dais[]
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: rsnd: Fix potential out-of-bounds access of component_dais[]
component_dais[RSND_MAX_COMPONENT] is initially zero-initialized and later populated in rsnd_dai_of_node(). However, the existing boundary check:
if (i >= RSND_MAX_COMPONENT)
does not guarantee that the last valid element remains zero. As a result, the loop can rely on component_dais[RSND_MAX_COMPONENT] being zero, which may lead to an out-of-bounds access.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
The Linux kernel CVE team has assigned CVE-2026-63838 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6 with commit 547b02f74e4ac1e7d295a6266d5bc93a647cd4ac and fixed in 6.6.141 with commit 9f1daac27ca28e98c8c0e4450de42bb68d547250 Issue introduced in 6.6 with commit 547b02f74e4ac1e7d295a6266d5bc93a647cd4ac and fixed in 6.12.91 with commit 15e7b2ac2455995a6af02b9d3da7a432837aaf72 Issue introduced in 6.6 with commit 547b02f74e4ac1e7d295a6266d5bc93a647cd4ac and fixed in 6.18.33 with commit 134c61925e9e9ee0f4fdbab5c3984d5bb024f5f5 Issue introduced in 6.6 with commit 547b02f74e4ac1e7d295a6266d5bc93a647cd4ac and fixed in 7.0.10 with commit a62b3e6e42359a79158c134e3cf5c74fe160c3f5 Issue introduced in 6.6 with commit 547b02f74e4ac1e7d295a6266d5bc93a647cd4ac and fixed in 7.1 with commit f9e437cddf6cf9e603bdaefe148c1f4792aaf39c
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-63838
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/renesas/rcar/core.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/9f1daac27ca28e98c8c0e4450de42bb68d547250 https://git.kernel.org/stable/c/15e7b2ac2455995a6af02b9d3da7a432837aaf72 https://git.kernel.org/stable/c/134c61925e9e9ee0f4fdbab5c3984d5bb024f5f5 https://git.kernel.org/stable/c/a62b3e6e42359a79158c134e3cf5c74fe160c3f5 https://git.kernel.org/stable/c/f9e437cddf6cf9e603bdaefe148c1f4792aaf39c