Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64

[   26.820658] ==================================================================
[   26.820796] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   26.820935] Read of size 1 at addr ffff80008010b7f8 by task kunit_try_catch/273
[   26.821067] 
[   26.821158] CPU: 1 UID: 0 PID: 273 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   26.821380] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.823767] Hardware name: linux,dummy-virt (DT)
[   26.823925] Call trace:
[   26.824131]  show_stack+0x20/0x38 (C)
[   26.824440]  dump_stack_lvl+0x8c/0xd0
[   26.824682]  print_report+0x310/0x608
[   26.825611]  kasan_report+0xdc/0x128
[   26.826026]  __asan_report_load1_noabort+0x20/0x30
[   26.826758]  vmalloc_oob+0x51c/0x5d0
[   26.827014]  kunit_try_run_case+0x170/0x3f0
[   26.827160]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.827275]  kthread+0x328/0x630
[   26.827378]  ret_from_fork+0x10/0x20
[   26.828232] 
[   26.828426] The buggy address belongs to the virtual mapping at
[   26.828426]  [ffff80008010b000, ffff80008010d000) created by:
[   26.828426]  vmalloc_oob+0x98/0x5d0
[   26.828727] 
[   26.828795] The buggy address belongs to the physical page:
[   26.828887] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10777a
[   26.829032] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   26.829208] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   26.829344] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   26.829465] page dumped because: kasan: bad access detected
[   26.829548] 
[   26.829602] Memory state around the buggy address:
[   26.829688]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   26.831000]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   26.831813] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   26.831939]                                                                 ^
[   26.832626]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   26.832747]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   26.832843] ==================================================================
[   26.801049] ==================================================================
[   26.801266] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   26.801450] Read of size 1 at addr ffff80008010b7f3 by task kunit_try_catch/273
[   26.801577] 
[   26.801668] CPU: 1 UID: 0 PID: 273 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   26.801879] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.804572] Hardware name: linux,dummy-virt (DT)
[   26.805290] Call trace:
[   26.805501]  show_stack+0x20/0x38 (C)
[   26.805726]  dump_stack_lvl+0x8c/0xd0
[   26.806325]  print_report+0x310/0x608
[   26.807335]  kasan_report+0xdc/0x128
[   26.807621]  __asan_report_load1_noabort+0x20/0x30
[   26.807901]  vmalloc_oob+0x578/0x5d0
[   26.808254]  kunit_try_run_case+0x170/0x3f0
[   26.808587]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.808879]  kthread+0x328/0x630
[   26.809121]  ret_from_fork+0x10/0x20
[   26.809510] 
[   26.809604] The buggy address belongs to the virtual mapping at
[   26.809604]  [ffff80008010b000, ffff80008010d000) created by:
[   26.809604]  vmalloc_oob+0x98/0x5d0
[   26.810115] 
[   26.810262] The buggy address belongs to the physical page:
[   26.810357] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10777a
[   26.811810] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   26.812990] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   26.813150] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   26.813779] page dumped because: kasan: bad access detected
[   26.813904] 
[   26.814061] Memory state around the buggy address:
[   26.814607]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   26.814894]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   26.815568] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   26.815701]                                                              ^
[   26.815822]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   26.816642]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   26.816892] ==================================================================