[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <29474.1575563636@warthog.procyon.org.uk>
Date: Thu, 05 Dec 2019 16:33:56 +0000
From: David Howells <dhowells@...hat.com>
To: Eric Biggers <ebiggers@...nel.org>
Cc: dhowells@...hat.com, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com,
viro@...iv.linux.org.uk,
syzbot <syzbot+838eb0878ffd51f27c41@...kaller.appspotmail.com>
Subject: Re: KASAN: slab-out-of-bounds Write in pipe_write
Eric Biggers <ebiggers@...nel.org> wrote:
> It looks like the 'mask' variable in pipe_write() is not being updated after
> the pipe mutex was dropped in pipe_wait(), to take into account the pipe
> size possibly having been changed in the mean time.
There's that, but not only that. Weirdness ensues if the ring size is 1 -
this may have to do with the mask then being 0.
David
Powered by blists - more mailing lists