Date
July 1, 2025, 11:08 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.969672] ================================================================== [ 20.969825] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 20.969908] Read of size 1 at addr ffff800080997b5f by task kunit_try_catch/252 [ 20.969975] [ 20.970023] CPU: 0 UID: 0 PID: 252 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 20.970126] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.970173] Hardware name: linux,dummy-virt (DT) [ 20.970210] Call trace: [ 20.970244] show_stack+0x20/0x38 (C) [ 20.970302] dump_stack_lvl+0x8c/0xd0 [ 20.970366] print_report+0x310/0x608 [ 20.970428] kasan_report+0xdc/0x128 [ 20.970479] __asan_report_load1_noabort+0x20/0x30 [ 20.970547] kasan_alloca_oob_left+0x2b8/0x310 [ 20.970602] kunit_try_run_case+0x170/0x3f0 [ 20.970662] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.970723] kthread+0x328/0x630 [ 20.970772] ret_from_fork+0x10/0x20 [ 20.970837] [ 20.970873] The buggy address belongs to stack of task kunit_try_catch/252 [ 20.970950] [ 20.970993] The buggy address belongs to the virtual mapping at [ 20.970993] [ffff800080990000, ffff800080999000) created by: [ 20.970993] kernel_clone+0x150/0x7a8 [ 20.971411] [ 20.972024] The buggy address belongs to the physical page: [ 20.972713] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106e94 [ 20.973510] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.973742] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 20.973850] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.974008] page dumped because: kasan: bad access detected [ 20.974062] [ 20.974091] Memory state around the buggy address: [ 20.974492] ffff800080997a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.974674] ffff800080997a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.974915] >ffff800080997b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 20.975022] ^ [ 20.975364] ffff800080997b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 20.975581] ffff800080997c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 20.975708] ==================================================================
[ 13.352831] ================================================================== [ 13.353498] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 13.353853] Read of size 1 at addr ffff888103b0fc3f by task kunit_try_catch/268 [ 13.354153] [ 13.354271] CPU: 1 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.354320] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.354333] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.354355] Call Trace: [ 13.354368] <TASK> [ 13.354397] dump_stack_lvl+0x73/0xb0 [ 13.354426] print_report+0xd1/0x650 [ 13.354450] ? __virt_addr_valid+0x1db/0x2d0 [ 13.354473] ? kasan_alloca_oob_left+0x320/0x380 [ 13.354494] ? kasan_addr_to_slab+0x11/0xa0 [ 13.354514] ? kasan_alloca_oob_left+0x320/0x380 [ 13.354536] kasan_report+0x141/0x180 [ 13.354557] ? kasan_alloca_oob_left+0x320/0x380 [ 13.354582] __asan_report_load1_noabort+0x18/0x20 [ 13.354607] kasan_alloca_oob_left+0x320/0x380 [ 13.354629] ? finish_task_switch.isra.0+0x153/0x700 [ 13.354653] ? out_of_line_wait_on_bit_timeout+0x7e/0x190 [ 13.354678] ? trace_hardirqs_on+0x37/0xe0 [ 13.354703] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 13.354728] ? __schedule+0x10cc/0x2b60 [ 13.354748] ? __pfx_read_tsc+0x10/0x10 [ 13.354770] ? ktime_get_ts64+0x86/0x230 [ 13.354795] kunit_try_run_case+0x1a5/0x480 [ 13.354820] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.354841] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.354865] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.354887] ? __kthread_parkme+0x82/0x180 [ 13.354908] ? preempt_count_sub+0x50/0x80 [ 13.354931] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.354953] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.354976] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.355022] kthread+0x337/0x6f0 [ 13.355041] ? trace_preempt_on+0x20/0xc0 [ 13.355062] ? __pfx_kthread+0x10/0x10 [ 13.355083] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.355104] ? calculate_sigpending+0x7b/0xa0 [ 13.355128] ? __pfx_kthread+0x10/0x10 [ 13.355148] ret_from_fork+0x116/0x1d0 [ 13.355166] ? __pfx_kthread+0x10/0x10 [ 13.355185] ret_from_fork_asm+0x1a/0x30 [ 13.355217] </TASK> [ 13.355229] [ 13.363658] The buggy address belongs to stack of task kunit_try_catch/268 [ 13.363988] [ 13.364059] The buggy address belongs to the physical page: [ 13.364394] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b0f [ 13.364704] flags: 0x200000000000000(node=0|zone=2) [ 13.365056] raw: 0200000000000000 ffffea00040ec3c8 ffffea00040ec3c8 0000000000000000 [ 13.365328] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.365735] page dumped because: kasan: bad access detected [ 13.365998] [ 13.366094] Memory state around the buggy address: [ 13.366340] ffff888103b0fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.366573] ffff888103b0fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.366834] >ffff888103b0fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 13.367469] ^ [ 13.367817] ffff888103b0fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 13.368249] ffff888103b0fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.368491] ==================================================================