CVE-2024-58077: ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback

Published Mar 6, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ASoC: soc-pcm: don't use socpcmret() on .prepare callback

commit 1f5664351410 ("ASoC: lower "no backend DAIs enabled for ... Port" log severity") ignores -EINVAL error message on common socpcmret(). 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 socpcmret() on .prepare callback is better idea.

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=6.5.1<6.6.78
Linux Linux kernel>=6.7<6.12.14
Linux Linux kernel>=6.13<6.13.3
Linux Linux kernel=6.5
Linux Linux kernel=6.5-rc7
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch commit 1f5664351410
  2. Configuration

    In ASoC soc-pcm, avoid calling soc_pcm_ret() from the .prepare callback as a resolved mitigation, since ignoring -EINVAL there can lead to undesirable logging/behavior described in the fix.

    Linux kernel ASoC (soc-pcm) soc_pcm_ret() usage = Do not use soc_pcm_ret() on the .prepare callback

Event History

Mar 6, 2025
CVE Published
via MITRE·04:13 PM
Data Sourced
via MITRE·04:13 PM
Description
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-58077?

CVE-2024-58077 has not been assigned a CVSS score, but it addresses an issue in the Linux kernel related to the handling of error messages.

2

How do I fix CVE-2024-58077?

To fix CVE-2024-58077, update the Linux kernel to a patched version that resolves the ASoC: soc-pcm vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2024-58077?

CVE-2024-58077 affects multiple versions of the Linux kernel, but specifics depend on individual distributions and their update practices.

4

What component of the Linux kernel is impacted by CVE-2024-58077?

CVE-2024-58077 impacts the ASoC (ALSA System on Chip) subsystem, specifically the soc-pcm code handling.

5

Is CVE-2024-58077 an exploitable vulnerability?

While CVE-2024-58077 may expose systems to certain conditions, its exploitability would depend on the specific configurations and use cases in the affected environments.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203