Hay
Date
July 5, 2025, 5:09 p.m.

Environment
qemu-arm64

[   21.176238] ==================================================================
[   21.176402] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   21.176607] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   21.176986] 
[   21.177201] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.177306] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.177334] Hardware name: linux,dummy-virt (DT)
[   21.177760] Call trace:
[   21.177816]  show_stack+0x20/0x38 (C)
[   21.178026]  dump_stack_lvl+0x8c/0xd0
[   21.178305]  print_report+0x310/0x608
[   21.178431]  kasan_report+0xdc/0x128
[   21.178504]  __asan_report_load1_noabort+0x20/0x30
[   21.178559]  vmalloc_oob+0x51c/0x5d0
[   21.178623]  kunit_try_run_case+0x170/0x3f0
[   21.178916]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.179089]  kthread+0x328/0x630
[   21.179274]  ret_from_fork+0x10/0x20
[   21.179442] 
[   21.179472] The buggy address belongs to the virtual mapping at
[   21.179472]  [ffff8000800fe000, ffff800080100000) created by:
[   21.179472]  vmalloc_oob+0x98/0x5d0
[   21.179582] 
[   21.179734] The buggy address belongs to the physical page:
[   21.179811] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078c3
[   21.179985] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.180517] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.180972] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.181084] page dumped because: kasan: bad access detected
[   21.181176] 
[   21.181313] Memory state around the buggy address:
[   21.181401]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.181465]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.181659] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.181728]                                                                 ^
[   21.182094]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.182333]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.182534] ==================================================================
[   21.171505] ==================================================================
[   21.171967] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   21.172077] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   21.172144] 
[   21.172190] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.172285] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.172323] Hardware name: linux,dummy-virt (DT)
[   21.172358] Call trace:
[   21.172398]  show_stack+0x20/0x38 (C)
[   21.172450]  dump_stack_lvl+0x8c/0xd0
[   21.172500]  print_report+0x310/0x608
[   21.172557]  kasan_report+0xdc/0x128
[   21.172606]  __asan_report_load1_noabort+0x20/0x30
[   21.172660]  vmalloc_oob+0x578/0x5d0
[   21.172705]  kunit_try_run_case+0x170/0x3f0
[   21.172756]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.172819]  kthread+0x328/0x630
[   21.172881]  ret_from_fork+0x10/0x20
[   21.172970] 
[   21.173026] The buggy address belongs to the virtual mapping at
[   21.173026]  [ffff8000800fe000, ffff800080100000) created by:
[   21.173026]  vmalloc_oob+0x98/0x5d0
[   21.173112] 
[   21.173138] The buggy address belongs to the physical page:
[   21.173188] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078c3
[   21.173259] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.173324] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.173384] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.173445] page dumped because: kasan: bad access detected
[   21.173491] 
[   21.173511] Memory state around the buggy address:
[   21.173554]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.173608]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.173658] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.173700]                                                              ^
[   21.173750]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.173795]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.173837] ==================================================================