Hay
Date
May 15, 2025, 10:38 a.m.

Environment
qemu-arm64

[   20.712723] ==================================================================
[   20.712762] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   20.712804] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   20.712854] 
[   20.712881] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   20.712968] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.712998] Hardware name: linux,dummy-virt (DT)
[   20.713031] Call trace:
[   20.713055]  show_stack+0x20/0x38 (C)
[   20.713103]  dump_stack_lvl+0x8c/0xd0
[   20.713152]  print_report+0x310/0x608
[   20.713240]  kasan_report+0xdc/0x128
[   20.713288]  __asan_report_load1_noabort+0x20/0x30
[   20.713340]  vmalloc_oob+0x51c/0x5d0
[   20.713386]  kunit_try_run_case+0x170/0x3f0
[   20.713434]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.713488]  kthread+0x328/0x630
[   20.713533]  ret_from_fork+0x10/0x20
[   20.713581] 
[   20.713608] The buggy address belongs to the virtual mapping at
[   20.713608]  [ffff8000800fe000, ffff800080100000) created by:
[   20.713608]  vmalloc_oob+0x98/0x5d0
[   20.713678] 
[   20.713701] The buggy address belongs to the physical page:
[   20.713731] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107676
[   20.713814] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.713906] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   20.713957] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.713999] page dumped because: kasan: bad access detected
[   20.714062] 
[   20.714082] Memory state around the buggy address:
[   20.714117]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.714172]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.714217] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   20.714279]                                                                 ^
[   20.714321]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.714382]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.714571] ==================================================================
[   20.710736] ==================================================================
[   20.710811] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   20.711091] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   20.711145] 
[   20.711192] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   20.711282] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.711310] Hardware name: linux,dummy-virt (DT)
[   20.711343] Call trace:
[   20.711367]  show_stack+0x20/0x38 (C)
[   20.711421]  dump_stack_lvl+0x8c/0xd0
[   20.711470]  print_report+0x310/0x608
[   20.711520]  kasan_report+0xdc/0x128
[   20.711566]  __asan_report_load1_noabort+0x20/0x30
[   20.711618]  vmalloc_oob+0x578/0x5d0
[   20.711664]  kunit_try_run_case+0x170/0x3f0
[   20.711713]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.711768]  kthread+0x328/0x630
[   20.711815]  ret_from_fork+0x10/0x20
[   20.711868] 
[   20.711899] The buggy address belongs to the virtual mapping at
[   20.711899]  [ffff8000800fe000, ffff800080100000) created by:
[   20.711899]  vmalloc_oob+0x98/0x5d0
[   20.711975] 
[   20.711999] The buggy address belongs to the physical page:
[   20.712034] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107676
[   20.712087] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.712154] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   20.712217] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.712260] page dumped because: kasan: bad access detected
[   20.712295] 
[   20.712315] Memory state around the buggy address:
[   20.712349]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.712395]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.712439] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   20.712480]                                                              ^
[   20.712519]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.712563]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.712604] ==================================================================