Hay
Date
July 3, 2025, 6:13 p.m.

Environment
qemu-arm64

[   19.874773] ==================================================================
[   19.874827] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   19.875292] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   19.875490] 
[   19.875552] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   19.875717] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.875763] Hardware name: linux,dummy-virt (DT)
[   19.875795] Call trace:
[   19.875818]  show_stack+0x20/0x38 (C)
[   19.876094]  dump_stack_lvl+0x8c/0xd0
[   19.876495]  print_report+0x310/0x608
[   19.876588]  kasan_report+0xdc/0x128
[   19.876710]  __asan_report_load1_noabort+0x20/0x30
[   19.876835]  vmalloc_oob+0x51c/0x5d0
[   19.876966]  kunit_try_run_case+0x170/0x3f0
[   19.877098]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.877281]  kthread+0x328/0x630
[   19.877490]  ret_from_fork+0x10/0x20
[   19.877663] 
[   19.877779] The buggy address belongs to the virtual mapping at
[   19.877779]  [ffff8000800fe000, ffff800080100000) created by:
[   19.877779]  vmalloc_oob+0x98/0x5d0
[   19.877856] 
[   19.877879] The buggy address belongs to the physical page:
[   19.878188] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107819
[   19.878338] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.878441] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.878853] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.878968] page dumped because: kasan: bad access detected
[   19.879015] 
[   19.879051] Memory state around the buggy address:
[   19.879087]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.879455]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.879727] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.879806]                                                                 ^
[   19.880095]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.880253]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.880355] ==================================================================
[   19.867726] ==================================================================
[   19.868082] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   19.868448] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   19.868569] 
[   19.868816] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   19.869224] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.869362] Hardware name: linux,dummy-virt (DT)
[   19.869881] Call trace:
[   19.869917]  show_stack+0x20/0x38 (C)
[   19.870342]  dump_stack_lvl+0x8c/0xd0
[   19.870470]  print_report+0x310/0x608
[   19.870913]  kasan_report+0xdc/0x128
[   19.871021]  __asan_report_load1_noabort+0x20/0x30
[   19.871196]  vmalloc_oob+0x578/0x5d0
[   19.871444]  kunit_try_run_case+0x170/0x3f0
[   19.871593]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.871658]  kthread+0x328/0x630
[   19.871704]  ret_from_fork+0x10/0x20
[   19.871898] 
[   19.871953] The buggy address belongs to the virtual mapping at
[   19.871953]  [ffff8000800fe000, ffff800080100000) created by:
[   19.871953]  vmalloc_oob+0x98/0x5d0
[   19.872053] 
[   19.872086] The buggy address belongs to the physical page:
[   19.872120] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107819
[   19.872175] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.872249] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.872312] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.872354] page dumped because: kasan: bad access detected
[   19.872399] 
[   19.872419] Memory state around the buggy address:
[   19.872465]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.872517]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.872561] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.873084]                                                              ^
[   19.873161]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.873209]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.873405] ==================================================================