On Mon, Oct 12, 2015 at 3:33 PM, Roman Gushchin <[email protected]> wrote:
> I got a report about unkillable task eating CPU. Further
> investigation shows, that the problem is in the fuse_fill_write_pages()
> function. If iov's first segment has zero length, we get an infinite
> loop, because we never reach iov_iter_advance() call.
>
> Fix this by calling iov_iter_advance() before repeating an attempt to
> copy data from userspace.
Thanks, queued in
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next
Miklos