Date
July 17, 2025, 10:12 a.m.
Environment | |
---|---|
qemu-x86_64 |
[ 27.473415] ================================================================== [ 27.473824] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 27.474068] Read of size 1 at addr ffff888106287c3f by task kunit_try_catch/300 [ 27.474584] [ 27.474819] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) [ 27.474928] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.474942] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 27.474963] Call Trace: [ 27.474976] <TASK> [ 27.474993] dump_stack_lvl+0x73/0xb0 [ 27.475024] print_report+0xd1/0x610 [ 27.475046] ? __virt_addr_valid+0x1db/0x2d0 [ 27.475118] ? kasan_alloca_oob_left+0x320/0x380 [ 27.475144] ? kasan_addr_to_slab+0x11/0xa0 [ 27.475164] ? kasan_alloca_oob_left+0x320/0x380 [ 27.475186] kasan_report+0x141/0x180 [ 27.475208] ? kasan_alloca_oob_left+0x320/0x380 [ 27.475295] __asan_report_load1_noabort+0x18/0x20 [ 27.475322] kasan_alloca_oob_left+0x320/0x380 [ 27.475342] ? __kasan_check_write+0x18/0x20 [ 27.475366] ? __pfx_sched_clock_cpu+0x10/0x10 [ 27.475387] ? finish_task_switch.isra.0+0x153/0x700 [ 27.475409] ? down_read+0x1ce/0x270 [ 27.475432] ? trace_hardirqs_on+0x37/0xe0 [ 27.475484] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 27.475509] ? __schedule+0x10c6/0x2b60 [ 27.475530] ? __pfx_read_tsc+0x10/0x10 [ 27.475551] ? ktime_get_ts64+0x86/0x230 [ 27.475576] kunit_try_run_case+0x1a5/0x480 [ 27.475600] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.475621] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 27.475644] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 27.475708] ? __kthread_parkme+0x82/0x180 [ 27.475732] ? preempt_count_sub+0x50/0x80 [ 27.475754] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.475777] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.475800] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 27.475822] kthread+0x337/0x6f0 [ 27.475841] ? trace_preempt_on+0x20/0xc0 [ 27.475863] ? __pfx_kthread+0x10/0x10 [ 27.475883] ? _raw_spin_unlock_irq+0x47/0x80 [ 27.475904] ? calculate_sigpending+0x7b/0xa0 [ 27.475927] ? __pfx_kthread+0x10/0x10 [ 27.475947] ret_from_fork+0x116/0x1d0 [ 27.475965] ? __pfx_kthread+0x10/0x10 [ 27.475986] ret_from_fork_asm+0x1a/0x30 [ 27.476017] </TASK> [ 27.476028] [ 27.491432] The buggy address belongs to stack of task kunit_try_catch/300 [ 27.492033] [ 27.492193] The buggy address belongs to the physical page: [ 27.492706] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106287 [ 27.492949] flags: 0x200000000000000(node=0|zone=2) [ 27.493131] raw: 0200000000000000 ffffea000418a1c8 ffffea000418a1c8 0000000000000000 [ 27.493893] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 27.494752] page dumped because: kasan: bad access detected [ 27.495601] [ 27.495846] Memory state around the buggy address: [ 27.496432] ffff888106287b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.496927] ffff888106287b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.497156] >ffff888106287c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 27.497402] ^ [ 27.497721] ffff888106287c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 27.498015] ffff888106287d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 27.498380] ==================================================================