Re: WARNING in __kernel_write

From: Christoph Hellwig
Date: Fri Jul 10 2020 - 04:55:42 EST


On Thu, Jul 09, 2020 at 04:54:19PM -0700, syzbot wrote:
> Hello,
>
> syzbot found the following crash on:

9p fails to validate the fds passed in, triggering the new WARN_ON_ONCE
added in __kernel_write. Mostly harmless as only the warning is new,
but I'll send a patch to better validate the fds at mount time.