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

Environment
qemu-arm64

[   21.172647] ==================================================================
[   21.172817] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   21.172869] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   21.172919] 
[   21.172951] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.173379] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.173410] Hardware name: linux,dummy-virt (DT)
[   21.173443] Call trace:
[   21.173467]  show_stack+0x20/0x38 (C)
[   21.173517]  dump_stack_lvl+0x8c/0xd0
[   21.173565]  print_report+0x310/0x608
[   21.173614]  kasan_report+0xdc/0x128
[   21.173660]  __asan_report_load1_noabort+0x20/0x30
[   21.173713]  vmalloc_oob+0x51c/0x5d0
[   21.173758]  kunit_try_run_case+0x170/0x3f0
[   21.173806]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.173859]  kthread+0x328/0x630
[   21.173903]  ret_from_fork+0x10/0x20
[   21.173950] 
[   21.173976] The buggy address belongs to the virtual mapping at
[   21.173976]  [ffff8000800fe000, ffff800080100000) created by:
[   21.173976]  vmalloc_oob+0x98/0x5d0
[   21.174050] 
[   21.174072] The buggy address belongs to the physical page:
[   21.174105] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078c5
[   21.174168] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.174331] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.174396] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.174438] page dumped because: kasan: bad access detected
[   21.174472] 
[   21.174491] Memory state around the buggy address:
[   21.174525]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.174569]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.174615] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.174653]                                                                 ^
[   21.174696]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.174740]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.174780] ==================================================================
[   21.166582] ==================================================================
[   21.166654] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   21.166729] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   21.166845] 
[   21.166887] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   21.167169] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.167313] Hardware name: linux,dummy-virt (DT)
[   21.167350] Call trace:
[   21.167375]  show_stack+0x20/0x38 (C)
[   21.167429]  dump_stack_lvl+0x8c/0xd0
[   21.167817]  print_report+0x310/0x608
[   21.168211]  kasan_report+0xdc/0x128
[   21.168286]  __asan_report_load1_noabort+0x20/0x30
[   21.168564]  vmalloc_oob+0x578/0x5d0
[   21.168618]  kunit_try_run_case+0x170/0x3f0
[   21.168769]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.168824]  kthread+0x328/0x630
[   21.168903]  ret_from_fork+0x10/0x20
[   21.168952] 
[   21.168982] The buggy address belongs to the virtual mapping at
[   21.168982]  [ffff8000800fe000, ffff800080100000) created by:
[   21.168982]  vmalloc_oob+0x98/0x5d0
[   21.169056] 
[   21.169079] The buggy address belongs to the physical page:
[   21.169161] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078c5
[   21.169217] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.169382] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.169434] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.169476] page dumped because: kasan: bad access detected
[   21.169510] 
[   21.169532] Memory state around the buggy address:
[   21.170526]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.170839]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.170887] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.170934]                                                              ^
[   21.170983]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.171178]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.171456] ==================================================================