Re: [amir73il:ovl-lazy-lowerdata] [ovl] 1edcaf2012: BUG:KASAN:slab-out-of-bounds_in_ovl_get_lowerstack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amir,

On Sun, May 14, 2023 at 10:17:05PM +0300, Amir Goldstein wrote:
> On Sun, May 14, 2023 at 6:30 PM kernel test robot <oliver.sang@xxxxxxxxx> wrote:
> >
> >
> > Hello,
> >
> > kernel test robot noticed "BUG:KASAN:slab-out-of-bounds_in_ovl_get_lowerstack" on:
> >
> > commit: 1edcaf2012c0645e99125ebae675aa4d73e79880 ("ovl: introduce data-only lower layers")
> > https://github.com/amir73il/linux ovl-lazy-lowerdata
> >
> > in testcase: xfstests
> > version: xfstests-x86_64-06c027a-1_20230501
> > with following parameters:
> >
> >         disk: 4HDD
> >         fs: f2fs
> >         test: generic-group-63
> >
> >
> >
> > compiler: gcc-11
> > test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (Skylake) with 16G memory
> >
> > (please refer to attached dmesg/kmsg for entire log/backtrace)
> >
> >
> >
> > If you fix the issue, kindly add following tag
> > | Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
> > | Link: https://lore.kernel.org/oe-lkp/202305142217.46508384-oliver.sang@xxxxxxxxx
> >
> >
> > [   65.266308][ T2205] ==================================================================
> > [   65.274214][ T2205] BUG: KASAN: slab-out-of-bounds in ovl_get_lowerstack+0x68e/0x890 [overlay]
> > [   65.282812][ T2205] Read of size 1 at addr ffff8881109471ab by task mount/2205
> > ...
> > [   65.741460][ T2205]  ffff888110947200: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
> > [   65.749334][ T2205]  ffff888110947280: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
> > [   65.757202][ T2205] ==================================================================
> > [   65.765127][ T2205] Disabling lock debugging due to kernel taint
> >
> >
> 
> Thanks for the report.
> 
> I pushed a fix to branch ovl-lazy-lowerdata.
> I did not add Reported-by because it does not make sense when the
> bug in not upstream.
> If you test the new branch I can add Tested-by.
> 

I tested upon the tip of branch ovl-lazy-lowerdata
c4baed2e64e76 (amir73il/ovl-lazy-lowerdata) ovl: implement lazy lookup of lowerdata in data-only layers

and confirmed the issue gone. Thanks a lot!

Tested-by: kernel test robot <oliver.sang@xxxxxxxxx>

> Thanks,
> Amir.
> 



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux