Date
May 29, 2025, 7:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 24.542243] ================================================================== [ 24.543056] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 24.543545] Read of size 1 at addr ffff800080ac7b5f by task kunit_try_catch/251 [ 24.543671] [ 24.543765] CPU: 0 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250529 #1 PREEMPT [ 24.543992] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.544068] Hardware name: linux,dummy-virt (DT) [ 24.544152] Call trace: [ 24.544214] show_stack+0x20/0x38 (C) [ 24.544347] dump_stack_lvl+0x8c/0xd0 [ 24.544490] print_report+0x310/0x608 [ 24.544621] kasan_report+0xdc/0x128 [ 24.545275] __asan_report_load1_noabort+0x20/0x30 [ 24.545589] kasan_alloca_oob_left+0x2b8/0x310 [ 24.545725] kunit_try_run_case+0x170/0x3f0 [ 24.545848] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.545985] kthread+0x328/0x630 [ 24.546202] ret_from_fork+0x10/0x20 [ 24.546350] [ 24.546427] The buggy address belongs to stack of task kunit_try_catch/251 [ 24.546796] [ 24.546912] The buggy address belongs to the virtual mapping at [ 24.546912] [ffff800080ac0000, ffff800080ac9000) created by: [ 24.546912] kernel_clone+0x150/0x7a8 [ 24.547127] [ 24.547229] The buggy address belongs to the physical page: [ 24.547428] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1063eb [ 24.547602] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 24.547818] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 24.547965] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 24.548063] page dumped because: kasan: bad access detected [ 24.548140] [ 24.548182] Memory state around the buggy address: [ 24.548431] ffff800080ac7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.548536] ffff800080ac7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.548646] >ffff800080ac7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 24.548800] ^ [ 24.548952] ffff800080ac7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 24.549116] ffff800080ac7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 24.549262] ==================================================================
KNOWN ISSUE - log-parser-boot/kasan-bug-kasan-alloca-out-of-bounds-in-kasan_alloca_oob_left: Failure
[ 12.698546] ================================================================== [ 12.699167] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 12.699533] Read of size 1 at addr ffff888103a9fc3f by task kunit_try_catch/268 [ 12.699906] [ 12.700132] CPU: 0 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250529 #1 PREEMPT(voluntary) [ 12.700193] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.700206] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.700239] Call Trace: [ 12.700252] <TASK> [ 12.700268] dump_stack_lvl+0x73/0xb0 [ 12.700295] print_report+0xd1/0x650 [ 12.700318] ? __virt_addr_valid+0x1db/0x2d0 [ 12.700350] ? kasan_alloca_oob_left+0x320/0x380 [ 12.700373] ? kasan_addr_to_slab+0x11/0xa0 [ 12.700395] ? kasan_alloca_oob_left+0x320/0x380 [ 12.700431] kasan_report+0x141/0x180 [ 12.700454] ? kasan_alloca_oob_left+0x320/0x380 [ 12.700482] __asan_report_load1_noabort+0x18/0x20 [ 12.700503] kasan_alloca_oob_left+0x320/0x380 [ 12.700525] ? __kasan_check_write+0x18/0x20 [ 12.700545] ? __pfx_sched_clock_cpu+0x10/0x10 [ 12.700569] ? finish_task_switch.isra.0+0x153/0x700 [ 12.700593] ? __ww_mutex_lock.constprop.0+0xc5e/0x1e90 [ 12.700626] ? trace_hardirqs_on+0x37/0xe0 [ 12.700650] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 12.700677] ? __schedule+0x10cc/0x2b60 [ 12.700710] ? __pfx_read_tsc+0x10/0x10 [ 12.700731] ? ktime_get_ts64+0x86/0x230 [ 12.700756] kunit_try_run_case+0x1a5/0x480 [ 12.700790] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.700811] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.700835] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.700917] ? __kthread_parkme+0x82/0x180 [ 12.700938] ? preempt_count_sub+0x50/0x80 [ 12.700962] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.700983] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.701008] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.701033] kthread+0x337/0x6f0 [ 12.701052] ? trace_preempt_on+0x20/0xc0 [ 12.701074] ? __pfx_kthread+0x10/0x10 [ 12.701095] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.701117] ? calculate_sigpending+0x7b/0xa0 [ 12.701141] ? __pfx_kthread+0x10/0x10 [ 12.701163] ret_from_fork+0x116/0x1d0 [ 12.701182] ? __pfx_kthread+0x10/0x10 [ 12.701202] ret_from_fork_asm+0x1a/0x30 [ 12.701233] </TASK> [ 12.701243] [ 12.710184] The buggy address belongs to stack of task kunit_try_catch/268 [ 12.710517] [ 12.710630] The buggy address belongs to the physical page: [ 12.710890] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a9f [ 12.711237] flags: 0x200000000000000(node=0|zone=2) [ 12.711526] raw: 0200000000000000 ffffea00040ea7c8 ffffea00040ea7c8 0000000000000000 [ 12.711984] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 12.712307] page dumped because: kasan: bad access detected [ 12.712569] [ 12.712665] Memory state around the buggy address: [ 12.712985] ffff888103a9fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.713314] ffff888103a9fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.713624] >ffff888103a9fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 12.714061] ^ [ 12.714313] ffff888103a9fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 12.714623] ffff888103a9fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 12.714948] ==================================================================
KNOWN ISSUE - log-parser-boot/kasan-bug-kasan-alloca-out-of-bounds-in-kasan_alloca_oob_left: Failure