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

Environment
qemu-arm64

[   18.325499] ==================================================================
[   18.325579] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   18.325922] Read of size 1 at addr ffff80008010b7f3 by task kunit_try_catch/272
[   18.326008] 
[   18.326055] CPU: 0 UID: 0 PID: 272 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   18.326141] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.326494] Hardware name: linux,dummy-virt (DT)
[   18.326990] Call trace:
[   18.327045]  show_stack+0x20/0x38 (C)
[   18.327159]  dump_stack_lvl+0x8c/0xd0
[   18.327233]  print_report+0x310/0x608
[   18.327345]  kasan_report+0xdc/0x128
[   18.327412]  __asan_report_load1_noabort+0x20/0x30
[   18.327487]  vmalloc_oob+0x578/0x5d0
[   18.327535]  kunit_try_run_case+0x170/0x3f0
[   18.327588]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.327644]  kthread+0x328/0x630
[   18.327932]  ret_from_fork+0x10/0x20
[   18.328283] 
[   18.328379] The buggy address belongs to the virtual mapping at
[   18.328379]  [ffff80008010b000, ffff80008010d000) created by:
[   18.328379]  vmalloc_oob+0x98/0x5d0
[   18.328538] 
[   18.328943] The buggy address belongs to the physical page:
[   18.329024] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106613
[   18.329135] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.329217] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.329424] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.329678] page dumped because: kasan: bad access detected
[   18.329745] 
[   18.329824] Memory state around the buggy address:
[   18.329863]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.330162]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.330327] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   18.330395]                                                              ^
[   18.330670]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   18.330761]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   18.330915] ==================================================================
[   18.331978] ==================================================================
[   18.332033] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   18.332105] Read of size 1 at addr ffff80008010b7f8 by task kunit_try_catch/272
[   18.332372] 
[   18.332667] CPU: 0 UID: 0 PID: 272 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc1 #1 PREEMPT 
[   18.332764] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.332875] Hardware name: linux,dummy-virt (DT)
[   18.332919] Call trace:
[   18.332944]  show_stack+0x20/0x38 (C)
[   18.333230]  dump_stack_lvl+0x8c/0xd0
[   18.333337]  print_report+0x310/0x608
[   18.333387]  kasan_report+0xdc/0x128
[   18.333434]  __asan_report_load1_noabort+0x20/0x30
[   18.333486]  vmalloc_oob+0x51c/0x5d0
[   18.333533]  kunit_try_run_case+0x170/0x3f0
[   18.333582]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.333730]  kthread+0x328/0x630
[   18.334079]  ret_from_fork+0x10/0x20
[   18.334174] 
[   18.334243] The buggy address belongs to the virtual mapping at
[   18.334243]  [ffff80008010b000, ffff80008010d000) created by:
[   18.334243]  vmalloc_oob+0x98/0x5d0
[   18.334362] 
[   18.334459] The buggy address belongs to the physical page:
[   18.334528] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106613
[   18.334602] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.334700] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.334752] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.334800] page dumped because: kasan: bad access detected
[   18.335084] 
[   18.335172] Memory state around the buggy address:
[   18.335271]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.335588]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.335680] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   18.335753]                                                                 ^
[   18.335838]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   18.335964]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   18.336041] ==================================================================