[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=wh61USn+ATUDM-_hX+8p6Yhsq3RWHh+XR4BihfqFYJX8w@mail.gmail.com>
Date: Thu, 17 Mar 2022 11:56:20 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Takashi Iwai <tiwai@...e.de>
Cc: syzbot <syzbot+72732c532ac1454eeee9@...kaller.appspotmail.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Andrew Morton <akpm@...ux-foundation.org>,
alsa-devel@...a-project.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux-MM <linux-mm@...ck.org>,
syzkaller-bugs <syzkaller-bugs@...glegroups.com>,
Willy Tarreau <w@....eu>
Subject: Re: [syzbot] WARNING: kmalloc bug in snd_pcm_plugin_alloc (2)
On Thu, Mar 17, 2022 at 7:13 AM Takashi Iwai <tiwai@...e.de> wrote:
>
> And, we want not only avoiding the overflow but also limiting the
> actual size, too. Practically seen, more than 1MB temporary buffer is
> unrealistic, and better to bail if more than that is requested.
Looks sane to me, although I obviously can't judge how well that 1M
limit works since I don't know the uses.
Thanks,
Linus
Powered by blists - more mailing lists