Hay
Date
June 19, 2025, 12:07 p.m.

Environment
qemu-arm64

[   34.453053] ==================================================================
[   34.453234] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   34.453444] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/280
[   34.453561] 
[   34.453679] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   34.453896] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.453984] Hardware name: linux,dummy-virt (DT)
[   34.454106] Call trace:
[   34.454175]  show_stack+0x20/0x38 (C)
[   34.454410]  dump_stack_lvl+0x8c/0xd0
[   34.454577]  print_report+0x310/0x608
[   34.454729]  kasan_report+0xdc/0x128
[   34.454862]  __asan_report_load1_noabort+0x20/0x30
[   34.455017]  vmalloc_oob+0x51c/0x5d0
[   34.455116]  kunit_try_run_case+0x170/0x3f0
[   34.455217]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.455378]  kthread+0x328/0x630
[   34.455505]  ret_from_fork+0x10/0x20
[   34.455624] 
[   34.455692] The buggy address belongs to the virtual mapping at
[   34.455692]  [ffff8000800fe000, ffff800080100000) created by:
[   34.455692]  vmalloc_oob+0x98/0x5d0
[   34.455837] 
[   34.455890] The buggy address belongs to the physical page:
[   34.455963] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1076a0
[   34.456100] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   34.456301] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   34.456473] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   34.456590] page dumped because: kasan: bad access detected
[   34.456674] 
[   34.456733] Memory state around the buggy address:
[   34.456818]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   34.456942]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   34.457058] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   34.457174]                                                                 ^
[   34.457279]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   34.457438]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   34.457542] ==================================================================
[   34.440605] ==================================================================
[   34.440824] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   34.442388] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/280
[   34.442503] 
[   34.442587] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   34.443980] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.444386] Hardware name: linux,dummy-virt (DT)
[   34.444567] Call trace:
[   34.444746]  show_stack+0x20/0x38 (C)
[   34.445095]  dump_stack_lvl+0x8c/0xd0
[   34.445242]  print_report+0x310/0x608
[   34.445377]  kasan_report+0xdc/0x128
[   34.446397]  __asan_report_load1_noabort+0x20/0x30
[   34.446514]  vmalloc_oob+0x578/0x5d0
[   34.446828]  kunit_try_run_case+0x170/0x3f0
[   34.447557]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.448206]  kthread+0x328/0x630
[   34.448814]  ret_from_fork+0x10/0x20
[   34.449416] 
[   34.449560] The buggy address belongs to the virtual mapping at
[   34.449560]  [ffff8000800fe000, ffff800080100000) created by:
[   34.449560]  vmalloc_oob+0x98/0x5d0
[   34.449851] 
[   34.449961] The buggy address belongs to the physical page:
[   34.450085] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1076a0
[   34.450266] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   34.450441] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   34.450571] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   34.450663] page dumped because: kasan: bad access detected
[   34.450732] 
[   34.450799] Memory state around the buggy address:
[   34.450888]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   34.451006]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   34.451124] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   34.451252]                                                              ^
[   34.451353]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   34.451474]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   34.451578] ==================================================================