CVE-2024-58077

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback commit 1f5664351410 ("ASoC: lower "no backend DAIs enabled for ... Port" log severity") ignores -EINVAL error message on common soc_pcm_ret(). It is used from many functions, ignoring -EINVAL is over-kill. The reason why -EINVAL was ignored was it really should only be used upon invalid parameters coming from userspace and in that case we don't want to log an error since we do not want to give userspace a way to do a denial-of-service attack on the syslog / diskspace. So don't use soc_pcm_ret() on .prepare callback is better idea.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedMar 6, 2025
First seenMar 6, 2025

How to fix

Update
  • linux linux_kernel6.6.78, 6.12.14, 6.13.3 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.5.1 ≤ v < 6.6.78, 6.7 ≤ v < 6.12.14, 6.13 ≤ v < 6.13.3, 6.56.6.78, 6.12.14, 6.13.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.