CVE-2024-58077
ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback
- State
- Published
- Severity
- Not scored
- Published
- Mar 6, 2025
- Updated
- Oct 15, 2026
- Reserved
- Mar 6, 2025
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/79b8c7c93beb4f5882c9ee5b9ba73354fa4bc9ee
- https://git.kernel.org/stable/c/90778f31efdf44622065ebbe8d228284104bd26f
- https://git.kernel.org/stable/c/8ec4e8c8e142933eaa8e1ed87168831069250e4e
- https://git.kernel.org/stable/c/301c26a018acb94dd537a4418cefa0f654500c6f
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.