---
id: CVE-2024-58077
title: |-
  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 ..
summary: |-
  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 err…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.5.1, < 6.6.78'
  - 'linux_kernel >= 6.7, < 6.12.14'
  - 'linux_kernel >= 6.13, < 6.13.3'
  - linux_kernel = 6.5
patched:
  - linux_kernel 6.13.3
published: '2025-03-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:17:20.713'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-58077'
references:
  - url: 'https://git.kernel.org/stable/c/301c26a018acb94dd537a4418cefa0f654500c6f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/79b8c7c93beb4f5882c9ee5b9ba73354fa4bc9ee'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8ec4e8c8e142933eaa8e1ed87168831069250e4e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/90778f31efdf44622065ebbe8d228284104bd26f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-784472.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00184
epssPercentile: 0.07906
ingestedAt: '2026-10-15T03:30:12.803Z'
---

## Overview

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

- `linux_kernel >= 6.5.1, < 6.6.78`
- `linux_kernel >= 6.7, < 6.12.14`
- `linux_kernel >= 6.13, < 6.13.3`
- `linux_kernel = 6.5`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.3`
