Skip to contentSkip to conversation

CVE-2024-56657: ALSA: control: Avoid WARN() for symlink errors

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:

ALSA: control: Avoid WARN() for symlink errors

Using WARN() for showing the error of symlink creations don't give more information than telling that something goes wrong, since the usual code path is a lregister callback from each control element creation. More badly, the use of WARN() rather confuses fuzzer as if it were serious issues.

This patch downgrades the warning messages to use the normal dev_err() instead of WARN(). For making it clearer, add the function name to the prefix, too.

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

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

	Issue introduced in 5.13 with commit a135dfb5de1501327895729b4f513370d2555b4d and fixed in 6.6.67 with commit d5a1ca7b59804d6779644001a878ed925a4688ca
	Issue introduced in 5.13 with commit a135dfb5de1501327895729b4f513370d2555b4d and fixed in 6.12.6 with commit 36c0764474b637bbee498806485bed524cad486b
	Issue introduced in 5.13 with commit a135dfb5de1501327895729b4f513370d2555b4d and fixed in 6.13-rc3 with commit b2e538a9827dd04ab5273bf4be8eb2edb84357b0

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-56657

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/core/control_led.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/d5a1ca7b59804d6779644001a878ed925a4688ca
	https://git.kernel.org/stable/c/36c0764474b637bbee498806485bed524cad486b
	https://git.kernel.org/stable/c/b2e538a9827dd04ab5273bf4be8eb2edb84357b0