Hay
Date
July 9, 2025, 2:07 p.m.

Environment
qemu-arm64

[   19.819445] ==================================================================
[   19.819497] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   19.819551] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   19.820217] 
[   19.820270] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   19.820373] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   19.820702] Hardware name: linux,dummy-virt (DT)
[   19.820765] Call trace:
[   19.820798]  show_stack+0x20/0x38 (C)
[   19.820859]  dump_stack_lvl+0x8c/0xd0
[   19.820914]  print_report+0x310/0x608
[   19.821417]  kasan_report+0xdc/0x128
[   19.821870]  __asan_report_load1_noabort+0x20/0x30
[   19.821958]  vmalloc_oob+0x51c/0x5d0
[   19.822118]  kunit_try_run_case+0x170/0x3f0
[   19.822224]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.822285]  kthread+0x328/0x630
[   19.822354]  ret_from_fork+0x10/0x20
[   19.822682] 
[   19.822737] The buggy address belongs to the virtual mapping at
[   19.822737]  [ffff8000800fe000, ffff800080100000) created by:
[   19.822737]  vmalloc_oob+0x98/0x5d0
[   19.823191] 
[   19.823255] The buggy address belongs to the physical page:
[   19.823341] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107759
[   19.823520] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.823636] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.823752] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.823827] page dumped because: kasan: bad access detected
[   19.823869] 
[   19.824172] Memory state around the buggy address:
[   19.824238]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.824388]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.824464] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.824533]                                                                 ^
[   19.824591]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.824643]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.824687] ==================================================================
[   19.811355] ==================================================================
[   19.811517] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   19.811889] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   19.812315] 
[   19.812435] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   19.812535] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   19.812606] Hardware name: linux,dummy-virt (DT)
[   19.812683] Call trace:
[   19.813015]  show_stack+0x20/0x38 (C)
[   19.813205]  dump_stack_lvl+0x8c/0xd0
[   19.813308]  print_report+0x310/0x608
[   19.813446]  kasan_report+0xdc/0x128
[   19.813630]  __asan_report_load1_noabort+0x20/0x30
[   19.813961]  vmalloc_oob+0x578/0x5d0
[   19.814161]  kunit_try_run_case+0x170/0x3f0
[   19.814314]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.814528]  kthread+0x328/0x630
[   19.814611]  ret_from_fork+0x10/0x20
[   19.815113] 
[   19.815199] The buggy address belongs to the virtual mapping at
[   19.815199]  [ffff8000800fe000, ffff800080100000) created by:
[   19.815199]  vmalloc_oob+0x98/0x5d0
[   19.815356] 
[   19.815428] The buggy address belongs to the physical page:
[   19.815778] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107759
[   19.815922] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.816246] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.816319] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.816385] page dumped because: kasan: bad access detected
[   19.816590] 
[   19.816785] Memory state around the buggy address:
[   19.816904]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.817051]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.817222] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.817314]                                                              ^
[   19.817730]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.817835]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.817921] ==================================================================