1. 29 Jul, 2022 2 commits
    • Takashi Iwai's avatar
      ALSA: timer: Use deferred fasync helper · 95cc637c
      Takashi Iwai authored
      For avoiding the potential deadlock via kill_fasync() call, use the
      new fasync helpers to defer the invocation from PCI API.  Note that
      it's merely a workaround.
      
      Reported-by: syzbot+1ee0910eca9c94f71f25@syzkaller.appspotmail.com
      Reported-by: syzbot+49b10793b867871ee26f@syzkaller.appspotmail.com
      Reported-by: syzbot+8285e973a41b5aa68902@syzkaller.appspotmail.com
      Link: https://lore.kernel.org/r/20220728125945.29533-3-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      95cc637c
    • Takashi Iwai's avatar
      ALSA: core: Add async signal helpers · ef34a0ae
      Takashi Iwai authored
      Currently the call of kill_fasync() from an interrupt handler might
      lead to potential spin deadlocks, as spotted by syzkaller.
      Unfortunately, it's not so trivial to fix this lock chain as it's
      involved with the tasklist_lock that is touched in allover places.
      
      As a temporary workaround, this patch provides the way to defer the
      async signal notification in a work.  The new helper functions,
      snd_fasync_helper() and snd_kill_faync() are replacements for
      fasync_helper() and kill_fasync(), respectively.  In addition,
      snd_fasync_free() needs to be called at the destructor of the relevant
      file object.
      
      Link: https://lore.kernel.org/r/20220728125945.29533-2-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ef34a0ae
  2. 28 Jul, 2022 3 commits
  3. 25 Jul, 2022 6 commits
  4. 22 Jul, 2022 3 commits
  5. 15 Jul, 2022 12 commits
  6. 14 Jul, 2022 13 commits
  7. 13 Jul, 2022 1 commit