[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200911235511.GB3421308@ZenIV.linux.org.uk>
Date: Sat, 12 Sep 2020 00:55:11 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: Qian Cai <cai@....pw>
Cc: torvalds@...ux-foundation.org, vgoyal@...hat.com,
miklos@...redi.hu, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: slab-out-of-bounds in iov_iter_revert()
On Fri, Sep 11, 2020 at 05:59:04PM -0400, Qian Cai wrote:
> Super easy to reproduce on today's mainline by just fuzzing for a few minutes
> on virtiofs (if it ever matters). Any thoughts?
Usually happens when ->direct_IO() fucks up and reports the wrong amount
of data written/read. We had several bugs like that in the past - see
e.g. 85128b2be673 (fix nfs O_DIRECT advancing iov_iter too much).
Had there been any recent O_DIRECT-related patches on the filesystems
involved?
Powered by blists - more mailing lists