Hay
Date
July 11, 2025, 11:09 p.m.

Environment
qemu-arm64

[   19.637302] ==================================================================
[   19.637377] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   19.637439] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/270
[   19.637689] 
[   19.637752] CPU: 1 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   19.638154] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.638237] Hardware name: linux,dummy-virt (DT)
[   19.638274] Call trace:
[   19.638298]  show_stack+0x20/0x38 (C)
[   19.638390]  dump_stack_lvl+0x8c/0xd0
[   19.638448]  print_report+0x310/0x608
[   19.638497]  kasan_report+0xdc/0x128
[   19.638554]  __asan_report_load1_noabort+0x20/0x30
[   19.638675]  vmalloc_oob+0x578/0x5d0
[   19.638759]  kunit_try_run_case+0x170/0x3f0
[   19.639081]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.639310]  kthread+0x328/0x630
[   19.639366]  ret_from_fork+0x10/0x20
[   19.639438] 
[   19.639468] The buggy address belongs to the virtual mapping at
[   19.639468]  [ffff8000800fe000, ffff800080100000) created by:
[   19.639468]  vmalloc_oob+0x98/0x5d0
[   19.639568] 
[   19.639625] The buggy address belongs to the physical page:
[   19.639660] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106f38
[   19.639879] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.640056] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.640112] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.640206] page dumped because: kasan: bad access detected
[   19.640240] 
[   19.640262] Memory state around the buggy address:
[   19.640326]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.640574]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.640626] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.640688]                                                              ^
[   19.640760]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.641037]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.641085] ==================================================================
[   19.641557] ==================================================================
[   19.641610] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   19.641783] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/270
[   19.642031] 
[   19.642117] CPU: 1 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   19.642352] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.642484] Hardware name: linux,dummy-virt (DT)
[   19.642531] Call trace:
[   19.642554]  show_stack+0x20/0x38 (C)
[   19.642627]  dump_stack_lvl+0x8c/0xd0
[   19.642674]  print_report+0x310/0x608
[   19.642954]  kasan_report+0xdc/0x128
[   19.643055]  __asan_report_load1_noabort+0x20/0x30
[   19.643110]  vmalloc_oob+0x51c/0x5d0
[   19.643230]  kunit_try_run_case+0x170/0x3f0
[   19.643280]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.643368]  kthread+0x328/0x630
[   19.643414]  ret_from_fork+0x10/0x20
[   19.643462] 
[   19.643489] The buggy address belongs to the virtual mapping at
[   19.643489]  [ffff8000800fe000, ffff800080100000) created by:
[   19.643489]  vmalloc_oob+0x98/0x5d0
[   19.643920] 
[   19.643970] The buggy address belongs to the physical page:
[   19.644115] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106f38
[   19.644231] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.644439] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.644549] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.644591] page dumped because: kasan: bad access detected
[   19.644645] 
[   19.644686] Memory state around the buggy address:
[   19.644759]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.644890]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.644936] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.644995]                                                                 ^
[   19.645188]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.645289]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.645388] ==================================================================