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

Environment
qemu-arm64

[   20.986132] ==================================================================
[   20.986457] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   20.986523] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   20.987494] 
[   20.987861] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   20.988147] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.988248] Hardware name: linux,dummy-virt (DT)
[   20.988366] Call trace:
[   20.988394]  show_stack+0x20/0x38 (C)
[   20.988471]  dump_stack_lvl+0x8c/0xd0
[   20.988788]  print_report+0x310/0x608
[   20.989051]  kasan_report+0xdc/0x128
[   20.989227]  __asan_report_load1_noabort+0x20/0x30
[   20.989369]  vmalloc_oob+0x51c/0x5d0
[   20.989509]  kunit_try_run_case+0x170/0x3f0
[   20.989773]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.990098]  kthread+0x328/0x630
[   20.990307]  ret_from_fork+0x10/0x20
[   20.990455] 
[   20.990533] The buggy address belongs to the virtual mapping at
[   20.990533]  [ffff8000800fe000, ffff800080100000) created by:
[   20.990533]  vmalloc_oob+0x98/0x5d0
[   20.990681] 
[   20.990759] The buggy address belongs to the physical page:
[   20.990909] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106f25
[   20.991039] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.991387] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   20.991474] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.991701] page dumped because: kasan: bad access detected
[   20.991926] 
[   20.991972] Memory state around the buggy address:
[   20.992078]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.992213]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.992258] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   20.992299]                                                                 ^
[   20.992342]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.992731]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.993037] ==================================================================
[   20.980608] ==================================================================
[   20.980815] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   20.980891] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   20.980944] 
[   20.981162] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   20.981388] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.981423] Hardware name: linux,dummy-virt (DT)
[   20.981459] Call trace:
[   20.981485]  show_stack+0x20/0x38 (C)
[   20.981773]  dump_stack_lvl+0x8c/0xd0
[   20.981861]  print_report+0x310/0x608
[   20.981909]  kasan_report+0xdc/0x128
[   20.982169]  __asan_report_load1_noabort+0x20/0x30
[   20.982370]  vmalloc_oob+0x578/0x5d0
[   20.982422]  kunit_try_run_case+0x170/0x3f0
[   20.982527]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.982644]  kthread+0x328/0x630
[   20.982739]  ret_from_fork+0x10/0x20
[   20.983045] 
[   20.983168] The buggy address belongs to the virtual mapping at
[   20.983168]  [ffff8000800fe000, ffff800080100000) created by:
[   20.983168]  vmalloc_oob+0x98/0x5d0
[   20.983278] 
[   20.983373] The buggy address belongs to the physical page:
[   20.983438] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106f25
[   20.983659] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.983738] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   20.983789] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.983846] page dumped because: kasan: bad access detected
[   20.984020] 
[   20.984100] Memory state around the buggy address:
[   20.984312]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.984434]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.984521] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   20.984962]                                                              ^
[   20.985038]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.985140]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.985258] ==================================================================