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

Environment
e850-96
qemu-arm64
qemu-x86_64

[   56.486244] ==================================================================
[   56.495499] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   56.502962] Read of size 1 at addr ffff800089647b5f by task kunit_try_catch/332
[   56.510253] 
[   56.511737] CPU: 0 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   56.511800] Tainted: [B]=BAD_PAGE, [N]=TEST
[   56.511818] Hardware name: WinLink E850-96 board (DT)
[   56.511840] Call trace:
[   56.511853]  show_stack+0x20/0x38 (C)
[   56.511888]  dump_stack_lvl+0x8c/0xd0
[   56.511926]  print_report+0x310/0x5d0
[   56.511955]  kasan_report+0xdc/0x128
[   56.511981]  __asan_report_load1_noabort+0x20/0x30
[   56.512013]  kasan_alloca_oob_left+0x2b8/0x310
[   56.512046]  kunit_try_run_case+0x170/0x3f0
[   56.512079]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   56.512115]  kthread+0x328/0x630
[   56.512145]  ret_from_fork+0x10/0x20
[   56.512179] 
[   56.576054] The buggy address belongs to stack of task kunit_try_catch/332
[   56.582930] 
[   56.584383] The buggy address ffff800089647b5f belongs to a vmalloc virtual mapping
[   56.592025] The buggy address belongs to the physical page:
[   56.597582] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8887d7
[   56.605566] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   56.612088] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   56.619806] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   56.627528] page dumped because: kasan: bad access detected
[   56.633080] 
[   56.634556] Memory state around the buggy address:
[   56.639337]  ffff800089647a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.646539]  ffff800089647a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.653743] >ffff800089647b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   56.660945]                                                     ^
[   56.667024]  ffff800089647b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   56.674230]  ffff800089647c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   56.681431] ==================================================================

[   32.872318] ==================================================================
[   32.872396] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   32.873590] Read of size 1 at addr ffff800080b67b5f by task kunit_try_catch/283
[   32.873708] 
[   32.873855] CPU: 1 UID: 0 PID: 283 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   32.874000] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.874102] Hardware name: linux,dummy-virt (DT)
[   32.874138] Call trace:
[   32.874162]  show_stack+0x20/0x38 (C)
[   32.874226]  dump_stack_lvl+0x8c/0xd0
[   32.874584]  print_report+0x310/0x5d0
[   32.874721]  kasan_report+0xdc/0x128
[   32.874794]  __asan_report_load1_noabort+0x20/0x30
[   32.874914]  kasan_alloca_oob_left+0x2b8/0x310
[   32.875009]  kunit_try_run_case+0x170/0x3f0
[   32.875173]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.875251]  kthread+0x328/0x630
[   32.875679]  ret_from_fork+0x10/0x20
[   32.875850] 
[   32.875908] The buggy address belongs to stack of task kunit_try_catch/283
[   32.876074] 
[   32.876153] The buggy address ffff800080b67b5f belongs to a vmalloc virtual mapping
[   32.876219] The buggy address belongs to the physical page:
[   32.876255] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106534
[   32.876668] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   32.876871] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   32.877243] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   32.877599] page dumped because: kasan: bad access detected
[   32.877775] 
[   32.877859] Memory state around the buggy address:
[   32.877933]  ffff800080b67a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.877996]  ffff800080b67a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.878043] >ffff800080b67b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   32.878369]                                                     ^
[   32.878536]  ffff800080b67b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   32.878631]  ffff800080b67c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   32.878785] ==================================================================

[   25.903785] ==================================================================
[   25.904706] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380
[   25.905901] Read of size 1 at addr ffff88810627fc3f by task kunit_try_catch/299
[   25.906881] 
[   25.907295] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   25.907352] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.907365] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.907387] Call Trace:
[   25.907401]  <TASK>
[   25.907418]  dump_stack_lvl+0x73/0xb0
[   25.907452]  print_report+0xd1/0x610
[   25.907476]  ? __virt_addr_valid+0x1db/0x2d0
[   25.907501]  ? kasan_alloca_oob_left+0x320/0x380
[   25.907536]  ? kasan_addr_to_slab+0x11/0xa0
[   25.907556]  ? kasan_alloca_oob_left+0x320/0x380
[   25.907700]  kasan_report+0x141/0x180
[   25.907875]  ? kasan_alloca_oob_left+0x320/0x380
[   25.907915]  __asan_report_load1_noabort+0x18/0x20
[   25.907942]  kasan_alloca_oob_left+0x320/0x380
[   25.907964]  ? __kasan_check_write+0x18/0x20
[   25.907988]  ? __pfx_sched_clock_cpu+0x10/0x10
[   25.908012]  ? finish_task_switch.isra.0+0x153/0x700
[   25.908036]  ? try_to_take_rt_mutex+0x7be/0xff0
[   25.908061]  ? trace_hardirqs_on+0x37/0xe0
[   25.908087]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   25.908113]  ? __schedule+0x10cc/0x2b60
[   25.908134]  ? __pfx_read_tsc+0x10/0x10
[   25.908156]  ? ktime_get_ts64+0x86/0x230
[   25.908180]  kunit_try_run_case+0x1a5/0x480
[   25.908205]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.908226]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   25.908248]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   25.908270]  ? __kthread_parkme+0x82/0x180
[   25.908291]  ? preempt_count_sub+0x50/0x80
[   25.908314]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.908337]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.908363]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   25.908389]  kthread+0x337/0x6f0
[   25.908409]  ? trace_preempt_on+0x20/0xc0
[   25.908431]  ? __pfx_kthread+0x10/0x10
[   25.908452]  ? _raw_spin_unlock_irq+0x47/0x80
[   25.908476]  ? calculate_sigpending+0x7b/0xa0
[   25.908501]  ? __pfx_kthread+0x10/0x10
[   25.908535]  ret_from_fork+0x116/0x1d0
[   25.908554]  ? __pfx_kthread+0x10/0x10
[   25.908575]  ret_from_fork_asm+0x1a/0x30
[   25.908617]  </TASK>
[   25.908629] 
[   25.923569] The buggy address belongs to stack of task kunit_try_catch/299
[   25.924616] 
[   25.924776] The buggy address belongs to the physical page:
[   25.925540] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10627f
[   25.926579] flags: 0x200000000000000(node=0|zone=2)
[   25.927130] raw: 0200000000000000 ffffea0004189fc8 ffffea0004189fc8 0000000000000000
[   25.927992] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   25.928694] page dumped because: kasan: bad access detected
[   25.929124] 
[   25.929198] Memory state around the buggy address:
[   25.929350]  ffff88810627fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.929577]  ffff88810627fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.929893] >ffff88810627fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   25.930425]                                         ^
[   25.930868]  ffff88810627fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   25.931273]  ffff88810627fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   25.931674] ==================================================================