Hay
Date
July 8, 2025, 4:38 p.m.

Environment
qemu-arm64

[   20.609898] ==================================================================
[   20.609965] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   20.610025] Read of size 1 at addr ffff80008010b7f3 by task kunit_try_catch/271
[   20.610077] 
[   20.610115] CPU: 0 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   20.610198] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.610226] Hardware name: linux,dummy-virt (DT)
[   20.610285] Call trace:
[   20.610311]  show_stack+0x20/0x38 (C)
[   20.610379]  dump_stack_lvl+0x8c/0xd0
[   20.610431]  print_report+0x310/0x608
[   20.610477]  kasan_report+0xdc/0x128
[   20.610523]  __asan_report_load1_noabort+0x20/0x30
[   20.610573]  vmalloc_oob+0x578/0x5d0
[   20.610620]  kunit_try_run_case+0x170/0x3f0
[   20.610669]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.610723]  kthread+0x328/0x630
[   20.610771]  ret_from_fork+0x10/0x20
[   20.610819] 
[   20.610852] The buggy address belongs to the virtual mapping at
[   20.610852]  [ffff80008010b000, ffff80008010d000) created by:
[   20.610852]  vmalloc_oob+0x98/0x5d0
[   20.610928] 
[   20.610953] The buggy address belongs to the physical page:
[   20.611013] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106e65
[   20.611067] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.611130] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   20.611181] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.611241] page dumped because: kasan: bad access detected
[   20.611276] 
[   20.611295] Memory state around the buggy address:
[   20.611330]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.611424]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.611469] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   20.611515]                                                              ^
[   20.611842]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.611917]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.611975] ==================================================================
[   20.612109] ==================================================================
[   20.612166] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   20.612279] Read of size 1 at addr ffff80008010b7f8 by task kunit_try_catch/271
[   20.612373] 
[   20.612436] CPU: 0 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   20.612547] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.612608] Hardware name: linux,dummy-virt (DT)
[   20.612702] Call trace:
[   20.612762]  show_stack+0x20/0x38 (C)
[   20.612831]  dump_stack_lvl+0x8c/0xd0
[   20.612878]  print_report+0x310/0x608
[   20.612924]  kasan_report+0xdc/0x128
[   20.612970]  __asan_report_load1_noabort+0x20/0x30
[   20.613445]  vmalloc_oob+0x51c/0x5d0
[   20.613533]  kunit_try_run_case+0x170/0x3f0
[   20.613638]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.614007]  kthread+0x328/0x630
[   20.614104]  ret_from_fork+0x10/0x20
[   20.614253] 
[   20.614299] The buggy address belongs to the virtual mapping at
[   20.614299]  [ffff80008010b000, ffff80008010d000) created by:
[   20.614299]  vmalloc_oob+0x98/0x5d0
[   20.614450] 
[   20.614498] The buggy address belongs to the physical page:
[   20.614578] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106e65
[   20.614643] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.614705] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   20.615033] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.615160] page dumped because: kasan: bad access detected
[   20.615208] 
[   20.615285] Memory state around the buggy address:
[   20.615364]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.615624]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.615729] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   20.615803]                                                                 ^
[   20.615926]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.616004]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   20.616133] ==================================================================