Date
July 6, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.414795] ================================================================== [ 20.415142] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 20.415224] Read of size 1 at addr ffff800080997b5f by task kunit_try_catch/251 [ 20.415277] [ 20.415347] CPU: 1 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 20.415470] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.415841] Hardware name: linux,dummy-virt (DT) [ 20.415957] Call trace: [ 20.416002] show_stack+0x20/0x38 (C) [ 20.416320] dump_stack_lvl+0x8c/0xd0 [ 20.416385] print_report+0x310/0x608 [ 20.416644] kasan_report+0xdc/0x128 [ 20.416805] __asan_report_load1_noabort+0x20/0x30 [ 20.416867] kasan_alloca_oob_left+0x2b8/0x310 [ 20.416917] kunit_try_run_case+0x170/0x3f0 [ 20.416975] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.417174] kthread+0x328/0x630 [ 20.417245] ret_from_fork+0x10/0x20 [ 20.417298] [ 20.417332] The buggy address belongs to stack of task kunit_try_catch/251 [ 20.417405] [ 20.417432] The buggy address belongs to the virtual mapping at [ 20.417432] [ffff800080990000, ffff800080999000) created by: [ 20.417432] kernel_clone+0x150/0x7a8 [ 20.417934] [ 20.417978] The buggy address belongs to the physical page: [ 20.418014] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106437 [ 20.418478] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.418590] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 20.419003] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.419156] page dumped because: kasan: bad access detected [ 20.419345] [ 20.419369] Memory state around the buggy address: [ 20.419434] ffff800080997a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.419650] ffff800080997a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.419767] >ffff800080997b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 20.419996] ^ [ 20.420055] ffff800080997b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 20.420111] ffff800080997c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 20.420153] ==================================================================
[ 13.458117] ================================================================== [ 13.458844] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 13.459214] Read of size 1 at addr ffff888103b67c3f by task kunit_try_catch/268 [ 13.459549] [ 13.459660] CPU: 0 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.459724] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.459736] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.459760] Call Trace: [ 13.459772] <TASK> [ 13.459789] dump_stack_lvl+0x73/0xb0 [ 13.459817] print_report+0xd1/0x650 [ 13.459840] ? __virt_addr_valid+0x1db/0x2d0 [ 13.459886] ? kasan_alloca_oob_left+0x320/0x380 [ 13.459909] ? kasan_addr_to_slab+0x11/0xa0 [ 13.459929] ? kasan_alloca_oob_left+0x320/0x380 [ 13.459962] kasan_report+0x141/0x180 [ 13.459984] ? kasan_alloca_oob_left+0x320/0x380 [ 13.460011] __asan_report_load1_noabort+0x18/0x20 [ 13.460035] kasan_alloca_oob_left+0x320/0x380 [ 13.460059] ? finish_task_switch.isra.0+0x153/0x700 [ 13.460081] ? ww_mutex_unlock+0x6e/0x150 [ 13.460103] ? trace_hardirqs_on+0x37/0xe0 [ 13.460128] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 13.460170] ? __schedule+0x10cc/0x2b60 [ 13.460191] ? __pfx_read_tsc+0x10/0x10 [ 13.460226] ? ktime_get_ts64+0x86/0x230 [ 13.460250] kunit_try_run_case+0x1a5/0x480 [ 13.460274] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.460297] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.460320] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.460344] ? __kthread_parkme+0x82/0x180 [ 13.460366] ? preempt_count_sub+0x50/0x80 [ 13.460389] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.460414] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.460438] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.460461] kthread+0x337/0x6f0 [ 13.460481] ? trace_preempt_on+0x20/0xc0 [ 13.460503] ? __pfx_kthread+0x10/0x10 [ 13.460525] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.460546] ? calculate_sigpending+0x7b/0xa0 [ 13.460570] ? __pfx_kthread+0x10/0x10 [ 13.460592] ret_from_fork+0x116/0x1d0 [ 13.460629] ? __pfx_kthread+0x10/0x10 [ 13.460652] ret_from_fork_asm+0x1a/0x30 [ 13.460683] </TASK> [ 13.460695] [ 13.468203] The buggy address belongs to stack of task kunit_try_catch/268 [ 13.468494] [ 13.468582] The buggy address belongs to the physical page: [ 13.468853] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b67 [ 13.469252] flags: 0x200000000000000(node=0|zone=2) [ 13.469514] raw: 0200000000000000 ffffea00040ed9c8 ffffea00040ed9c8 0000000000000000 [ 13.469832] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.470225] page dumped because: kasan: bad access detected [ 13.470501] [ 13.470571] Memory state around the buggy address: [ 13.470741] ffff888103b67b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.471078] ffff888103b67b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.471408] >ffff888103b67c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 13.471724] ^ [ 13.471884] ffff888103b67c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 13.472417] ffff888103b67d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.472730] ==================================================================