Date
July 8, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.429635] ================================================================== [ 21.430014] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 21.430093] Read of size 1 at addr ffff800080a37b5f by task kunit_try_catch/251 [ 21.430144] [ 21.430188] CPU: 0 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 21.430494] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.430594] Hardware name: linux,dummy-virt (DT) [ 21.430634] Call trace: [ 21.430658] show_stack+0x20/0x38 (C) [ 21.430807] dump_stack_lvl+0x8c/0xd0 [ 21.430860] print_report+0x310/0x608 [ 21.430945] kasan_report+0xdc/0x128 [ 21.430994] __asan_report_load1_noabort+0x20/0x30 [ 21.431047] kasan_alloca_oob_left+0x2b8/0x310 [ 21.431096] kunit_try_run_case+0x170/0x3f0 [ 21.431147] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.431215] kthread+0x328/0x630 [ 21.431269] ret_from_fork+0x10/0x20 [ 21.431320] [ 21.431344] The buggy address belongs to stack of task kunit_try_catch/251 [ 21.431412] [ 21.431437] The buggy address belongs to the virtual mapping at [ 21.431437] [ffff800080a30000, ffff800080a39000) created by: [ 21.431437] kernel_clone+0x150/0x7a8 [ 21.431754] [ 21.431784] The buggy address belongs to the physical page: [ 21.431819] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106357 [ 21.431879] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.432403] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.432463] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.433001] page dumped because: kasan: bad access detected [ 21.433077] [ 21.433147] Memory state around the buggy address: [ 21.433307] ffff800080a37a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.433588] ffff800080a37a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.433664] >ffff800080a37b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 21.433722] ^ [ 21.433780] ffff800080a37b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 21.434142] ffff800080a37c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 21.434274] ==================================================================
[ 14.364440] ================================================================== [ 14.365732] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 14.366320] Read of size 1 at addr ffff888103b87c3f by task kunit_try_catch/269 [ 14.366997] [ 14.367138] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.367187] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.367200] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.367222] Call Trace: [ 14.367237] <TASK> [ 14.367255] dump_stack_lvl+0x73/0xb0 [ 14.367290] print_report+0xd1/0x650 [ 14.367315] ? __virt_addr_valid+0x1db/0x2d0 [ 14.367342] ? kasan_alloca_oob_left+0x320/0x380 [ 14.367366] ? kasan_addr_to_slab+0x11/0xa0 [ 14.367388] ? kasan_alloca_oob_left+0x320/0x380 [ 14.367412] kasan_report+0x141/0x180 [ 14.367434] ? kasan_alloca_oob_left+0x320/0x380 [ 14.367463] __asan_report_load1_noabort+0x18/0x20 [ 14.367488] kasan_alloca_oob_left+0x320/0x380 [ 14.367511] ? __pfx_sched_clock_cpu+0x10/0x10 [ 14.367537] ? finish_task_switch.isra.0+0x153/0x700 [ 14.367561] ? preempt_schedule_common+0xbe/0x110 [ 14.367587] ? trace_hardirqs_on+0x37/0xe0 [ 14.367624] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.367651] ? __schedule+0x10cc/0x2b60 [ 14.367673] ? __pfx_read_tsc+0x10/0x10 [ 14.367695] ? ktime_get_ts64+0x86/0x230 [ 14.367722] kunit_try_run_case+0x1a5/0x480 [ 14.367749] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.367772] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.367797] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.367822] ? __kthread_parkme+0x82/0x180 [ 14.367844] ? preempt_count_sub+0x50/0x80 [ 14.367869] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.367894] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.367919] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.368000] kthread+0x337/0x6f0 [ 14.368020] ? trace_preempt_on+0x20/0xc0 [ 14.368044] ? __pfx_kthread+0x10/0x10 [ 14.368065] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.368087] ? calculate_sigpending+0x7b/0xa0 [ 14.368112] ? __pfx_kthread+0x10/0x10 [ 14.368134] ret_from_fork+0x116/0x1d0 [ 14.368153] ? __pfx_kthread+0x10/0x10 [ 14.368173] ret_from_fork_asm+0x1a/0x30 [ 14.368207] </TASK> [ 14.368217] [ 14.376093] The buggy address belongs to stack of task kunit_try_catch/269 [ 14.376467] [ 14.376628] The buggy address belongs to the physical page: [ 14.376879] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b87 [ 14.377216] flags: 0x200000000000000(node=0|zone=2) [ 14.377396] raw: 0200000000000000 ffffea00040ee1c8 ffffea00040ee1c8 0000000000000000 [ 14.377832] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.378443] page dumped because: kasan: bad access detected [ 14.378666] [ 14.378752] Memory state around the buggy address: [ 14.379078] ffff888103b87b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.379353] ffff888103b87b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.379785] >ffff888103b87c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.380053] ^ [ 14.380277] ffff888103b87c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.380596] ffff888103b87d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.380935] ==================================================================