1. 04 Dec, 2019 1 commit
    • Takashi Iwai's avatar
      ALSA: pcm: oss: Avoid potential buffer overflows · 4cc8d650
      Takashi Iwai authored
      syzkaller reported an invalid access in PCM OSS read, and this seems
      to be an overflow of the internal buffer allocated for a plugin.
      Since the rate plugin adjusts its transfer size dynamically, the
      calculation for the chained plugin might be bigger than the given
      buffer size in some extreme cases, which lead to such an buffer
      overflow as caught by KASAN.
      
      Fix it by limiting the max transfer size properly by checking against
      the destination size in each plugin transfer callback.
      
      Reported-by: syzbot+f153bde47a62e0b05f83@syzkaller.appspotmail.com
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20191204144824.17801-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      4cc8d650
  2. 03 Dec, 2019 2 commits
  3. 29 Nov, 2019 3 commits
  4. 28 Nov, 2019 2 commits
  5. 27 Nov, 2019 2 commits
  6. 26 Nov, 2019 4 commits
  7. 25 Nov, 2019 3 commits
  8. 24 Nov, 2019 1 commit
  9. 22 Nov, 2019 14 commits
  10. 21 Nov, 2019 3 commits
  11. 20 Nov, 2019 5 commits