Hay
Date
June 3, 2025, 7:38 a.m.

Environment
qemu-arm64

[   21.414033] ==================================================================
[   21.414397] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x578/0x5d0
[   21.414564] Read of size 1 at addr ffff8000800fe7f3 by task kunit_try_catch/269
[   21.414650] 
[   21.414689] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT 
[   21.415015] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.415061] Hardware name: linux,dummy-virt (DT)
[   21.415096] Call trace:
[   21.415123]  show_stack+0x20/0x38 (C)
[   21.415177]  dump_stack_lvl+0x8c/0xd0
[   21.415228]  print_report+0x310/0x608
[   21.415588]  kasan_report+0xdc/0x128
[   21.415755]  __asan_report_load1_noabort+0x20/0x30
[   21.416026]  vmalloc_oob+0x578/0x5d0
[   21.416187]  kunit_try_run_case+0x170/0x3f0
[   21.416328]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.416398]  kthread+0x328/0x630
[   21.416738]  ret_from_fork+0x10/0x20
[   21.416874] 
[   21.417022] The buggy address belongs to the virtual mapping at
[   21.417022]  [ffff8000800fe000, ffff800080100000) created by:
[   21.417022]  vmalloc_oob+0x98/0x5d0
[   21.417104] 
[   21.417129] The buggy address belongs to the physical page:
[   21.417338] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1058c4
[   21.417696] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.418139] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.418458] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.418549] page dumped because: kasan: bad access detected
[   21.418725] 
[   21.418751] Memory state around the buggy address:
[   21.418912]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.419099]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.419157] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.419447]                                                              ^
[   21.419651]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.419704]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.419895] ==================================================================
[   21.421632] ==================================================================
[   21.421698] BUG: KASAN: vmalloc-out-of-bounds in vmalloc_oob+0x51c/0x5d0
[   21.421750] Read of size 1 at addr ffff8000800fe7f8 by task kunit_try_catch/269
[   21.421800] 
[   21.421841] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT 
[   21.421929] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.421957] Hardware name: linux,dummy-virt (DT)
[   21.421990] Call trace:
[   21.422013]  show_stack+0x20/0x38 (C)
[   21.422073]  dump_stack_lvl+0x8c/0xd0
[   21.422125]  print_report+0x310/0x608
[   21.422171]  kasan_report+0xdc/0x128
[   21.422219]  __asan_report_load1_noabort+0x20/0x30
[   21.422267]  vmalloc_oob+0x51c/0x5d0
[   21.422313]  kunit_try_run_case+0x170/0x3f0
[   21.422364]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.422419]  kthread+0x328/0x630
[   21.423084]  ret_from_fork+0x10/0x20
[   21.423162] 
[   21.423201] The buggy address belongs to the virtual mapping at
[   21.423201]  [ffff8000800fe000, ffff800080100000) created by:
[   21.423201]  vmalloc_oob+0x98/0x5d0
[   21.423411] 
[   21.423456] The buggy address belongs to the physical page:
[   21.423573] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1058c4
[   21.423654] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   21.423984] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.424334] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.424464] page dumped because: kasan: bad access detected
[   21.424627] 
[   21.424723] Memory state around the buggy address:
[   21.424773]  ffff8000800fe680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.424885]  ffff8000800fe700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.425029] >ffff8000800fe780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 f8
[   21.425256]                                                                 ^
[   21.425465]  ffff8000800fe800: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.425976]  ffff8000800fe880: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
[   21.426115] ==================================================================