[PATCH v3 0/8] ALSA: Fix some bugs reported by Sashiko
From: Takashi Iwai
Date: Wed Oct 07 2026 - 13:21:04 EST
Hi,
here is the revised patch series of the previous fix series.
Now Sashiko reports the existing bugs, I took a look, grabbed a few
critical ones, and here are the fix patches. About a half are about
core stuff and a few about USB-audio mixers.
Takashi
v1: https://lore.kernel.org/20261006134035.478529-1-tiwai@xxxxxxx
v2: https://lore.kernel.org/20261007093638.1049688-1-tiwai@xxxxxxx
v1->v2: fix mutex() scope in USB mixer mutex in patch 5.
v2->v3: covering selector unit with mutex, destroy the mixer mutex in patch 5
fix MAX_CHANNELS check in patch 7
===
Takashi Iwai (8):
ALSA: seq: Drop the bogus RCU guard from clientptr()
ALSA: pcm: Fix TOCTOU state overwrite in snd_pcm_drop()
ALSA: hda: Fix potential UAF for gating jack
ALSA: usb-audio: Fix invalid UAC2/3 mixer unit matrix evaluation
ALSA: usb-audio: Fix data race at mixer_ctl_feature_info()
ALSA: pcmtest: Fix a bogus pointer read in snd_pcmtst_pcm_pointer()
ALSA: usb-audio: Fix mixer bitmap cache over 32 channels
ALSA: core: Add missing barriers for power_ref vs card->shutdown
sound/core/init.c | 4 +
sound/core/pcm_native.c | 2 +-
sound/core/seq/seq_clientmgr.c | 21 ++---
sound/drivers/pcmtest.c | 3 +-
sound/hda/common/jack.c | 9 +-
sound/usb/mixer.c | 146 +++++++++++++++++++++++----------
sound/usb/mixer.h | 3 +-
sound/usb/mixer_scarlett.c | 18 ++--
sound/usb/mixer_us16x08.c | 20 ++---
9 files changed, 143 insertions(+), 83 deletions(-)
--
2.55.0