Hay
Date
June 2, 2025, 2:13 p.m.

Environment
qemu-arm64

[   21.444894] ==================================================================
[   21.445398] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   21.446107] Read of size 1 at addr ffff80008010b7f3 by task kunit_try_catch/259
[   21.446627] 
[   21.446917] CPU: 1 UID: 0 PID: 259 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   21.447022] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.447056] Hardware name: linux,dummy-virt (DT)
[   21.447099] Call trace:
[   21.447129]  show_stack+0x20/0x38 (C)
[   21.447212]  dump_stack_lvl+0x8c/0xd0
[   21.447271]  print_report+0x310/0x608
[   21.447327]  kasan_report+0xdc/0x128
[   21.447379]  __asan_report_load1_noabort+0x20/0x30
[   21.447435]  vmalloc_oob+0x578/0x5d0
[   21.447485]  kunit_try_run_case+0x170/0x3f0
[   21.447539]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.447596]  kthread+0x318/0x620
[   21.447649]  ret_from_fork+0x10/0x20
[   21.447704] 
[   21.450776] The buggy address belongs to the virtual mapping at
[   21.450776]  [ffff80008010b000, ffff80008010d000) created by:
[   21.450776]  vmalloc_oob+0x98/0x5d0
[   21.451465] 
[   21.451587] The buggy address belongs to the physical page:
[   21.451954] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106533
[   21.452410] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.452925] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.453450] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.453935] page dumped because: kasan: bad access detected
[   21.454422] 
[   21.454864] Memory state around the buggy address:
[   21.455108]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.455378]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.455875] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.456208]                                                              ^
[   21.456573]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.456862]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.457196] ==================================================================
[   21.458342] ==================================================================
[   21.458875] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   21.459440] Read of size 1 at addr ffff80008010b7f8 by task kunit_try_catch/259
[   21.459737] 
[   21.459861] CPU: 1 UID: 0 PID: 259 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   21.459961] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.459998] Hardware name: linux,dummy-virt (DT)
[   21.460038] Call trace:
[   21.460067]  show_stack+0x20/0x38 (C)
[   21.460130]  dump_stack_lvl+0x8c/0xd0
[   21.460203]  print_report+0x310/0x608
[   21.460262]  kasan_report+0xdc/0x128
[   21.460315]  __asan_report_load1_noabort+0x20/0x30
[   21.460373]  vmalloc_oob+0x51c/0x5d0
[   21.460425]  kunit_try_run_case+0x170/0x3f0
[   21.460482]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.460541]  kthread+0x318/0x620
[   21.460596]  ret_from_fork+0x10/0x20
[   21.460655] 
[   21.464166] The buggy address belongs to the virtual mapping at
[   21.464166]  [ffff80008010b000, ffff80008010d000) created by:
[   21.464166]  vmalloc_oob+0x98/0x5d0
[   21.464769] 
[   21.464937] The buggy address belongs to the physical page:
[   21.465396] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106533
[   21.465795] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.466866] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.467264] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.467540] page dumped because: kasan: bad access detected
[   21.467871] 
[   21.468007] Memory state around the buggy address:
[   21.468249]  ffff80008010b680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.468576]  ffff80008010b700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.468973] >ffff80008010b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.469538]                                                                 ^
[   21.469865]  ffff80008010b800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.470117]  ffff80008010b880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.470846] ==================================================================