Date
July 14, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 55.264777] ================================================================== [ 55.273946] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 55.281407] Read of size 1 at addr ffff800089617b5f by task kunit_try_catch/335 [ 55.288698] [ 55.290185] CPU: 6 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 55.290241] Tainted: [B]=BAD_PAGE, [N]=TEST [ 55.290260] Hardware name: WinLink E850-96 board (DT) [ 55.290281] Call trace: [ 55.290295] show_stack+0x20/0x38 (C) [ 55.290337] dump_stack_lvl+0x8c/0xd0 [ 55.290372] print_report+0x310/0x5d0 [ 55.290401] kasan_report+0xdc/0x128 [ 55.290429] __asan_report_load1_noabort+0x20/0x30 [ 55.290462] kasan_alloca_oob_left+0x2b8/0x310 [ 55.290494] kunit_try_run_case+0x170/0x3f0 [ 55.290531] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 55.290566] kthread+0x328/0x630 [ 55.290597] ret_from_fork+0x10/0x20 [ 55.290635] [ 55.354496] The buggy address belongs to stack of task kunit_try_catch/335 [ 55.361377] [ 55.362829] The buggy address ffff800089617b5f belongs to a vmalloc virtual mapping [ 55.370471] The buggy address belongs to the physical page: [ 55.376027] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x88479d [ 55.384012] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 55.390532] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 55.398252] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 55.405972] page dumped because: kasan: bad access detected [ 55.411525] [ 55.413001] Memory state around the buggy address: [ 55.417782] ffff800089617a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 55.424984] ffff800089617a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 55.432190] >ffff800089617b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 55.439390] ^ [ 55.445470] ffff800089617b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 55.452676] ffff800089617c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 55.459877] ==================================================================
[ 31.907536] ================================================================== [ 31.907612] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 31.907670] Read of size 1 at addr ffff800080b77b5f by task kunit_try_catch/282 [ 31.907722] [ 31.907756] CPU: 0 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 31.907870] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.907899] Hardware name: linux,dummy-virt (DT) [ 31.907933] Call trace: [ 31.907965] show_stack+0x20/0x38 (C) [ 31.908017] dump_stack_lvl+0x8c/0xd0 [ 31.908923] print_report+0x310/0x5d0 [ 31.909399] kasan_report+0xdc/0x128 [ 31.909583] __asan_report_load1_noabort+0x20/0x30 [ 31.909718] kasan_alloca_oob_left+0x2b8/0x310 [ 31.909772] kunit_try_run_case+0x170/0x3f0 [ 31.910008] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.910131] kthread+0x328/0x630 [ 31.910302] ret_from_fork+0x10/0x20 [ 31.910445] [ 31.910516] The buggy address belongs to stack of task kunit_try_catch/282 [ 31.910664] [ 31.910706] The buggy address ffff800080b77b5f belongs to a vmalloc virtual mapping [ 31.911071] The buggy address belongs to the physical page: [ 31.911152] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109b1d [ 31.911277] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.911395] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 31.911551] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 31.911640] page dumped because: kasan: bad access detected [ 31.911965] [ 31.912098] Memory state around the buggy address: [ 31.912164] ffff800080b77a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.912308] ffff800080b77a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.912390] >ffff800080b77b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 31.912554] ^ [ 31.912763] ffff800080b77b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 31.912828] ffff800080b77c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 31.913156] ==================================================================
[ 26.185456] ================================================================== [ 26.185933] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 26.186637] Read of size 1 at addr ffff8881061a7c3f by task kunit_try_catch/300 [ 26.187160] [ 26.187306] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) [ 26.187379] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 26.187408] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.187432] Call Trace: [ 26.187444] <TASK> [ 26.187464] dump_stack_lvl+0x73/0xb0 [ 26.187510] print_report+0xd1/0x610 [ 26.187533] ? __virt_addr_valid+0x1db/0x2d0 [ 26.187558] ? kasan_alloca_oob_left+0x320/0x380 [ 26.187590] ? kasan_addr_to_slab+0x11/0xa0 [ 26.187611] ? kasan_alloca_oob_left+0x320/0x380 [ 26.187632] kasan_report+0x141/0x180 [ 26.187663] ? kasan_alloca_oob_left+0x320/0x380 [ 26.187689] __asan_report_load1_noabort+0x18/0x20 [ 26.187713] kasan_alloca_oob_left+0x320/0x380 [ 26.187733] ? update_curr+0x7d/0x7f0 [ 26.187769] ? finish_task_switch.isra.0+0x153/0x700 [ 26.187792] ? __mutex_lock.constprop.0+0x10ee/0x1280 [ 26.187846] ? trace_hardirqs_on+0x37/0xe0 [ 26.187871] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 26.187906] ? __schedule+0x10cc/0x2b60 [ 26.187930] ? __pfx_read_tsc+0x10/0x10 [ 26.188028] ? ktime_get_ts64+0x86/0x230 [ 26.188055] kunit_try_run_case+0x1a5/0x480 [ 26.188078] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.188125] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.188148] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.188172] ? __kthread_parkme+0x82/0x180 [ 26.188193] ? preempt_count_sub+0x50/0x80 [ 26.188216] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.188238] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.188263] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.188288] kthread+0x337/0x6f0 [ 26.188308] ? trace_preempt_on+0x20/0xc0 [ 26.188329] ? __pfx_kthread+0x10/0x10 [ 26.188349] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.188371] ? calculate_sigpending+0x7b/0xa0 [ 26.188394] ? __pfx_kthread+0x10/0x10 [ 26.188415] ret_from_fork+0x116/0x1d0 [ 26.188433] ? __pfx_kthread+0x10/0x10 [ 26.188454] ret_from_fork_asm+0x1a/0x30 [ 26.188484] </TASK> [ 26.188496] [ 26.198290] The buggy address belongs to stack of task kunit_try_catch/300 [ 26.198753] [ 26.198823] The buggy address belongs to the physical page: [ 26.199123] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1061a7 [ 26.199685] flags: 0x200000000000000(node=0|zone=2) [ 26.199941] raw: 0200000000000000 ffffea00041869c8 ffffea00041869c8 0000000000000000 [ 26.200164] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 26.200426] page dumped because: kasan: bad access detected [ 26.200739] [ 26.200832] Memory state around the buggy address: [ 26.201111] ffff8881061a7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.201371] ffff8881061a7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.201745] >ffff8881061a7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 26.202068] ^ [ 26.202539] ffff8881061a7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 26.202988] ffff8881061a7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 26.203432] ==================================================================