CVE-2026-98744: ASoC: codecs: max98363: fix uninitialized stream_config->type
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: max98363: fix uninitialized stream_config->type
stream_config is not initialized before being passed to sdw_stream_add_slave(). The type field may contain garbage and is later copied to stream->type by sdw_config_stream().
Zero-initialize stream_config so type defaults to SDW_STREAM_PCM.
The Linux kernel CVE team has assigned CVE-2026-98744 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.4 with commit 18c0af945fa35766730d3f729adcf417a3d1ad5d and fixed in 6.12.113 with commit 1c251426bb67de5cbfd3b5550bd5983736e8b9c7 Issue introduced in 6.4 with commit 18c0af945fa35766730d3f729adcf417a3d1ad5d and fixed in 6.18.56 with commit 7df8c39a50f364c04d68881e61ba1ecad29d4b72 Issue introduced in 6.4 with commit 18c0af945fa35766730d3f729adcf417a3d1ad5d and fixed in 7.2.10 with commit f44ba04c7a32bd13dbdcd814385b8629d0ee95e3 Issue introduced in 6.4 with commit 18c0af945fa35766730d3f729adcf417a3d1ad5d and fixed in 7.3-rc6 with commit bcd61aa247c28b721ac21dda6e4135f75a2de29f
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-98744
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/codecs/max98363.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/1c251426bb67de5cbfd3b5550bd5983736e8b9c7 https://git.kernel.org/stable/c/7df8c39a50f364c04d68881e61ba1ecad29d4b72 https://git.kernel.org/stable/c/f44ba04c7a32bd13dbdcd814385b8629d0ee95e3 https://git.kernel.org/stable/c/bcd61aa247c28b721ac21dda6e4135f75a2de29f