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

Environment
qemu-arm64

[   19.548029] ==================================================================
[   19.548105] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   19.549129] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   19.549370] 
[   19.549421] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   19.549640] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.549670] Hardware name: linux,dummy-virt (DT)
[   19.549707] Call trace:
[   19.549733]  show_stack+0x20/0x38 (C)
[   19.550175]  dump_stack_lvl+0x8c/0xd0
[   19.550664]  print_report+0x310/0x608
[   19.550837]  kasan_report+0xdc/0x128
[   19.550884]  __asan_report_load1_noabort+0x20/0x30
[   19.550937]  vmalloc_oob+0x578/0x5d0
[   19.551035]  kunit_try_run_case+0x170/0x3f0
[   19.551701]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.551778]  kthread+0x328/0x630
[   19.551824]  ret_from_fork+0x10/0x20
[   19.551883] 
[   19.551917] The buggy address belongs to the virtual mapping at
[   19.551917]  [ffff8000800fe000, ffff800080100000) created by:
[   19.551917]  vmalloc_oob+0x98/0x5d0
[   19.552072] 
[   19.552097] The buggy address belongs to the physical page:
[   19.552166] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10769e
[   19.552350] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.552621] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.552794] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.552936] page dumped because: kasan: bad access detected
[   19.552972] 
[   19.553447] Memory state around the buggy address:
[   19.553630]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.553765]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.553962] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.554329]                                                              ^
[   19.554378]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.554597]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.554855] ==================================================================
[   19.556164] ==================================================================
[   19.556463] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   19.556631] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   19.556682] 
[   19.556721] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   19.557344] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.557377] Hardware name: linux,dummy-virt (DT)
[   19.557412] Call trace:
[   19.557437]  show_stack+0x20/0x38 (C)
[   19.557488]  dump_stack_lvl+0x8c/0xd0
[   19.557553]  print_report+0x310/0x608
[   19.557778]  kasan_report+0xdc/0x128
[   19.558007]  __asan_report_load1_noabort+0x20/0x30
[   19.558154]  vmalloc_oob+0x51c/0x5d0
[   19.558198]  kunit_try_run_case+0x170/0x3f0
[   19.558304]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.558775]  kthread+0x328/0x630
[   19.558899]  ret_from_fork+0x10/0x20
[   19.558951] 
[   19.558980] The buggy address belongs to the virtual mapping at
[   19.558980]  [ffff8000800fe000, ffff800080100000) created by:
[   19.558980]  vmalloc_oob+0x98/0x5d0
[   19.559055] 
[   19.559078] The buggy address belongs to the physical page:
[   19.559122] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10769e
[   19.559879] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.560134] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.560244] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.560287] page dumped because: kasan: bad access detected
[   19.560330] 
[   19.560350] Memory state around the buggy address:
[   19.560384]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.560429]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.560605] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.560651]                                                                 ^
[   19.560695]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.560974]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.561019] ==================================================================