CVE-2024-58077: Linux kernel · ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1032.34~22.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1032.34~22.04.1, 6.8.0-1034.39~22.04.1, 6.8.0-1033.35~22.04.1 +30
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-58077 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-58077 (opens in a new tab)
- git.kernel.org/linus/301c26a018acb94dd537a4418cefa0f654500c6f (opens in a new tab)
- git.kernel.org/stable/c/301c26a018acb94dd537a4418cefa0f654500c6f (opens in a new tab)
- git.kernel.org/stable/c/79b8c7c93beb4f5882c9ee5b9ba73354fa4bc9ee (opens in a new tab)
- git.kernel.org/stable/c/8ec4e8c8e142933eaa8e1ed87168831069250e4e (opens in a new tab)
- git.kernel.org/stable/c/90778f31efdf44622065ebbe8d228284104bd26f (opens in a new tab)
- git.kernel.org/stable/c/b65ba768302adc7ddc70811116cef80ca089af59 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7652-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-7737-1 (opens in a new tab)