Hay
Date
July 20, 2025, 11:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   18.764224] ==================================================================
[   18.764304] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   18.764643] Read of size 1 at addr ffff8000809f7b5f by task kunit_try_catch/251
[   18.764959] 
[   18.765047] CPU: 1 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   18.765132] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.765161] Hardware name: linux,dummy-virt (DT)
[   18.765195] Call trace:
[   18.765221]  show_stack+0x20/0x38 (C)
[   18.765652]  dump_stack_lvl+0x8c/0xd0
[   18.765709]  print_report+0x310/0x5d0
[   18.765856]  kasan_report+0xdc/0x128
[   18.765979]  __asan_report_load1_noabort+0x20/0x30
[   18.766035]  kasan_alloca_oob_left+0x2b8/0x310
[   18.766108]  kunit_try_run_case+0x170/0x3f0
[   18.766159]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.766214]  kthread+0x328/0x630
[   18.766342]  ret_from_fork+0x10/0x20
[   18.766475] 
[   18.766529] The buggy address belongs to stack of task kunit_try_catch/251
[   18.766718] 
[   18.766820] The buggy address ffff8000809f7b5f belongs to a vmalloc virtual mapping
[   18.766915] The buggy address belongs to the physical page:
[   18.766955] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107836
[   18.767063] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.767225] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.767330] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.767426] page dumped because: kasan: bad access detected
[   18.767539] 
[   18.767579] Memory state around the buggy address:
[   18.767654]  ffff8000809f7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.767712]  ffff8000809f7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.767827] >ffff8000809f7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   18.767934]                                                     ^
[   18.767974]  ffff8000809f7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   18.768020]  ffff8000809f7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   18.768062] ==================================================================

[   18.944431] ==================================================================
[   18.944511] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   18.944570] Read of size 1 at addr ffff800080a67b5f by task kunit_try_catch/251
[   18.944639] 
[   18.944674] CPU: 1 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   18.945664] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.945721] Hardware name: linux,dummy-virt (DT)
[   18.945764] Call trace:
[   18.945792]  show_stack+0x20/0x38 (C)
[   18.945848]  dump_stack_lvl+0x8c/0xd0
[   18.945906]  print_report+0x310/0x5d0
[   18.945957]  kasan_report+0xdc/0x128
[   18.946005]  __asan_report_load1_noabort+0x20/0x30
[   18.946059]  kasan_alloca_oob_left+0x2b8/0x310
[   18.946110]  kunit_try_run_case+0x170/0x3f0
[   18.946160]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.946216]  kthread+0x328/0x630
[   18.946631]  ret_from_fork+0x10/0x20
[   18.946687] 
[   18.946745] The buggy address belongs to stack of task kunit_try_catch/251
[   18.947264] 
[   18.947294] The buggy address ffff800080a67b5f belongs to a vmalloc virtual mapping
[   18.947835] The buggy address belongs to the physical page:
[   18.947877] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1069f2
[   18.948369] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   18.948560] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   18.948958] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   18.949014] page dumped because: kasan: bad access detected
[   18.949048] 
[   18.949068] Memory state around the buggy address:
[   18.949104]  ffff800080a67a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.949296]  ffff800080a67a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   18.949349] >ffff800080a67b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   18.949650]                                                     ^
[   18.949823]  ffff800080a67b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   18.950073]  ffff800080a67c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   18.950419] ==================================================================

[   14.532305] ==================================================================
[   14.532859] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380
[   14.533171] Read of size 1 at addr ffff888103a07c3f by task kunit_try_catch/269
[   14.533571] 
[   14.533723] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   14.533767] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.533779] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.533801] Call Trace:
[   14.533813]  <TASK>
[   14.533829]  dump_stack_lvl+0x73/0xb0
[   14.533858]  print_report+0xd1/0x610
[   14.533881]  ? __virt_addr_valid+0x1db/0x2d0
[   14.533904]  ? kasan_alloca_oob_left+0x320/0x380
[   14.533926]  ? kasan_addr_to_slab+0x11/0xa0
[   14.533967]  ? kasan_alloca_oob_left+0x320/0x380
[   14.533990]  kasan_report+0x141/0x180
[   14.534012]  ? kasan_alloca_oob_left+0x320/0x380
[   14.534040]  __asan_report_load1_noabort+0x18/0x20
[   14.534064]  kasan_alloca_oob_left+0x320/0x380
[   14.534171]  ? pick_task_fair+0xc9/0x340
[   14.534205]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   14.534229]  ? trace_hardirqs_on+0x37/0xe0
[   14.534254]  ? __schedule+0x2079/0x2b60
[   14.534277]  ? __pfx_read_tsc+0x10/0x10
[   14.534321]  ? ktime_get_ts64+0x86/0x230
[   14.534346]  kunit_try_run_case+0x1a5/0x480
[   14.534372]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.534405]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.534430]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.534453]  ? __kthread_parkme+0x82/0x180
[   14.534474]  ? preempt_count_sub+0x50/0x80
[   14.534498]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.534522]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.534546]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.534571]  kthread+0x337/0x6f0
[   14.534589]  ? trace_preempt_on+0x20/0xc0
[   14.534612]  ? __pfx_kthread+0x10/0x10
[   14.534633]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.534655]  ? calculate_sigpending+0x7b/0xa0
[   14.534678]  ? __pfx_kthread+0x10/0x10
[   14.534701]  ret_from_fork+0x116/0x1d0
[   14.534719]  ? __pfx_kthread+0x10/0x10
[   14.534740]  ret_from_fork_asm+0x1a/0x30
[   14.534773]  </TASK>
[   14.534783] 
[   14.543526] The buggy address belongs to stack of task kunit_try_catch/269
[   14.543993] 
[   14.544114] The buggy address belongs to the physical page:
[   14.544352] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a07
[   14.544622] flags: 0x200000000000000(node=0|zone=2)
[   14.544897] raw: 0200000000000000 ffffea00040e81c8 ffffea00040e81c8 0000000000000000
[   14.545590] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   14.545951] page dumped because: kasan: bad access detected
[   14.546247] 
[   14.546344] Memory state around the buggy address:
[   14.546566]  ffff888103a07b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.546902]  ffff888103a07b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.547113] >ffff888103a07c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   14.547322]                                         ^
[   14.547801]  ffff888103a07c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   14.548277]  ffff888103a07d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.548674] ==================================================================

[   14.622316] ==================================================================
[   14.623558] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380
[   14.624353] Read of size 1 at addr ffff888103a17c3f by task kunit_try_catch/269
[   14.624887] 
[   14.625010] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   14.625126] Tainted: [B]=BAD_PAGE, [N]=TEST
[   14.625165] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   14.625189] Call Trace:
[   14.625204]  <TASK>
[   14.625223]  dump_stack_lvl+0x73/0xb0
[   14.625256]  print_report+0xd1/0x610
[   14.625280]  ? __virt_addr_valid+0x1db/0x2d0
[   14.625305]  ? kasan_alloca_oob_left+0x320/0x380
[   14.625346]  ? kasan_addr_to_slab+0x11/0xa0
[   14.625366]  ? kasan_alloca_oob_left+0x320/0x380
[   14.625389]  kasan_report+0x141/0x180
[   14.625411]  ? kasan_alloca_oob_left+0x320/0x380
[   14.625438]  __asan_report_load1_noabort+0x18/0x20
[   14.625462]  kasan_alloca_oob_left+0x320/0x380
[   14.625487]  ? finish_task_switch.isra.0+0x153/0x700
[   14.625511]  ? rt_mutex_adjust_prio_chain+0x195e/0x20e0
[   14.625534]  ? trace_hardirqs_on+0x37/0xe0
[   14.625559]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   14.625584]  ? __schedule+0x10c6/0x2b60
[   14.625606]  ? __pfx_read_tsc+0x10/0x10
[   14.625628]  ? ktime_get_ts64+0x86/0x230
[   14.625652]  kunit_try_run_case+0x1a5/0x480
[   14.625678]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.625701]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   14.625724]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   14.625748]  ? __kthread_parkme+0x82/0x180
[   14.625770]  ? preempt_count_sub+0x50/0x80
[   14.625792]  ? __pfx_kunit_try_run_case+0x10/0x10
[   14.625816]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   14.625840]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   14.625900]  kthread+0x337/0x6f0
[   14.625922]  ? trace_preempt_on+0x20/0xc0
[   14.625944]  ? __pfx_kthread+0x10/0x10
[   14.625965]  ? _raw_spin_unlock_irq+0x47/0x80
[   14.625986]  ? calculate_sigpending+0x7b/0xa0
[   14.626011]  ? __pfx_kthread+0x10/0x10
[   14.626032]  ret_from_fork+0x116/0x1d0
[   14.626051]  ? __pfx_kthread+0x10/0x10
[   14.626071]  ret_from_fork_asm+0x1a/0x30
[   14.626102]  </TASK>
[   14.626113] 
[   14.635022] The buggy address belongs to stack of task kunit_try_catch/269
[   14.635468] 
[   14.635570] The buggy address belongs to the physical page:
[   14.635801] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a17
[   14.636300] flags: 0x200000000000000(node=0|zone=2)
[   14.636585] raw: 0200000000000000 ffffea00040e85c8 ffffea00040e85c8 0000000000000000
[   14.636926] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   14.637552] page dumped because: kasan: bad access detected
[   14.637803] 
[   14.637907] Memory state around the buggy address:
[   14.638205]  ffff888103a17b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.638521]  ffff888103a17b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   14.638742] >ffff888103a17c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   14.638960]                                         ^
[   14.639295]  ffff888103a17c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   14.639829]  ffff888103a17d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   14.640206] ==================================================================