Centos-kernel-stream-9/sound
Augusto Caringi fcfccd5560 Merge: CVE-2024-58077: ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6537

JIRA: https://issues.redhat.com/browse/RHEL-82517
CVE: CVE-2024-58077

```
commit 301c26a018acb94dd537a4418cefa0f654500c6f
Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date:   Fri Dec 13 01:21:10 2024 +0000

    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.

    Link: https://lore.kernel.org/r/87v7vptzap.wl-kuninori.morimoto.gx@renesas.com
    Cc: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://patch.msgid.link/87bjxg8jju.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>```

Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>

---

<small>Created 2025-03-06 20:31 UTC by backporter - [KWF FAQ](https://red.ht/kernel_workflow_doc) - [Slack #team-kernel-workflow](https://redhat-internal.slack.com/archives/C04LRUPMJQ5) - [Source](https://gitlab.com/cki-project/kernel-workflow/-/blob/main/webhook/utils/backporter.py) - [Documentation](https://gitlab.com/cki-project/kernel-workflow/-/blob/main/docs/README.backporter.md) - [Report an issue](https://gitlab.com/cki-project/kernel-workflow/-/issues/new?issue%5Btitle%5D=backporter%20webhook%20issue)</small>

Approved-by: Jaroslav Kysela <jkysela@redhat.com>
Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: Augusto Caringi <acaringi@redhat.com>
2025-03-31 16:55:02 -03:00
..
ac97 ALSA: ac97: bus: Add missing module description 2025-01-08 20:16:15 +01:00
aoa ALSA: aoa: Use *-y instead of *-objs in Makefile 2025-01-08 20:16:15 +01:00
arm ASoC: arm: Use snd_soc_substream_to_rtd() for accessing private_data 2025-01-08 20:16:18 +01:00
atmel ALSA: misc: Use *-y instead of *-objs in Makefile 2025-01-08 20:16:12 +01:00
core ALSA: seq: oss: Send fragmented SysEx messages immediately 2025-01-27 19:47:48 +01:00
drivers ALSA: aloop: Allow using global timers 2025-01-07 09:21:02 +01:00
firewire
hda Merge: ALSA - update drivers for 9.6 2025-01-22 14:27:11 +00:00
i2c ALSA: i2c: pt2258: Use standard print API 2025-01-08 20:16:14 +01:00
isa ALSA: wss: Use standard print API 2025-01-08 20:16:17 +01:00
mips ALSA: misc: Use *-y instead of *-objs in Makefile 2025-01-08 20:16:12 +01:00
oss sound: oss: dmasound: Add missing module descriptions 2025-01-08 20:16:16 +01:00
parisc ALSA: misc: Use *-y instead of *-objs in Makefile 2025-01-08 20:16:12 +01:00
pci ALSA: hda/realtek: fixup ASUS H7606W 2025-01-27 19:47:48 +01:00
pcmcia ALSA: vxpocket: Fix a typo at conversion to dev_*() 2025-01-08 20:16:19 +01:00
ppc ALSA: ppc: Use standard print API 2025-01-08 20:16:14 +01:00
sh ALSA: sh: Use standard print API 2025-01-08 20:16:17 +01:00
soc Merge: CVE-2024-58077: ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback 2025-03-31 16:55:02 -03:00
sparc ALSA: sparc: Fix a typo at dev_*() conversion 2025-01-08 20:16:14 +01:00
spi ALSA: spi: Drop NULL check for snd_ctl_remove() 2025-01-08 20:16:14 +01:00
synth ALSA: emux: Use standard print API 2025-01-08 20:16:12 +01:00
usb sound: usb: format: don't warn that raw DSD is unsupported 2025-01-27 19:47:48 +01:00
virtio ALSA: misc: Use *-y instead of *-objs in Makefile 2025-01-08 20:16:12 +01:00
x86 Merge: ALSA - update drivers for 9.6 2025-01-22 14:27:11 +00:00
xen ALSA: misc: Use *-y instead of *-objs in Makefile 2025-01-08 20:16:12 +01:00
Kconfig
Makefile
ac97_bus.c ALSA: ac97: legacy: Add missing module description 2025-01-08 20:16:15 +01:00
last.c
sound_core.c