Hay
Date
July 15, 2025, 11:35 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   56.252390] ==================================================================
[   56.266860] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270
[   56.273712] Read of size 1 at addr ffff800089627c2a by task kunit_try_catch/330
[   56.281002] 
[   56.282488] CPU: 3 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   56.282544] Tainted: [B]=BAD_PAGE, [N]=TEST
[   56.282561] Hardware name: WinLink E850-96 board (DT)
[   56.282583] Call trace:
[   56.282597]  show_stack+0x20/0x38 (C)
[   56.282635]  dump_stack_lvl+0x8c/0xd0
[   56.282671]  print_report+0x310/0x5d0
[   56.282699]  kasan_report+0xdc/0x128
[   56.282726]  __asan_report_load1_noabort+0x20/0x30
[   56.282758]  kasan_stack_oob+0x238/0x270
[   56.282789]  kunit_try_run_case+0x170/0x3f0
[   56.282819]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   56.282856]  kthread+0x328/0x630
[   56.282889]  ret_from_fork+0x10/0x20
[   56.282923] 
[   56.346282] The buggy address belongs to stack of task kunit_try_catch/330
[   56.353139]  and is located at offset 138 in frame:
[   56.357998]  kasan_stack_oob+0x0/0x270
[   56.361736] 
[   56.363206] This frame has 4 objects:
[   56.366857]  [48, 49) '__assertion'
[   56.366881]  [64, 72) 'array'
[   56.370325]  [96, 112) '__assertion'
[   56.373279]  [128, 138) 'stack_array'
[   56.376835] 
[   56.381957] The buggy address ffff800089627c2a belongs to a vmalloc virtual mapping
[   56.389599] The buggy address belongs to the physical page:
[   56.395155] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8887c2
[   56.403139] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   56.409660] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   56.417378] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   56.425100] page dumped because: kasan: bad access detected
[   56.430653] 
[   56.432128] Memory state around the buggy address:
[   56.436909]  ffff800089627b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.444111]  ffff800089627b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2
[   56.451318] >ffff800089627c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00
[   56.458517]                                   ^
[   56.463035]  ffff800089627c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2
[   56.470239]  ffff800089627d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   56.477440] ==================================================================

[   32.857521] ==================================================================
[   32.857649] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270
[   32.858082] Read of size 1 at addr ffff800080b67c2a by task kunit_try_catch/281
[   32.858195] 
[   32.858264] CPU: 1 UID: 0 PID: 281 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   32.858379] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.858423] Hardware name: linux,dummy-virt (DT)
[   32.858474] Call trace:
[   32.858501]  show_stack+0x20/0x38 (C)
[   32.858558]  dump_stack_lvl+0x8c/0xd0
[   32.858830]  print_report+0x310/0x5d0
[   32.858996]  kasan_report+0xdc/0x128
[   32.859127]  __asan_report_load1_noabort+0x20/0x30
[   32.859232]  kasan_stack_oob+0x238/0x270
[   32.859376]  kunit_try_run_case+0x170/0x3f0
[   32.859541]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.859600]  kthread+0x328/0x630
[   32.859882]  ret_from_fork+0x10/0x20
[   32.859984] 
[   32.860357] The buggy address belongs to stack of task kunit_try_catch/281
[   32.860751]  and is located at offset 138 in frame:
[   32.860827]  kasan_stack_oob+0x0/0x270
[   32.861236] 
[   32.861359] This frame has 4 objects:
[   32.861736]  [48, 49) '__assertion'
[   32.861784]  [64, 72) 'array'
[   32.861825]  [96, 112) '__assertion'
[   32.861867]  [128, 138) 'stack_array'
[   32.862252] 
[   32.862287] The buggy address ffff800080b67c2a belongs to a vmalloc virtual mapping
[   32.862672] The buggy address belongs to the physical page:
[   32.862718] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106534
[   32.862846] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   32.863018] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   32.863157] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   32.863232] page dumped because: kasan: bad access detected
[   32.863335] 
[   32.863431] Memory state around the buggy address:
[   32.863529]  ffff800080b67b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.863654]  ffff800080b67b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2
[   32.863725] >ffff800080b67c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00
[   32.863976]                                   ^
[   32.864052]  ffff800080b67c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2
[   32.864122]  ffff800080b67d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   32.864230] ==================================================================

[   25.875503] ==================================================================
[   25.876275] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300
[   25.876565] Read of size 1 at addr ffff8881061b7d02 by task kunit_try_catch/297
[   25.877205] 
[   25.877420] CPU: 1 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   25.877580] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.877612] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.877636] Call Trace:
[   25.877650]  <TASK>
[   25.877667]  dump_stack_lvl+0x73/0xb0
[   25.877708]  print_report+0xd1/0x610
[   25.877769]  ? __virt_addr_valid+0x1db/0x2d0
[   25.877797]  ? kasan_stack_oob+0x2b5/0x300
[   25.877817]  ? kasan_addr_to_slab+0x11/0xa0
[   25.877838]  ? kasan_stack_oob+0x2b5/0x300
[   25.877859]  kasan_report+0x141/0x180
[   25.877881]  ? kasan_stack_oob+0x2b5/0x300
[   25.877907]  __asan_report_load1_noabort+0x18/0x20
[   25.877942]  kasan_stack_oob+0x2b5/0x300
[   25.877963]  ? __pfx_kasan_stack_oob+0x10/0x10
[   25.877982]  ? finish_task_switch.isra.0+0x153/0x700
[   25.878005]  ? __switch_to+0x47/0xf80
[   25.878034]  ? __schedule+0x10cc/0x2b60
[   25.878056]  ? __pfx_read_tsc+0x10/0x10
[   25.878078]  ? ktime_get_ts64+0x86/0x230
[   25.878104]  kunit_try_run_case+0x1a5/0x480
[   25.878130]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.878152]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   25.878174]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   25.878197]  ? __kthread_parkme+0x82/0x180
[   25.878218]  ? preempt_count_sub+0x50/0x80
[   25.878241]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.878265]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.878291]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   25.878317]  kthread+0x337/0x6f0
[   25.878338]  ? trace_preempt_on+0x20/0xc0
[   25.878362]  ? __pfx_kthread+0x10/0x10
[   25.878382]  ? _raw_spin_unlock_irq+0x47/0x80
[   25.878407]  ? calculate_sigpending+0x7b/0xa0
[   25.878432]  ? __pfx_kthread+0x10/0x10
[   25.878453]  ret_from_fork+0x116/0x1d0
[   25.878479]  ? __pfx_kthread+0x10/0x10
[   25.878500]  ret_from_fork_asm+0x1a/0x30
[   25.878542]  </TASK>
[   25.878554] 
[   25.889582] The buggy address belongs to stack of task kunit_try_catch/297
[   25.890113]  and is located at offset 138 in frame:
[   25.890333]  kasan_stack_oob+0x0/0x300
[   25.890645] 
[   25.890794] This frame has 4 objects:
[   25.891038]  [48, 49) '__assertion'
[   25.891061]  [64, 72) 'array'
[   25.891224]  [96, 112) '__assertion'
[   25.891343]  [128, 138) 'stack_array'
[   25.891538] 
[   25.891785] The buggy address belongs to the physical page:
[   25.892070] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1061b7
[   25.892316] flags: 0x200000000000000(node=0|zone=2)
[   25.892563] raw: 0200000000000000 ffffea0004186dc8 ffffea0004186dc8 0000000000000000
[   25.892910] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   25.893380] page dumped because: kasan: bad access detected
[   25.894911] 
[   25.895271] Memory state around the buggy address:
[   25.895904]  ffff8881061b7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   25.896146]  ffff8881061b7c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00
[   25.896359] >ffff8881061b7d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   25.896605]                    ^
[   25.896771]  ffff8881061b7d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00
[   25.897018]  ffff8881061b7e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.897332] ==================================================================