Date
June 2, 2025, 2:13 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.739062] ================================================================== [ 20.739557] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 20.740249] Read of size 1 at addr ffff800080b47b5f by task kunit_try_catch/241 [ 20.740757] [ 20.741135] CPU: 1 UID: 0 PID: 241 Comm: kunit_try_catch Tainted: G B N 6.14.10-rc1 #1 [ 20.741267] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.741403] Hardware name: linux,dummy-virt (DT) [ 20.741452] Call trace: [ 20.741486] show_stack+0x20/0x38 (C) [ 20.741572] dump_stack_lvl+0x8c/0xd0 [ 20.741634] print_report+0x310/0x608 [ 20.741691] kasan_report+0xdc/0x128 [ 20.741746] __asan_report_load1_noabort+0x20/0x30 [ 20.741804] kasan_alloca_oob_left+0x2b8/0x310 [ 20.741861] kunit_try_run_case+0x170/0x3f0 [ 20.741919] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.741981] kthread+0x318/0x620 [ 20.742035] ret_from_fork+0x10/0x20 [ 20.742631] [ 20.747176] The buggy address belongs to stack of task kunit_try_catch/241 [ 20.747769] [ 20.747959] The buggy address belongs to the virtual mapping at [ 20.747959] [ffff800080b40000, ffff800080b49000) created by: [ 20.747959] kernel_clone+0x150/0x7a8 [ 20.748685] [ 20.748981] The buggy address belongs to the physical page: [ 20.749504] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103f44 [ 20.750111] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.750531] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 20.750992] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.751794] page dumped because: kasan: bad access detected [ 20.752271] [ 20.752523] Memory state around the buggy address: [ 20.752983] ffff800080b47a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.753542] ffff800080b47a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.754083] >ffff800080b47b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 20.754745] ^ [ 20.755281] ffff800080b47b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 20.755723] ffff800080b47c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 20.756335] ==================================================================
[ 14.511223] ================================================================== [ 14.511683] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x322/0x380 [ 14.511931] Read of size 1 at addr ffff888102bdfc3f by task kunit_try_catch/259 [ 14.512501] [ 14.512779] CPU: 1 UID: 0 PID: 259 Comm: kunit_try_catch Tainted: G B N 6.14.10-rc1 #1 [ 14.512822] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.512834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.512855] Call Trace: [ 14.512867] <TASK> [ 14.512883] dump_stack_lvl+0x73/0xb0 [ 14.512909] print_report+0xd1/0x650 [ 14.512931] ? __virt_addr_valid+0x1db/0x2d0 [ 14.512954] ? kasan_alloca_oob_left+0x322/0x380 [ 14.512975] ? kasan_addr_to_slab+0x11/0xa0 [ 14.512995] ? kasan_alloca_oob_left+0x322/0x380 [ 14.513029] kasan_report+0x140/0x180 [ 14.513051] ? kasan_alloca_oob_left+0x322/0x380 [ 14.513077] __asan_report_load1_noabort+0x18/0x20 [ 14.513101] kasan_alloca_oob_left+0x322/0x380 [ 14.513124] ? finish_task_switch.isra.0+0x153/0x700 [ 14.513147] ? __ww_mutex_lock.constprop.0+0x4fe/0x1f20 [ 14.513174] ? trace_hardirqs_on+0x37/0xe0 [ 14.513199] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.513223] ? __schedule+0xce8/0x2840 [ 14.513245] ? __pfx_read_tsc+0x10/0x10 [ 14.513267] ? ktime_get_ts64+0x86/0x230 [ 14.513293] kunit_try_run_case+0x1a6/0x480 [ 14.513317] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.513337] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 14.513360] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.513383] ? __kthread_parkme+0x82/0x160 [ 14.513405] ? preempt_count_sub+0x50/0x80 [ 14.513429] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.513451] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.513476] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.513502] kthread+0x324/0x6e0 [ 14.513522] ? trace_preempt_on+0x20/0xc0 [ 14.513545] ? __pfx_kthread+0x10/0x10 [ 14.513567] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.513589] ? calculate_sigpending+0x7b/0xa0 [ 14.513611] ? __pfx_kthread+0x10/0x10 [ 14.513633] ret_from_fork+0x41/0x80 [ 14.513650] ? __pfx_kthread+0x10/0x10 [ 14.513672] ret_from_fork_asm+0x1a/0x30 [ 14.513704] </TASK> [ 14.513715] [ 14.522712] The buggy address belongs to stack of task kunit_try_catch/259 [ 14.523066] [ 14.523160] The buggy address belongs to the physical page: [ 14.523387] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102bdf [ 14.523745] flags: 0x200000000000000(node=0|zone=2) [ 14.523973] raw: 0200000000000000 ffffea00040af7c8 ffffea00040af7c8 0000000000000000 [ 14.524283] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.524519] page dumped because: kasan: bad access detected [ 14.524715] [ 14.524804] Memory state around the buggy address: [ 14.525033] ffff888102bdfb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.525533] ffff888102bdfb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.525799] >ffff888102bdfc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.526008] ^ [ 14.526247] ffff888102bdfc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.526555] ffff888102bdfd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.526813] ==================================================================