Hay
Date
June 26, 2025, 11:12 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   39.424415] ==================================================================
[   39.433463] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   39.440925] Read of size 1 at addr ffff800089327b5f by task kunit_try_catch/300
[   39.448216] 
[   39.449703] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   39.449758] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.449778] Hardware name: WinLink E850-96 board (DT)
[   39.449802] Call trace:
[   39.449816]  show_stack+0x20/0x38 (C)
[   39.449852]  dump_stack_lvl+0x8c/0xd0
[   39.449889]  print_report+0x310/0x608
[   39.449920]  kasan_report+0xdc/0x128
[   39.449950]  __asan_report_load1_noabort+0x20/0x30
[   39.449987]  kasan_alloca_oob_left+0x2b8/0x310
[   39.450023]  kunit_try_run_case+0x170/0x3f0
[   39.450061]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.450102]  kthread+0x328/0x630
[   39.450141]  ret_from_fork+0x10/0x20
[   39.450177] 
[   39.512802] The buggy address belongs to stack of task kunit_try_catch/300
[   39.519678] 
[   39.521137] The buggy address belongs to the virtual mapping at
[   39.521137]  [ffff800089320000, ffff800089329000) created by:
[   39.521137]  kernel_clone+0x150/0x7a8
[   39.536409] 
[   39.537889] The buggy address belongs to the physical page:
[   39.543446] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x886810
[   39.551429] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   39.557951] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   39.565668] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   39.573388] page dumped because: kasan: bad access detected
[   39.578944] 
[   39.580418] Memory state around the buggy address:
[   39.585202]  ffff800089327a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.592402]  ffff800089327a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   39.599608] >ffff800089327b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   39.606807]                                                     ^
[   39.612887]  ffff800089327b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   39.620094]  ffff800089327c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   39.627295] ==================================================================

[   20.257349] ==================================================================
[   20.257508] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   20.257568] Read of size 1 at addr ffff800080ac7b5f by task kunit_try_catch/253
[   20.257620] 
[   20.257650] CPU: 1 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   20.257734] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.257760] Hardware name: linux,dummy-virt (DT)
[   20.257807] Call trace:
[   20.258961]  show_stack+0x20/0x38 (C)
[   20.259031]  dump_stack_lvl+0x8c/0xd0
[   20.259083]  print_report+0x310/0x608
[   20.259129]  kasan_report+0xdc/0x128
[   20.259180]  __asan_report_load1_noabort+0x20/0x30
[   20.259231]  kasan_alloca_oob_left+0x2b8/0x310
[   20.259282]  kunit_try_run_case+0x170/0x3f0
[   20.259331]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.259385]  kthread+0x328/0x630
[   20.259432]  ret_from_fork+0x10/0x20
[   20.259479] 
[   20.259498] The buggy address belongs to stack of task kunit_try_catch/253
[   20.259570] 
[   20.259595] The buggy address belongs to the virtual mapping at
[   20.259595]  [ffff800080ac0000, ffff800080ac9000) created by:
[   20.259595]  kernel_clone+0x150/0x7a8
[   20.259674] 
[   20.259696] The buggy address belongs to the physical page:
[   20.259726] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105be6
[   20.259778] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.259842] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   20.259908] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.259952] page dumped because: kasan: bad access detected
[   20.259985] 
[   20.260004] Memory state around the buggy address:
[   20.260037]  ffff800080ac7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.260085]  ffff800080ac7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.260131] >ffff800080ac7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   20.260173]                                                     ^
[   20.260211]  ffff800080ac7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   20.260257]  ffff800080ac7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   20.260296] ==================================================================

[   12.754992] ==================================================================
[   12.755468] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380
[   12.755866] Read of size 1 at addr ffff888103a6fc3f by task kunit_try_catch/270
[   12.756386] 
[   12.756488] CPU: 1 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   12.756538] Tainted: [B]=BAD_PAGE, [N]=TEST
[   12.756550] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   12.756572] Call Trace:
[   12.756583]  <TASK>
[   12.756601]  dump_stack_lvl+0x73/0xb0
[   12.756630]  print_report+0xd1/0x650
[   12.756652]  ? __virt_addr_valid+0x1db/0x2d0
[   12.756675]  ? kasan_alloca_oob_left+0x320/0x380
[   12.756698]  ? kasan_addr_to_slab+0x11/0xa0
[   12.756733]  ? kasan_alloca_oob_left+0x320/0x380
[   12.756757]  kasan_report+0x141/0x180
[   12.756779]  ? kasan_alloca_oob_left+0x320/0x380
[   12.756807]  __asan_report_load1_noabort+0x18/0x20
[   12.756828]  kasan_alloca_oob_left+0x320/0x380
[   12.756852]  ? finish_task_switch.isra.0+0x153/0x700
[   12.756877]  ? rwsem_down_read_slowpath+0x6be/0xb90
[   12.756900]  ? trace_hardirqs_on+0x37/0xe0
[   12.756938]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   12.756960]  ? __kasan_check_write+0x18/0x20
[   12.756980]  ? queued_spin_lock_slowpath+0x116/0xb40
[   12.757006]  ? trace_hardirqs_on+0x37/0xe0
[   12.757028]  ? __pfx_read_tsc+0x10/0x10
[   12.757048]  ? ktime_get_ts64+0x86/0x230
[   12.757074]  kunit_try_run_case+0x1a5/0x480
[   12.757099]  ? __pfx_kunit_try_run_case+0x10/0x10
[   12.757124]  ? queued_spin_lock_slowpath+0x116/0xb40
[   12.757147]  ? __kthread_parkme+0x82/0x180
[   12.757169]  ? preempt_count_sub+0x50/0x80
[   12.757193]  ? __pfx_kunit_try_run_case+0x10/0x10
[   12.757218]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.757243]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   12.757265]  kthread+0x337/0x6f0
[   12.757282]  ? trace_preempt_on+0x20/0xc0
[   12.757304]  ? __pfx_kthread+0x10/0x10
[   12.757322]  ? _raw_spin_unlock_irq+0x47/0x80
[   12.757345]  ? calculate_sigpending+0x7b/0xa0
[   12.757374]  ? __pfx_kthread+0x10/0x10
[   12.757393]  ret_from_fork+0x41/0x80
[   12.757413]  ? __pfx_kthread+0x10/0x10
[   12.757431]  ret_from_fork_asm+0x1a/0x30
[   12.757462]  </TASK>
[   12.757473] 
[   12.765721] The buggy address belongs to stack of task kunit_try_catch/270
[   12.765991] 
[   12.766066] The buggy address belongs to the physical page:
[   12.766242] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a6f
[   12.766491] flags: 0x200000000000000(node=0|zone=2)
[   12.766670] raw: 0200000000000000 ffffea00040e9bc8 ffffea00040e9bc8 0000000000000000
[   12.766901] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   12.767137] page dumped because: kasan: bad access detected
[   12.767310] 
[   12.767377] Memory state around the buggy address:
[   12.768009]  ffff888103a6fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   12.768332]  ffff888103a6fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   12.768663] >ffff888103a6fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   12.768985]                                         ^
[   12.769213]  ffff888103a6fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   12.769500]  ffff888103a6fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   12.769764] ==================================================================