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

CVE-2024-58077
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1f566435141047ca7db26aa4b0b6647a25badaee < 79b8c7c93beb4f5882c9ee5b9ba73354fa4bc9ee ; affected 1f566435141047ca7db26aa4b0b6647a25badaee < 90778f31efdf44622065ebbe8d228284104bd26f ; affected 1f566435141047ca7db26aa4b0b6647a25badaee < 8ec4e8c8e142933eaa8e1ed87168831069250e4e ; affected 1f566435141047ca7db26aa4b0b6647a25badaee < 301c26a018acb94dd537a4418cefa0f654500c6f
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.78 ≤ 6.6.* ; unaffected 6.12.14 ≤ 6.12.* ; unaffected 6.13.3 ≤ 6.13.* ; unaffected 6.14 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD