Hay
Date
July 11, 2025, 10:11 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   56.565085] ==================================================================
[   56.574296] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   56.581755] Read of size 1 at addr ffff800089667b5f by task kunit_try_catch/335
[   56.589047] 
[   56.590530] CPU: 5 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   56.590591] Tainted: [B]=BAD_PAGE, [N]=TEST
[   56.590609] Hardware name: WinLink E850-96 board (DT)
[   56.590632] Call trace:
[   56.590647]  show_stack+0x20/0x38 (C)
[   56.590683]  dump_stack_lvl+0x8c/0xd0
[   56.590718]  print_report+0x310/0x5d0
[   56.590747]  kasan_report+0xdc/0x128
[   56.590775]  __asan_report_load1_noabort+0x20/0x30
[   56.590811]  kasan_alloca_oob_left+0x2b8/0x310
[   56.590845]  kunit_try_run_case+0x170/0x3f0
[   56.590886]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   56.590919]  kthread+0x328/0x630
[   56.590949]  ret_from_fork+0x10/0x20
[   56.590986] 
[   56.654848] The buggy address belongs to stack of task kunit_try_catch/335
[   56.661720] 
[   56.663177] The buggy address ffff800089667b5f belongs to a vmalloc virtual mapping
[   56.670820] The buggy address belongs to the physical page:
[   56.676375] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x888826
[   56.684359] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   56.690878] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   56.698599] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   56.706318] page dumped because: kasan: bad access detected
[   56.711874] 
[   56.713350] Memory state around the buggy address:
[   56.718131]  ffff800089667a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.725333]  ffff800089667a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   56.732539] >ffff800089667b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   56.739738]                                                     ^
[   56.745818]  ffff800089667b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   56.753023]  ffff800089667c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   56.760225] ==================================================================

[   32.609890] ==================================================================
[   32.610094] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310
[   32.610172] Read of size 1 at addr ffff800080b47b5f by task kunit_try_catch/282
[   32.610226] 
[   32.610441] CPU: 0 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   32.610640] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.610701] Hardware name: linux,dummy-virt (DT)
[   32.610807] Call trace:
[   32.610855]  show_stack+0x20/0x38 (C)
[   32.610951]  dump_stack_lvl+0x8c/0xd0
[   32.611060]  print_report+0x310/0x5d0
[   32.611300]  kasan_report+0xdc/0x128
[   32.611369]  __asan_report_load1_noabort+0x20/0x30
[   32.611814]  kasan_alloca_oob_left+0x2b8/0x310
[   32.611900]  kunit_try_run_case+0x170/0x3f0
[   32.612044]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.612160]  kthread+0x328/0x630
[   32.612293]  ret_from_fork+0x10/0x20
[   32.612403] 
[   32.612458] The buggy address belongs to stack of task kunit_try_catch/282
[   32.612712] 
[   32.612744] The buggy address ffff800080b47b5f belongs to a vmalloc virtual mapping
[   32.612824] The buggy address belongs to the physical page:
[   32.612945] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109ad7
[   32.613381] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   32.613513] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   32.613679] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   32.613775] page dumped because: kasan: bad access detected
[   32.613844] 
[   32.613894] Memory state around the buggy address:
[   32.613961]  ffff800080b47a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.614008]  ffff800080b47a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   32.614062] >ffff800080b47b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb
[   32.614111]                                                     ^
[   32.614160]  ffff800080b47b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2
[   32.614214]  ffff800080b47c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00
[   32.614254] ==================================================================

[   25.685506] ==================================================================
[   25.686024] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380
[   25.686766] Read of size 1 at addr ffff888102bcfc3f by task kunit_try_catch/301
[   25.687537] 
[   25.687749] CPU: 1 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) 
[   25.687807] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.687820] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.687843] Call Trace:
[   25.687857]  <TASK>
[   25.687875]  dump_stack_lvl+0x73/0xb0
[   25.687909]  print_report+0xd1/0x610
[   25.687933]  ? __virt_addr_valid+0x1db/0x2d0
[   25.687973]  ? kasan_alloca_oob_left+0x320/0x380
[   25.687997]  ? kasan_addr_to_slab+0x11/0xa0
[   25.688017]  ? kasan_alloca_oob_left+0x320/0x380
[   25.688081]  kasan_report+0x141/0x180
[   25.688105]  ? kasan_alloca_oob_left+0x320/0x380
[   25.688157]  __asan_report_load1_noabort+0x18/0x20
[   25.688182]  kasan_alloca_oob_left+0x320/0x380
[   25.688205]  ? irqentry_exit+0x2a/0x60
[   25.688228]  ? sysvec_apic_timer_interrupt+0x50/0x90
[   25.688253]  ? trace_hardirqs_on+0x37/0xe0
[   25.688280]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   25.688307]  ? __pfx_kasan_alloca_oob_left+0x10/0x10
[   25.688426]  kunit_try_run_case+0x1a5/0x480
[   25.688452]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.688474]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   25.688498]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   25.688522]  ? __kthread_parkme+0x82/0x180
[   25.688545]  ? preempt_count_sub+0x50/0x80
[   25.688570]  ? __pfx_kunit_try_run_case+0x10/0x10
[   25.688592]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.688617]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   25.688642]  kthread+0x337/0x6f0
[   25.688663]  ? trace_preempt_on+0x20/0xc0
[   25.688686]  ? __pfx_kthread+0x10/0x10
[   25.688708]  ? _raw_spin_unlock_irq+0x47/0x80
[   25.688741]  ? calculate_sigpending+0x7b/0xa0
[   25.688821]  ? __pfx_kthread+0x10/0x10
[   25.688844]  ret_from_fork+0x116/0x1d0
[   25.688865]  ? __pfx_kthread+0x10/0x10
[   25.688887]  ret_from_fork_asm+0x1a/0x30
[   25.688919]  </TASK>
[   25.688932] 
[   25.703080] The buggy address belongs to stack of task kunit_try_catch/301
[   25.703843] 
[   25.704043] The buggy address belongs to the physical page:
[   25.704619] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102bcf
[   25.704981] flags: 0x200000000000000(node=0|zone=2)
[   25.705160] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000
[   25.705893] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   25.706633] page dumped because: kasan: bad access detected
[   25.707112] 
[   25.707262] Memory state around the buggy address:
[   25.707659]  ffff888102bcfb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.707919]  ffff888102bcfb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   25.708825] >ffff888102bcfc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb
[   25.709632]                                         ^
[   25.709897]  ffff888102bcfc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00
[   25.710117]  ffff888102bcfd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1
[   25.711394] ==================================================================