Date
July 25, 2025, 3:13 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.572720] ================================================================== [ 34.572814] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 34.572914] Read of size 1 at addr ffff800080bc7b5f by task kunit_try_catch/283 [ 34.572968] [ 34.573003] CPU: 0 UID: 0 PID: 283 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250725 #1 PREEMPT [ 34.573093] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 34.573132] Hardware name: linux,dummy-virt (DT) [ 34.573176] Call trace: [ 34.573202] show_stack+0x20/0x38 (C) [ 34.573382] dump_stack_lvl+0x8c/0xd0 [ 34.573436] print_report+0x310/0x5e8 [ 34.573736] kasan_report+0xdc/0x128 [ 34.573790] __asan_report_load1_noabort+0x20/0x30 [ 34.573985] kasan_alloca_oob_left+0x2b8/0x310 [ 34.574102] kunit_try_run_case+0x170/0x3f0 [ 34.574155] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.574244] kthread+0x328/0x630 [ 34.574310] ret_from_fork+0x10/0x20 [ 34.574363] [ 34.574398] The buggy address belongs to stack of task kunit_try_catch/283 [ 34.574476] [ 34.574546] The buggy address belongs to a 8-page vmalloc region starting at 0xffff800080bc0000 allocated at kernel_clone+0x150/0x7b0 [ 34.574662] The buggy address belongs to the physical page: [ 34.574764] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109a7e [ 34.574822] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 34.574916] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 34.575101] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 34.575145] page dumped because: kasan: bad access detected [ 34.575179] [ 34.575222] Memory state around the buggy address: [ 34.575256] ffff800080bc7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.575302] ffff800080bc7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.575554] >ffff800080bc7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 34.575664] ^ [ 34.575758] ffff800080bc7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 34.575842] ffff800080bc7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 34.575952] ==================================================================
[ 27.662097] ================================================================== [ 27.662565] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 27.662875] Read of size 1 at addr ffff8881062e7c3f by task kunit_try_catch/300 [ 27.663245] [ 27.663359] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) [ 27.663409] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.663422] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 27.663444] Call Trace: [ 27.663458] <TASK> [ 27.663473] dump_stack_lvl+0x73/0xb0 [ 27.663504] print_report+0xd1/0x640 [ 27.663528] ? __virt_addr_valid+0x1db/0x2d0 [ 27.663554] ? kasan_alloca_oob_left+0x320/0x380 [ 27.663578] ? kasan_addr_to_slab+0x11/0xa0 [ 27.663600] ? kasan_alloca_oob_left+0x320/0x380 [ 27.663624] kasan_report+0x141/0x180 [ 27.663647] ? kasan_alloca_oob_left+0x320/0x380 [ 27.663676] __asan_report_load1_noabort+0x18/0x20 [ 27.663702] kasan_alloca_oob_left+0x320/0x380 [ 27.663728] ? finish_task_switch.isra.0+0x153/0x700 [ 27.663752] ? mutex_lock_interruptible+0xbe/0xe0 [ 27.663778] ? trace_hardirqs_on+0x37/0xe0 [ 27.663804] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 27.663831] ? __schedule+0x10da/0x2b60 [ 27.663853] ? __pfx_read_tsc+0x10/0x10 [ 27.663877] ? ktime_get_ts64+0x86/0x230 [ 27.663903] kunit_try_run_case+0x1a5/0x480 [ 27.663930] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.663965] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 27.663988] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 27.664015] ? __kthread_parkme+0x82/0x180 [ 27.664036] ? preempt_count_sub+0x50/0x80 [ 27.664216] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.664256] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.664284] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 27.664309] kthread+0x337/0x6f0 [ 27.664331] ? trace_preempt_on+0x20/0xc0 [ 27.664355] ? __pfx_kthread+0x10/0x10 [ 27.664378] ? _raw_spin_unlock_irq+0x47/0x80 [ 27.664403] ? calculate_sigpending+0x7b/0xa0 [ 27.664428] ? __pfx_kthread+0x10/0x10 [ 27.664451] ret_from_fork+0x116/0x1d0 [ 27.664472] ? __pfx_kthread+0x10/0x10 [ 27.664495] ret_from_fork_asm+0x1a/0x30 [ 27.664528] </TASK> [ 27.664540] [ 27.672808] The buggy address belongs to stack of task kunit_try_catch/300 [ 27.673122] [ 27.673227] The buggy address belongs to the physical page: [ 27.673406] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1062e7 [ 27.673686] flags: 0x200000000000000(node=0|zone=2) [ 27.673928] raw: 0200000000000000 ffffea000418b9c8 ffffea000418b9c8 0000000000000000 [ 27.674490] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 27.674720] page dumped because: kasan: bad access detected [ 27.674956] [ 27.675055] Memory state around the buggy address: [ 27.675287] ffff8881062e7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.675614] ffff8881062e7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.676095] >ffff8881062e7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 27.676368] ^ [ 27.676611] ffff8881062e7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 27.676924] ffff8881062e7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 27.677228] ==================================================================