[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJfpegtzWfJg=JN9s+fn5sawL2U7z8kiYTgrnmDOX7E_MqFBqA@mail.gmail.com>
Date: Tue, 10 Nov 2015 15:41:50 +0100
From: Miklos Szeredi <miklos@...redi.hu>
To: Roman Gushchin <klamm@...dex-team.ru>
Cc: Kernel Mailing List <linux-kernel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>,
fuse-devel <fuse-devel@...ts.sourceforge.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Maxim Patlasov <mpatlasov@...allels.com>,
Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Subject: Re: [PATCH v2] fuse: break infinite loop in fuse_fill_write_pages()
On Mon, Oct 12, 2015 at 3:33 PM, Roman Gushchin <klamm@...dex-team.ru> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists