Date
Dec. 5, 2024, 2:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 32.937809] ================================================================== [ 32.939201] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 32.940208] Read of size 1 at addr ffff800080a27bdf by task kunit_try_catch/240 [ 32.941089] [ 32.941515] CPU: 1 UID: 0 PID: 240 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241205 #1 [ 32.942617] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.943276] Hardware name: linux,dummy-virt (DT) [ 32.944142] Call trace: [ 32.945127] show_stack+0x20/0x38 (C) [ 32.945743] dump_stack_lvl+0x8c/0xd0 [ 32.946494] print_report+0x2fc/0x5e0 [ 32.947170] kasan_report+0xc8/0x118 [ 32.947753] __asan_report_load1_noabort+0x20/0x30 [ 32.948476] kasan_alloca_oob_left+0x2b8/0x310 [ 32.949498] kunit_try_run_case+0x14c/0x3d0 [ 32.950329] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.951197] kthread+0x24c/0x2d0 [ 32.952239] ret_from_fork+0x10/0x20 [ 32.953094] [ 32.953382] The buggy address belongs to stack of task kunit_try_catch/240 [ 32.954312] [ 32.954684] The buggy address belongs to the virtual mapping at [ 32.954684] [ffff800080a20000, ffff800080a29000) created by: [ 32.954684] kernel_clone+0x140/0x788 [ 32.956380] [ 32.956810] The buggy address belongs to the physical page: [ 32.957863] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1063e1 [ 32.958913] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 32.959959] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 32.960843] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 32.961928] page dumped because: kasan: bad access detected [ 32.962657] [ 32.963047] Memory state around the buggy address: [ 32.964002] ffff800080a27a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.964845] ffff800080a27b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.965733] >ffff800080a27b80: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 32.966666] ^ [ 32.967732] ffff800080a27c00: cb cb cb cb 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 [ 32.968517] ffff800080a27c80: 04 f2 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 [ 32.969490] ==================================================================
[ 30.750598] ================================================================== [ 30.751813] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x31f/0x380 [ 30.752932] Read of size 1 at addr ffff888102c27c9f by task kunit_try_catch/258 [ 30.753629] [ 30.753838] CPU: 0 UID: 0 PID: 258 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241205 #1 [ 30.754648] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.755398] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 30.756667] Call Trace: [ 30.757069] <TASK> [ 30.757289] dump_stack_lvl+0x73/0xb0 [ 30.757988] print_report+0xd1/0x640 [ 30.758611] ? __virt_addr_valid+0x1db/0x2d0 [ 30.759431] ? kasan_addr_to_slab+0x11/0xa0 [ 30.759971] kasan_report+0x102/0x140 [ 30.760486] ? kasan_alloca_oob_left+0x31f/0x380 [ 30.761109] ? kasan_alloca_oob_left+0x31f/0x380 [ 30.762006] __asan_report_load1_noabort+0x18/0x20 [ 30.762509] kasan_alloca_oob_left+0x31f/0x380 [ 30.762911] ? uclamp_rq_dec_id+0x3c0/0x460 [ 30.763330] ? __schedule+0xc70/0x27e0 [ 30.763750] ? trace_hardirqs_on+0x37/0xe0 [ 30.764163] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 30.764634] ? __schedule+0xc70/0x27e0 [ 30.765443] ? __pfx_read_tsc+0x10/0x10 [ 30.766301] ? ktime_get_ts64+0x86/0x230 [ 30.767527] kunit_try_run_case+0x1b3/0x490 [ 30.768626] ? __pfx_kunit_try_run_case+0x10/0x10 [ 30.769421] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 30.770673] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 30.771461] ? __kthread_parkme+0x82/0x160 [ 30.772127] ? preempt_count_sub+0x50/0x80 [ 30.772813] ? __pfx_kunit_try_run_case+0x10/0x10 [ 30.773676] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 30.774824] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 30.775424] kthread+0x257/0x310 [ 30.776122] ? __pfx_kthread+0x10/0x10 [ 30.776722] ret_from_fork+0x41/0x80 [ 30.777193] ? __pfx_kthread+0x10/0x10 [ 30.777503] ret_from_fork_asm+0x1a/0x30 [ 30.777885] </TASK> [ 30.778192] [ 30.778389] The buggy address belongs to stack of task kunit_try_catch/258 [ 30.779170] [ 30.779421] The buggy address belongs to the physical page: [ 30.780080] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102c27 [ 30.780562] flags: 0x200000000000000(node=0|zone=2) [ 30.782254] raw: 0200000000000000 ffffea00040b09c8 ffffea00040b09c8 0000000000000000 [ 30.783002] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 30.784079] page dumped because: kasan: bad access detected [ 30.784557] [ 30.785305] Memory state around the buggy address: [ 30.785888] ffff888102c27b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.787180] ffff888102c27c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.787790] >ffff888102c27c80: ca ca ca ca 00 02 cb cb cb cb cb cb 00 00 00 00 [ 30.788591] ^ [ 30.789025] ffff888102c27d00: 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 00 f3 [ 30.790014] ffff888102c27d80: f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 [ 30.790756] ==================================================================