Messages in this thread | | | From | Linus Torvalds <> | Date | Thu, 17 Mar 2022 11:56:20 -0700 | Subject | Re: [syzbot] WARNING: kmalloc bug in snd_pcm_plugin_alloc (2) |
| |
On Thu, Mar 17, 2022 at 7:13 AM Takashi Iwai <tiwai@suse.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
| |