Vulnerability · Published Mar 6, 2025 · Assigned by Linux
CVE-2024-58077ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback
Medium 5.5
In plain English
A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | kernel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-abi-stablelists | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-cross-headers | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-uki-virt | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-doc | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-headers | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-modules-extra-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-tools | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-tools-libs | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-tools-libs-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-uki-virt | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-uki-virt-addons | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | libperf | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | perf | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | python3-perf | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | rtla | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | rv | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| Debian:13 | linux | 6.12.15-1 | DEBIAN-CVE-2024-58077 |
| Debian:14 | linux | 6.12.15-1 | DEBIAN-CVE-2024-58077 |
| Rocky Linux:10 | kernel | 0:6.12.0-124.8.1.el10_1 | RLSA-2025:20095 |
| Ubuntu:24.04:LTS | linux | 6.8.0-64.67 | USN-7651-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-64.67 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1032.34 | USN-7651-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1032.34 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1032.34~22.04.1 | USN-7651-3 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1032.34~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1034.39 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | 6.11.0-1015.15~24.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1034.39~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1022.23 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1033.35 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1033.35 | USN-7651-4 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | 6.11.0-1015.15~24.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1033.35~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1033.35~22.04.1 | USN-7651-4 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1028.32 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1028.32 | USN-7651-3 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1015.17 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1015.17 | USN-7651-3 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | 6.11.0-26.26~24.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-64.67~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1029.29 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1029.29 | USN-7651-2 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1029.29~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1029.29~22.04.1 | USN-7651-2 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-64.67.1 | USN-7651-2 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-64.67.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1014.15~24.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-64.67.1~22.04.1 | USN-7651-2 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-64.67.1~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1031.34 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1031.34 | USN-7651-3 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | 6.11.0-1010.10 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1031.34~22.04.1 | USN-7651-3 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1031.34~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1031.34.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1031.34.1 | USN-7651-3 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1008.8 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1022.22 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1031.31 | USN-7651-1 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1031.31 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1029.30 | USN-7651-3 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1029.30 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1029.30~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1029.30~22.04.1 | USN-7651-3 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1031.35 | USN-7651-6 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1031.35 | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-64.67~22.04.1 | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-58077 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1017.18 | UBUNTU-CVE-2024-58077 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1f566435141047ca7db26aa4b0b6647a25badaee – before 79b8c7c93beb4f5882c9ee5b9ba73354fa4bc9ee1f566435141047ca7db26aa4b0b6647a25badaee – before 90778f31efdf44622065ebbe8d228284104bd26f1f566435141047ca7db26aa4b0b6647a25badaee – before 8ec4e8c8e142933eaa8e1ed87168831069250e4e1f566435141047ca7db26aa4b0b6647a25badaee – before 301c26a018acb94dd537a4418cefa0f654500c6f |
| Linux | Linux | 6.5 |
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