lkml.org 
[lkml]   [2019]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: KASAN: slab-out-of-bounds Write in pipe_write
Date
Eric Biggers <ebiggers@kernel.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

\
 
 \ /
  Last update: 2019-12-05 17:34    [W:0.055 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site