Hay
Date
July 10, 2025, 6:10 p.m.

Environment
qemu-arm64

[   19.874678] ==================================================================
[   19.874733] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   19.874784] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   19.874848] 
[   19.874905] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   19.875137] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.875439] Hardware name: linux,dummy-virt (DT)
[   19.875479] Call trace:
[   19.875505]  show_stack+0x20/0x38 (C)
[   19.875822]  dump_stack_lvl+0x8c/0xd0
[   19.875954]  print_report+0x310/0x608
[   19.876016]  kasan_report+0xdc/0x128
[   19.876170]  __asan_report_load1_noabort+0x20/0x30
[   19.876225]  vmalloc_oob+0x51c/0x5d0
[   19.876276]  kunit_try_run_case+0x170/0x3f0
[   19.876387]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.876521]  ret_from_fork+0x10/0x20
[   19.878145] 
[   19.878590] The buggy address belongs to the virtual mapping at
[   19.878590]  [ffff8000800fe000, ffff800080100000) created by:
[   19.878590]  vmalloc_oob+0x98/0x5d0
[   19.878888] 
[   19.879004] The buggy address belongs to the physical page:
[   19.879134] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106bf1
[   19.879485] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.879839] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.879910] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.880176] page dumped because: kasan: bad access detected
[   19.880263] 
[   19.880393] Memory state around the buggy address:
[   19.880427]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.880482]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.880526] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.880565]                                                                 ^
[   19.881174]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.881279]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.881412] ==================================================================
[   19.867427] ==================================================================
[   19.867655] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   19.868045] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   19.868102] 
[   19.868260] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   19.868615] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.868646] Hardware name: linux,dummy-virt (DT)
[   19.868678] Call trace:
[   19.868707]  show_stack+0x20/0x38 (C)
[   19.869121]  dump_stack_lvl+0x8c/0xd0
[   19.869459]  print_report+0x310/0x608
[   19.869796]  kasan_report+0xdc/0x128
[   19.869851]  __asan_report_load1_noabort+0x20/0x30
[   19.869952]  vmalloc_oob+0x578/0x5d0
[   19.870000]  kunit_try_run_case+0x170/0x3f0
[   19.870384]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.870480]  kthread+0x328/0x630
[   19.870528]  ret_from_fork+0x10/0x20
[   19.870686] 
[   19.870723] The buggy address belongs to the virtual mapping at
[   19.870723]  [ffff8000800fe000, ffff800080100000) created by:
[   19.870723]  vmalloc_oob+0x98/0x5d0
[   19.870964] 
[   19.870990] The buggy address belongs to the physical page:
[   19.871053] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106bf1
[   19.871379] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   19.871458] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   19.871837] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   19.871902] page dumped because: kasan: bad access detected
[   19.871989] 
[   19.872039] Memory state around the buggy address:
[   19.872120]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.872217]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   19.872263] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   19.872361]                                                              ^
[   19.872563]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.872667]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   19.872777] ==================================================================