mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/8] ALSA: Fix some bugs reported by Sashiko
@ 2026-10-07 17:20 Takashi Iwai
  2026-10-07 17:20 ` [PATCH v3 1/8] ALSA: seq: Drop the bogus RCU guard from clientptr() Takashi Iwai
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Takashi Iwai @ 2026-10-07 17:20 UTC (permalink / raw)
  To: linux-sound; +Cc: linux-kernel

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@suse.de
v2: https://lore.kernel.org/20261007093638.1049688-1-tiwai@suse.de

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-10-07 17:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 17:20 [PATCH v3 0/8] ALSA: Fix some bugs reported by Sashiko Takashi Iwai
2026-10-07 17:20 ` [PATCH v3 1/8] ALSA: seq: Drop the bogus RCU guard from clientptr() Takashi Iwai
2026-10-07 17:20 ` [PATCH v3 2/8] ALSA: pcm: Fix TOCTOU state overwrite in snd_pcm_drop() Takashi Iwai
2026-10-07 17:20 ` [PATCH v3 3/8] ALSA: hda: Fix potential UAF for gating jack Takashi Iwai
2026-10-07 17:20 ` [PATCH v3 4/8] ALSA: usb-audio: Fix invalid UAC2/3 mixer unit matrix evaluation Takashi Iwai
2026-10-07 17:20 ` [PATCH v3 5/8] ALSA: usb-audio: Fix data race at mixer_ctl_feature_info() Takashi Iwai
2026-10-07 17:20 ` [PATCH v3 6/8] ALSA: pcmtest: Fix a bogus pointer read in snd_pcmtst_pcm_pointer() Takashi Iwai
2026-10-07 17:20 ` [PATCH v3 7/8] ALSA: usb-audio: Fix mixer bitmap cache over 32 channels Takashi Iwai
2026-10-07 17:20 ` [PATCH v3 8/8] ALSA: core: Add missing barriers for power_ref vs card->shutdown Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®