cve/2024/CVE-2024-58077.md
2025-09-29 21:09:30 +02:00

1.3 KiB

CVE-2024-58077

Description

In the Linux kernel, the following vulnerability has been resolved:ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callbackcommit 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 usedupon invalid parameters coming from userspace and in that case we don'twant to log an error since we do not want to give userspace a way to doa denial-of-service attack on the syslog / diskspace.So don't use soc_pcm_ret() on .prepare callback is better idea.

POC

Reference

No PoCs from references.

Github