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

Environment
qemu-arm64

[   21.268566] ==================================================================
[   21.268692] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   21.268766] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   21.268820] 
[   21.268863] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.268952] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.268984] Hardware name: linux,dummy-virt (DT)
[   21.269022] Call trace:
[   21.269054]  show_stack+0x20/0x38 (C)
[   21.269126]  dump_stack_lvl+0x8c/0xd0
[   21.269181]  print_report+0x310/0x608
[   21.269230]  kasan_report+0xdc/0x128
[   21.269278]  __asan_report_load1_noabort+0x20/0x30
[   21.269343]  vmalloc_oob+0x578/0x5d0
[   21.269391]  kunit_try_run_case+0x170/0x3f0
[   21.269442]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.269498]  kthread+0x328/0x630
[   21.269542]  ret_from_fork+0x10/0x20
[   21.270459] 
[   21.270702] The buggy address belongs to the virtual mapping at
[   21.270702]  [ffff8000800fe000, ffff800080100000) created by:
[   21.270702]  vmalloc_oob+0x98/0x5d0
[   21.271033] 
[   21.271066] The buggy address belongs to the physical page:
[   21.271141] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1058b9
[   21.271495] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.271869] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.271992] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.272106] page dumped because: kasan: bad access detected
[   21.272146] 
[   21.272185] Memory state around the buggy address:
[   21.272475]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.272612]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.272853] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.273054]                                                              ^
[   21.273242]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.273488]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.273603] ==================================================================
[   21.275805] ==================================================================
[   21.275887] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   21.275948] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   21.276001] 
[   21.276038] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.276126] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.276153] Hardware name: linux,dummy-virt (DT)
[   21.276519] Call trace:
[   21.276561]  show_stack+0x20/0x38 (C)
[   21.276939]  dump_stack_lvl+0x8c/0xd0
[   21.277098]  print_report+0x310/0x608
[   21.277206]  kasan_report+0xdc/0x128
[   21.277429]  __asan_report_load1_noabort+0x20/0x30
[   21.277708]  vmalloc_oob+0x51c/0x5d0
[   21.277781]  kunit_try_run_case+0x170/0x3f0
[   21.277961]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.278056]  kthread+0x328/0x630
[   21.278243]  ret_from_fork+0x10/0x20
[   21.278298] 
[   21.278454] The buggy address belongs to the virtual mapping at
[   21.278454]  [ffff8000800fe000, ffff800080100000) created by:
[   21.278454]  vmalloc_oob+0x98/0x5d0
[   21.278699] 
[   21.278760] The buggy address belongs to the physical page:
[   21.278980] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1058b9
[   21.279247] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.279329] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.279446] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.279535] page dumped because: kasan: bad access detected
[   21.279586] 
[   21.279608] Memory state around the buggy address:
[   21.279804]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.279965]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.280342] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.280474]                                                                 ^
[   21.280560]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.280717]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.280909] ==================================================================