CVE-2024-58077: ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback
Vulnerability summary
CVE-2024-58077 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 8.3% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 15Timeline
- 06-03-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.18% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu107 products
- linux< 6.8.0-64.67
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1032.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 1f566435141047ca7db26aa4b0b6647a25badaee, < 79b8c7c93beb4f5882c9ee5b9ba73354fa4bc9ee | ≥ 1f566435141047ca7db26aa4b0b6647a25badaee, < 90778f31efdf44622065ebbe8d228284104bd26f | ≥ 1f566435141047ca7db26aa4b0b6647a25badaee, < 8ec4e8c8e142933eaa8e1ed87168831069250e4e | ≥ 1f566435141047ca7db26aa4b0b6647a25badaee, < 301c26a018acb94dd537a4418cefa0f654500c6f | 6.5
- linux_kernelEOL≥ 6.5.1, < 6.6.78 | ≥ 6.7, < 6.12.14 | ≥ 6.13, < 6.13.3 | 6.5 | 6.5:rc7
Debian1 product
- linux< 6.12.15-1
3 vendors · 110 products