Hay
Date
July 9, 2025, 12:11 a.m.

Environment
qemu-arm64

[   22.109891] ==================================================================
[   22.109963] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   22.110790] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/270
[   22.110883] 
[   22.110956] CPU: 1 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.111046] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.111131] Hardware name: linux,dummy-virt (DT)
[   22.111188] Call trace:
[   22.111216]  show_stack+0x20/0x38 (C)
[   22.111271]  dump_stack_lvl+0x8c/0xd0
[   22.111462]  print_report+0x310/0x608
[   22.111527]  kasan_report+0xdc/0x128
[   22.111680]  __asan_report_load1_noabort+0x20/0x30
[   22.111950]  vmalloc_oob+0x578/0x5d0
[   22.112176]  kunit_try_run_case+0x170/0x3f0
[   22.112282]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.112462]  kthread+0x328/0x630
[   22.112692]  ret_from_fork+0x10/0x20
[   22.112793] 
[   22.112853] The buggy address belongs to the virtual mapping at
[   22.112853]  [ffff8000800fe000, ffff800080100000) created by:
[   22.112853]  vmalloc_oob+0x98/0x5d0
[   22.112943] 
[   22.112974] The buggy address belongs to the physical page:
[   22.113020] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106eaf
[   22.113391] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   22.113832] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   22.113965] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   22.114152] page dumped because: kasan: bad access detected
[   22.114386] 
[   22.114545] Memory state around the buggy address:
[   22.114642]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   22.114725]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   22.114791] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   22.114917]                                                              ^
[   22.114992]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   22.115100]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   22.115159] ==================================================================
[   22.115967] ==================================================================
[   22.116020] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   22.116527] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/270
[   22.116664] 
[   22.116742] CPU: 1 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.116922] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.117011] Hardware name: linux,dummy-virt (DT)
[   22.117046] Call trace:
[   22.117075]  show_stack+0x20/0x38 (C)
[   22.117434]  dump_stack_lvl+0x8c/0xd0
[   22.117542]  print_report+0x310/0x608
[   22.117616]  kasan_report+0xdc/0x128
[   22.117739]  __asan_report_load1_noabort+0x20/0x30
[   22.117830]  vmalloc_oob+0x51c/0x5d0
[   22.117920]  kunit_try_run_case+0x170/0x3f0
[   22.118026]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.118096]  kthread+0x328/0x630
[   22.118292]  ret_from_fork+0x10/0x20
[   22.118359] 
[   22.118509] The buggy address belongs to the virtual mapping at
[   22.118509]  [ffff8000800fe000, ffff800080100000) created by:
[   22.118509]  vmalloc_oob+0x98/0x5d0
[   22.118600] 
[   22.118701] The buggy address belongs to the physical page:
[   22.118738] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106eaf
[   22.118812] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   22.118879] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   22.118932] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   22.118975] page dumped because: kasan: bad access detected
[   22.119017] 
[   22.119038] Memory state around the buggy address:
[   22.119087]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   22.119133]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   22.119188] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   22.119250]                                                                 ^
[   22.119304]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   22.119350]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   22.119669] ==================================================================