Re: 4.4rc3 nfsd/btrfs kasan warning.

From: Dave Jones
Date: Wed Dec 02 2015 - 12:36:40 EST


On Wed, Dec 02, 2015 at 12:14:56PM -0500, Chris Mason wrote:
> On Wed, Dec 02, 2015 at 11:09:43AM -0500, Dave Jones wrote:
> > On Wed, Dec 02, 2015 at 10:11:28AM -0500, Josef Bacik wrote:
> > > On 12/02/2015 09:59 AM, Dave Jones wrote:
> > > > Got a few of these in the logs this morning after an overnight rsync over nfs
> > > > to an exported btrfs volume.
> > >
> > > That's probably us and not NFS, what line is that in
> > > setup_cluster_bitmap? Thanks,
> >
> > If my math is correct, it's this..
> >
> > if (entry->offset != bitmap_offset)
> >
> > I don't seem to be able to trigger it on demand unfortunatly.
>
> Is it possible we're blowing the stack? It seems pretty tricky to get a
> stack out of bounds out of this code without flat out blowing through
> it.

Hm, there is a lot of debug crap on the stack from lockdep etc, though I didn't
get any warnings from the other stack overflow checks.

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/