Hay
Date
July 15, 2025, 2:10 p.m.

Environment
qemu-arm64
qemu-x86_64

[  106.762268] ==================================================================
[  106.763243] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x114/0x200
[  106.763946] Read of size 1 at addr ffff800008ac7cca by task kunit_try_catch/240
[  106.764485] 
[  106.764907] CPU: 0 PID: 240 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[  106.765484] Hardware name: linux,dummy-virt (DT)
[  106.765842] Call trace:
[  106.766087]  dump_backtrace+0xe0/0x134
[  106.766584]  show_stack+0x20/0x2c
[  106.766957]  dump_stack_lvl+0x88/0xb4
[  106.767467]  print_report+0x158/0x44c
[  106.767867]  kasan_report+0xc8/0x180
[  106.768333]  __asan_load1+0x68/0x74
[  106.769546]  kasan_alloca_oob_right+0x114/0x200
[  106.770116]  kunit_try_run_case+0x8c/0x124
[  106.770585]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  106.771148]  kthread+0x15c/0x170
[  106.771573]  ret_from_fork+0x10/0x20
[  106.772030] 
[  106.772225] The buggy address belongs to stack of task kunit_try_catch/240
[  106.773166] 
[  106.773364] The buggy address ffff800008ac7cca belongs to a vmalloc virtual mapping
[  106.773987] The buggy address belongs to the physical page:
[  106.774475] page:00000000baa18535 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10667b
[  106.775263] flags: 0xbfffc0000000000(node=0|zone=2|lastcpupid=0xffff)
[  106.775922] raw: 0bfffc0000000000 0000000000000000 dead000000000122 0000000000000000
[  106.777424] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[  106.778069] page dumped because: kasan: bad access detected
[  106.778562] 
[  106.778765] Memory state around the buggy address:
[  106.779201]  ffff800008ac7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  106.779846]  ffff800008ac7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  106.780837] >ffff800008ac7c80: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[  106.781403]                                               ^
[  106.781918]  ffff800008ac7d00: 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 00
[  106.782574]  ffff800008ac7d80: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  106.783171] ==================================================================

[   74.107145] ==================================================================
[   74.107914] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x10c/0x1f4
[   74.108788] Read of size 1 at addr ffff8000087c7cca by task kunit_try_catch/156
[   74.109786] 
[   74.110161] CPU: 0 PID: 156 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   74.111375] Hardware name: linux,dummy-virt (DT)
[   74.112035] Call trace:
[   74.112463]  dump_backtrace.part.0+0xdc/0xf0
[   74.113190]  show_stack+0x18/0x30
[   74.113866]  dump_stack_lvl+0x64/0x80
[   74.114535]  print_report+0x158/0x438
[   74.115179]  kasan_report+0xb4/0xf4
[   74.115775]  __asan_load1+0x68/0x74
[   74.116359]  kasan_alloca_oob_right+0x10c/0x1f4
[   74.117083]  kunit_try_run_case+0x84/0x120
[   74.117901]  kunit_generic_run_threadfn_adapter+0x30/0x50
[   74.118554]  kthread+0x180/0x190
[   74.118889]  ret_from_fork+0x10/0x20
[   74.119235] 
[   74.119413] The buggy address belongs to stack of task kunit_try_catch/156
[   74.119970] 
[   74.120204] The buggy address ffff8000087c7cca belongs to a vmalloc virtual mapping
[   74.120849] The buggy address belongs to the physical page:
[   74.121375] page:000000002f688418 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105934
[   74.122381] flags: 0xbfffc0000000000(node=0|zone=2|lastcpupid=0xffff)
[   74.123053] raw: 0bfffc0000000000 0000000000000000 dead000000000122 0000000000000000
[   74.123839] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   74.124741] page dumped because: kasan: bad access detected
[   74.125430] 
[   74.125703] Memory state around the buggy address:
[   74.127079]  ffff8000087c7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   74.127737]  ffff8000087c7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   74.128203] >ffff8000087c7c80: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   74.128726]                                               ^
[   74.129232]  ffff8000087c7d00: f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 00 f3 f3
[   74.130101]  ffff8000087c7d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   74.130731] ==================================================================

[   65.591194] ==================================================================
[   65.591978] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x110/0x1f8
[   65.592623] Read of size 1 at addr ffff800008777c4a by task kunit_try_catch/154
[   65.593151] 
[   65.593358] CPU: 1 PID: 154 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   65.593993] Hardware name: linux,dummy-virt (DT)
[   65.594355] Call trace:
[   65.594606]  dump_backtrace+0x110/0x120
[   65.595013]  show_stack+0x18/0x28
[   65.595440]  dump_stack_lvl+0x68/0x84
[   65.595884]  print_report+0x158/0x484
[   65.596281]  kasan_report+0x98/0xe0
[   65.596629]  __asan_load1+0x68/0x78
[   65.596972]  kasan_alloca_oob_right+0x110/0x1f8
[   65.598053]  kunit_try_run_case+0x7c/0x120
[   65.598504]  kunit_generic_run_threadfn_adapter+0x30/0x50
[   65.598992]  kthread+0x1a4/0x1b8
[   65.599355]  ret_from_fork+0x10/0x20
[   65.599742] 
[   65.599928] The buggy address belongs to stack of task kunit_try_catch/154
[   65.600482] 
[   65.600643] The buggy address ffff800008777c4a belongs to a vmalloc virtual mapping
[   65.601191] The buggy address belongs to the physical page:
[   65.601813] page:00000000596b461c refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105820
[   65.602530] flags: 0xbfffc0000000000(node=0|zone=2|lastcpupid=0xffff)
[   65.603090] raw: 0bfffc0000000000 0000000000000000 dead000000000122 0000000000000000
[   65.603701] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   65.604272] page dumped because: kasan: bad access detected
[   65.604695] 
[   65.604870] Memory state around the buggy address:
[   65.605282]  ffff800008777b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   65.605997]  ffff800008777b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   65.606584] >ffff800008777c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   65.607123]                                               ^
[   65.607572]  ffff800008777c80: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1
[   65.608127]  ffff800008777d00: 01 f2 f2 f2 f2 f2 f2 f2 04 f2 f2 f2 f2 f2 f2 f2
[   65.608670] ==================================================================

[   31.790308] ==================================================================
[   31.790873] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x106/0x1f0
[   31.791302] Read of size 1 at addr ffff8881035dfdaa by task kunit_try_catch/260
[   31.791689] 
[   31.791797] CPU: 0 PID: 260 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   31.792155] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.792892] Call Trace:
[   31.793122]  <TASK>
[   31.793826]  dump_stack_lvl+0x49/0x62
[   31.794082]  print_report+0x189/0x492
[   31.794358]  ? kasan_addr_to_slab+0xd/0xb0
[   31.794746]  ? kasan_alloca_oob_right+0x106/0x1f0
[   31.795022]  kasan_report+0x10c/0x190
[   31.795257]  ? kasan_alloca_oob_right+0x106/0x1f0
[   31.795825]  __asan_load1+0x62/0x70
[   31.796134]  kasan_alloca_oob_right+0x106/0x1f0
[   31.796607]  ? __kunit_add_resource+0x7c/0x100
[   31.796988]  ? _raw_spin_lock_irqsave+0x9e/0x100
[   31.797373]  ? _raw_spin_unlock_irqrestore+0x46/0x60
[   31.797607]  ? trace_preempt_on+0x2a/0xf0
[   31.797839]  ? __kunit_add_resource+0xd1/0x100
[   31.798089]  ? ksize_unpoisons_memory+0x1f0/0x1f0
[   31.798604]  ? __kunit_add_resource+0xd1/0x100
[   31.798984]  kunit_try_run_case+0x8f/0xd0
[   31.799341]  ? kunit_catch_run_case+0x80/0x80
[   31.799711]  ? kunit_try_catch_throw+0x40/0x40
[   31.799964]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   31.800257]  kthread+0x17b/0x1b0
[   31.800742]  ? kthread_complete_and_exit+0x30/0x30
[   31.801024]  ret_from_fork+0x22/0x30
[   31.801740]  </TASK>
[   31.801898] 
[   31.802005] The buggy address belongs to stack of task kunit_try_catch/260
[   31.802665] 
[   31.802786] The buggy address belongs to the physical page:
[   31.803150] page:(____ptrval____) refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1035df
[   31.803716] flags: 0x200000000000000(node=0|zone=2)
[   31.804000] raw: 0200000000000000 ffffea00040d77c8 ffffea00040d77c8 0000000000000000
[   31.804735] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   31.805073] page dumped because: kasan: bad access detected
[   31.805816] 
[   31.805929] Memory state around the buggy address:
[   31.806288]  ffff8881035dfc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   31.806782]  ffff8881035dfd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   31.807142] >ffff8881035dfd80: ca ca ca ca 00 02 cb cb cb cb cb cb 00 00 f1 f1
[   31.807718]                                   ^
[   31.808038]  ffff8881035dfe00: f1 f1 01 f2 04 f2 00 f2 f2 f2 00 00 f3 f3 00 00
[   31.808623]  ffff8881035dfe80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   31.808967] ==================================================================