Skip to contentSkip to conversation

CVE-2024-53199: ASoC: imx-audmix: Add NULL check in imx_audmix_probe

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 27, 2024

lore
Share & tools
lore
#0 lore raw

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ASoC: imx-audmix: Add NULL check in imx_audmix_probe

devm_kasprintf() can return a NULL pointer on failure,but this returned value in imx_audmix_probe() is not checked. Add NULL check in imx_audmix_probe(), to handle kernel NULL pointer dereference error.

The Linux kernel CVE team has assigned CVE-2024-53199 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.11 with commit 05d996e113481fdd9ac40ccf5cadabd1e73f2404 and fixed in 6.11.11 with commit c040cbe2e13da6454ae4748e04e53d885e1c9603
	Issue introduced in 6.11 with commit 05d996e113481fdd9ac40ccf5cadabd1e73f2404 and fixed in 6.12.2 with commit dc5aa71f39b44d8117b2417dafd0e2884a75dd37
	Issue introduced in 6.11 with commit 05d996e113481fdd9ac40ccf5cadabd1e73f2404 and fixed in 6.13-rc1 with commit e038f43edaf0083f6aa7c9415d86cf28dfd152f9

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-2024-53199

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/fsl/imx-audmix.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/c040cbe2e13da6454ae4748e04e53d885e1c9603
	https://git.kernel.org/stable/c/dc5aa71f39b44d8117b2417dafd0e2884a75dd37
	https://git.kernel.org/stable/c/e038f43edaf0083f6aa7c9415d86cf28dfd152f9