Skip to content

ALSA: Fix some bugs reported by Sashiko

Takashi Iwai linux-sound lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ALSA: seq: Drop the bogus RCU guard from clientptr()sound/core/seq/seq_clientmgr.c+8 -130 replies
2/8ALSA: pcm: Fix TOCTOU state overwrite in snd_pcm_drop()sound/core/pcm_native.c+1 -10 replies
3/8ALSA: hda: Fix potential UAF for gating jacksound/hda/common/jack.c+6 -30 replies
4/8ALSA: usb-audio: Fix invalid UAC2/3 mixer unit matrix evaluationsound/usb/mixer.c+78 -340 replies
5/8ALSA: usb-audio: Fix data race at mixer_ctl_feature_info()sound/usb/mixer.c sound/usb/mixer.h+11 -10 replies
6/8ALSA: pcmtest: Fix a bogus pointer read in snd_pcmtst_pcm_pointer()sound/drivers/pcmtest.c+2 -10 replies
7/8ALSA: usb-audio: Fix mixer bitmap cache over 32 channelssound/usb/mixer.c sound/usb/mixer.h sound/usb/mixer_scarlett.c +1 more+29 -290 replies
8/8ALSA: core: Add missing barriers for power_ref vs card->shutdownsound/core/init.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] ALSA: Fix some bugs reported by Sashiko

Hi,

now Sashiko reports the existing bugs, I took a look, grabbed a few critical ones, and ere are the fix patches. About a half are about core stuff and a few about USB-audio mixers.

Takashi

===

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              | 141 +++++++++++++++++++++++----------
 sound/usb/mixer.h              |   3 +-
 sound/usb/mixer_scarlett.c     |  18 ++---
 sound/usb/mixer_us16x08.c      |  20 ++---
 9 files changed, 139 insertions(+), 82 deletions(-)
Signature · 1 line
2.55.0