Hay
Date
June 17, 2025, 3:39 p.m.

Environment
qemu-arm64
qemu-x86_64

[   93.891140] ==================================================================
[   93.892002] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x108/0x1f0
[   93.892936] Read of size 1 at addr ffff800080707c1f by task kunit_try_catch/187
[   93.893602] 
[   93.893890] CPU: 0 PID: 187 Comm: kunit_try_catch Tainted: G    B            N 6.6.94-rc1 #1
[   93.894595] Hardware name: linux,dummy-virt (DT)
[   93.895233] Call trace:
[   93.895519]  dump_backtrace+0x9c/0x128
[   93.895914]  show_stack+0x20/0x38
[   93.896428]  dump_stack_lvl+0x60/0xb0
[   93.896945]  print_report+0x328/0x5e8
[   93.897431]  kasan_report+0xdc/0x128
[   93.897879]  __asan_load1+0x60/0x70
[   93.898374]  kasan_alloca_oob_left+0x108/0x1f0
[   93.899305]  kunit_try_run_case+0x114/0x298
[   93.899861]  kunit_generic_run_threadfn_adapter+0x38/0x60
[   93.900613]  kthread+0x18c/0x1a8
[   93.901028]  ret_from_fork+0x10/0x20
[   93.901481] 
[   93.901732] The buggy address belongs to stack of task kunit_try_catch/187
[   93.902441] 
[   93.902673] The buggy address belongs to the virtual mapping at
[   93.902673]  [ffff800080700000, ffff800080709000) created by:
[   93.902673]  kernel_clone+0x108/0x550
[   93.904310] 
[   93.904629] The buggy address belongs to the physical page:
[   93.905229] page:00000000fe80b638 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105f89
[   93.906085] flags: 0xbfffc0000000000(node=0|zone=2|lastcpupid=0xffff)
[   93.906835] page_type: 0xffffffff()
[   93.907286] raw: 0bfffc0000000000 0000000000000000 dead000000000122 0000000000000000
[   93.908049] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   93.909140] page dumped because: kasan: bad access detected
[   93.909702] 
[   93.909919] Memory state around the buggy address:
[   93.910334]  ffff800080707b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   93.911485]  ffff800080707b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   93.912170] >ffff800080707c00: ca ca ca ca 00 02 cb cb cb cb cb cb f1 f1 f1 f1
[   93.912867]                             ^
[   93.913378]  ffff800080707c80: 01 f2 04 f2 00 f2 f2 f2 00 00 f3 f3 00 00 00 00
[   93.914098]  ffff800080707d00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00
[   93.915034] ==================================================================


[   34.985450] ==================================================================
[   34.986030] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x101/0x1f0
[   34.987034] Read of size 1 at addr ffff888102a77cbf by task kunit_try_catch/202
[   34.987585] 
[   34.987740] CPU: 1 PID: 202 Comm: kunit_try_catch Tainted: G    B            N 6.6.94-rc1 #1
[   34.988307] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.988941] Call Trace:
[   34.989109]  <TASK>
[   34.989275]  dump_stack_lvl+0x4e/0x90
[   34.989514]  print_report+0xd2/0x650
[   34.989852]  ? __virt_addr_valid+0x156/0x1e0
[   34.990247]  ? kasan_alloca_oob_left+0x101/0x1f0
[   34.990625]  ? kasan_addr_to_slab+0x11/0xb0
[   34.990977]  ? kasan_alloca_oob_left+0x101/0x1f0
[   34.991367]  kasan_report+0x147/0x180
[   34.992010]  ? kasan_alloca_oob_left+0x101/0x1f0
[   34.992575]  __asan_load1+0x66/0x70
[   34.992910]  kasan_alloca_oob_left+0x101/0x1f0
[   34.993228]  ? set_user_nice+0x30e/0x420
[   34.993771]  ? __schedule+0x715/0x11a0
[   34.994068]  ? trace_hardirqs_on+0x37/0xd0
[   34.994559]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   34.995018]  ? __schedule+0x715/0x11a0
[   34.995445]  ? ktime_get_ts64+0x118/0x140
[   34.995872]  kunit_try_run_case+0x120/0x290
[   34.996180]  ? __pfx_kunit_try_run_case+0x10/0x10
[   34.996666]  ? __kasan_check_write+0x18/0x20
[   34.997107]  ? trace_preempt_on+0x20/0xa0
[   34.997571]  ? __kthread_parkme+0x4f/0xd0
[   34.997898]  ? preempt_count_sub+0x50/0x80
[   34.998412]  ? __pfx_kunit_try_run_case+0x10/0x10
[   34.998758]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   34.999162]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   34.999773]  kthread+0x19e/0x1e0
[   35.000159]  ? __pfx_kthread+0x10/0x10
[   35.000560]  ret_from_fork+0x41/0x70
[   35.000979]  ? __pfx_kthread+0x10/0x10
[   35.001267]  ret_from_fork_asm+0x1b/0x30
[   35.001765]  </TASK>
[   35.002020] 
[   35.002135] The buggy address belongs to stack of task kunit_try_catch/202
[   35.002680] 
[   35.002812] The buggy address belongs to the physical page:
[   35.003099] page:(____ptrval____) refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a77
[   35.004011] flags: 0x200000000000000(node=0|zone=2)
[   35.004376] page_type: 0xffffffff()
[   35.004657] raw: 0200000000000000 ffffea00040a9dc8 ffffea00040a9dc8 0000000000000000
[   35.005424] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   35.005973] page dumped because: kasan: bad access detected
[   35.006429] 
[   35.006560] Memory state around the buggy address:
[   35.007054]  ffff888102a77b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   35.007694]  ffff888102a77c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   35.008238] >ffff888102a77c80: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   35.008808]                                         ^
[   35.009138]  ffff888102a77d00: 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2
[   35.009814]  ffff888102a77d80: 00 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 f1
[   35.010346] ==================================================================