CVE-2024-58077

CVE-2024-58077

Medium · published March 6, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
7.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00184 · 7.6th percentile
Published
2025-03-06T22:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.5.1, < 6.6.786.6.78
linux/linux_kernel≥ 6.7, < 6.12.146.12.14
linux/linux_kernel≥ 6.13, < 6.13.36.13.3
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 06 MAR 16:13Z
    ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback
    cvelistv5