Date
June 23, 2025, 7:07 a.m.
Environment | |
---|---|
qemu-x86_64 |
[ 23.736810] ================================================================== [ 23.737554] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 23.738209] Read of size 1 at addr ffff888103a87c3f by task kunit_try_catch/280 [ 23.738541] [ 23.738937] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) [ 23.739203] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.739264] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.739295] Call Trace: [ 23.739317] <TASK> [ 23.739339] dump_stack_lvl+0x73/0xb0 [ 23.739406] print_report+0xd1/0x650 [ 23.739440] ? __virt_addr_valid+0x1db/0x2d0 [ 23.739473] ? kasan_alloca_oob_left+0x320/0x380 [ 23.739502] ? kasan_addr_to_slab+0x11/0xa0 [ 23.739531] ? kasan_alloca_oob_left+0x320/0x380 [ 23.739562] kasan_report+0x141/0x180 [ 23.739592] ? kasan_alloca_oob_left+0x320/0x380 [ 23.739629] __asan_report_load1_noabort+0x18/0x20 [ 23.739666] kasan_alloca_oob_left+0x320/0x380 [ 23.739699] ? __kasan_check_write+0x18/0x20 [ 23.739739] ? __pfx_sched_clock_cpu+0x10/0x10 [ 23.739778] ? finish_task_switch.isra.0+0x153/0x700 [ 23.739819] ? rwsem_down_write_slowpath+0x2ce/0x1150 [ 23.739879] ? trace_hardirqs_on+0x37/0xe0 [ 23.739903] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 23.739925] ? __schedule+0x10cc/0x2b60 [ 23.739943] ? __pfx_read_tsc+0x10/0x10 [ 23.739962] ? ktime_get_ts64+0x86/0x230 [ 23.739983] kunit_try_run_case+0x1a5/0x480 [ 23.740005] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.740025] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.740044] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.740074] ? __kthread_parkme+0x82/0x180 [ 23.740128] ? preempt_count_sub+0x50/0x80 [ 23.740162] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.740196] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.740220] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.740243] kthread+0x337/0x6f0 [ 23.740261] ? trace_preempt_on+0x20/0xc0 [ 23.740280] ? __pfx_kthread+0x10/0x10 [ 23.740298] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.740316] ? calculate_sigpending+0x7b/0xa0 [ 23.740337] ? __pfx_kthread+0x10/0x10 [ 23.740356] ret_from_fork+0x116/0x1d0 [ 23.740372] ? __pfx_kthread+0x10/0x10 [ 23.740411] ret_from_fork_asm+0x1a/0x30 [ 23.740438] </TASK> [ 23.740450] [ 23.752844] The buggy address belongs to stack of task kunit_try_catch/280 [ 23.753135] [ 23.753229] The buggy address belongs to the physical page: [ 23.753479] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a87 [ 23.753793] flags: 0x200000000000000(node=0|zone=2) [ 23.754890] raw: 0200000000000000 ffffea00040ea1c8 ffffea00040ea1c8 0000000000000000 [ 23.755154] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 23.755374] page dumped because: kasan: bad access detected [ 23.755540] [ 23.755612] Memory state around the buggy address: [ 23.756411] ffff888103a87b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.756716] ffff888103a87b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.757692] >ffff888103a87c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 23.757984] ^ [ 23.758277] ffff888103a87c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 23.758791] ffff888103a87d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 23.759599] ==================================================================