Hay
Date
July 8, 2025, 11:09 p.m.

Environment
qemu-arm64

[   22.159256] ==================================================================
[   22.159676] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   22.159803] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   22.159946] 
[   22.160023] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.160420] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.160512] Hardware name: linux,dummy-virt (DT)
[   22.160550] Call trace:
[   22.160630]  show_stack+0x20/0x38 (C)
[   22.160835]  dump_stack_lvl+0x8c/0xd0
[   22.161204]  print_report+0x310/0x608
[   22.161339]  kasan_report+0xdc/0x128
[   22.161494]  __asan_report_load1_noabort+0x20/0x30
[   22.161825]  vmalloc_oob+0x578/0x5d0
[   22.161922]  kunit_try_run_case+0x170/0x3f0
[   22.162007]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.162227]  kthread+0x328/0x630
[   22.162443]  ret_from_fork+0x10/0x20
[   22.162505] 
[   22.162571] The buggy address belongs to the virtual mapping at
[   22.162571]  [ffff8000800fe000, ffff800080100000) created by:
[   22.162571]  vmalloc_oob+0x98/0x5d0
[   22.163000] 
[   22.163120] The buggy address belongs to the physical page:
[   22.163340] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106397
[   22.163545] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   22.163647] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   22.163734] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   22.163780] page dumped because: kasan: bad access detected
[   22.163815] 
[   22.163837] Memory state around the buggy address:
[   22.164173]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   22.164354]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   22.164426] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   22.164601]                                                              ^
[   22.164827]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   22.165225]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   22.165586] ==================================================================
[   22.170145] ==================================================================
[   22.170216] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   22.170269] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   22.170501] 
[   22.170584] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.171086] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.171132] Hardware name: linux,dummy-virt (DT)
[   22.171318] Call trace:
[   22.171515]  show_stack+0x20/0x38 (C)
[   22.171618]  dump_stack_lvl+0x8c/0xd0
[   22.171920]  print_report+0x310/0x608
[   22.172257]  kasan_report+0xdc/0x128
[   22.172415]  __asan_report_load1_noabort+0x20/0x30
[   22.172604]  vmalloc_oob+0x51c/0x5d0
[   22.172671]  kunit_try_run_case+0x170/0x3f0
[   22.172931]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.173416]  kthread+0x328/0x630
[   22.173571]  ret_from_fork+0x10/0x20
[   22.173758] 
[   22.173836] The buggy address belongs to the virtual mapping at
[   22.173836]  [ffff8000800fe000, ffff800080100000) created by:
[   22.173836]  vmalloc_oob+0x98/0x5d0
[   22.173936] 
[   22.174283] The buggy address belongs to the physical page:
[   22.174520] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106397
[   22.174967] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   22.175047] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   22.175252] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   22.175304] page dumped because: kasan: bad access detected
[   22.175339] 
[   22.175360] Memory state around the buggy address:
[   22.175399]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   22.175849]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   22.176072] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   22.176258]                                                                 ^
[   22.176353]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   22.176547]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   22.176629] ==================================================================