• Takashi Iwai's avatar
    ALSA: seq: Fix potential concurrent access to the deleted pool · 75545304
    Takashi Iwai authored
    The input pool of a client might be deleted via the resize ioctl, the
    the access to it should be covered by the proper locks.  Currently the
    only missing place is the call in snd_seq_ioctl_get_client_pool(), and
    this patch papers over it.
    
    Reported-by: syzbot+4a75454b9ca2777f35c7@syzkaller.appspotmail.com
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    75545304
seq_clientmgr.c 65.2 KB