Skip to content

ALSA: some race fixes

Takashi Iwai alsa-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ALSA: info: Fix racy addition/deletion of nodessound/core/info.c+10 -20 replies
2/2ALSA: core: Fix card races between register and disconnectsound/core/init.c+9 -90 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/2] ALSA: some race fixes

Hi,

syzkaller hilariously spotted some possible races via its usb fuzzing. I thought it were specific to USB-audio stuff, but no it's in the ALSA core side. So below is the resultant fixes.

Takashi

===

Takashi Iwai (2):
ALSA: info: Fix racy addition/deletion of nodes
ALSA: core: Fix card races between register and disconnect

 sound/core/info.c | 12 ++++++++++--
 sound/core/init.c | 18 +++++++++---------
 2 files changed, 19 insertions(+), 11 deletions(-)
Signature · 1 line
2.16.4