Date
July 24, 2025, 4:41 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.736778] ================================================================== [ 34.736906] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 34.736983] Read of size 1 at addr ffff800080ac7b5f by task kunit_try_catch/282 [ 34.737037] [ 34.737078] CPU: 1 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250724 #1 PREEMPT [ 34.737314] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.737376] Hardware name: linux,dummy-virt (DT) [ 34.737433] Call trace: [ 34.737461] show_stack+0x20/0x38 (C) [ 34.737518] dump_stack_lvl+0x8c/0xd0 [ 34.737585] print_report+0x310/0x5e8 [ 34.737651] kasan_report+0xdc/0x128 [ 34.737698] __asan_report_load1_noabort+0x20/0x30 [ 34.737783] kasan_alloca_oob_left+0x2b8/0x310 [ 34.737882] kunit_try_run_case+0x170/0x3f0 [ 34.737934] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.737989] kthread+0x328/0x630 [ 34.738033] ret_from_fork+0x10/0x20 [ 34.738085] [ 34.738141] The buggy address belongs to stack of task kunit_try_catch/282 [ 34.738246] [ 34.738269] The buggy address belongs to a 8-page vmalloc region starting at 0xffff800080ac0000 allocated at kernel_clone+0x150/0x7b0 [ 34.738378] The buggy address belongs to the physical page: [ 34.738417] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109a37 [ 34.738476] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 34.738682] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 34.738737] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 34.738815] page dumped because: kasan: bad access detected [ 34.738850] [ 34.738890] Memory state around the buggy address: [ 34.738926] ffff800080ac7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.739060] ffff800080ac7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.739152] >ffff800080ac7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 34.739263] ^ [ 34.739366] ffff800080ac7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 34.739438] ffff800080ac7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 34.739557] ==================================================================
[ 28.730800] ================================================================== [ 28.731224] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 28.731492] Read of size 1 at addr ffff8881061f7c3f by task kunit_try_catch/299 [ 28.731724] [ 28.731817] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) [ 28.731874] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 28.731889] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 28.731912] Call Trace: [ 28.731927] <TASK> [ 28.731947] dump_stack_lvl+0x73/0xb0 [ 28.731978] print_report+0xd1/0x640 [ 28.732005] ? __virt_addr_valid+0x1db/0x2d0 [ 28.732033] ? kasan_alloca_oob_left+0x320/0x380 [ 28.732055] ? kasan_addr_to_slab+0x11/0xa0 [ 28.732076] ? kasan_alloca_oob_left+0x320/0x380 [ 28.732098] kasan_report+0x141/0x180 [ 28.732121] ? kasan_alloca_oob_left+0x320/0x380 [ 28.732147] __asan_report_load1_noabort+0x18/0x20 [ 28.732172] kasan_alloca_oob_left+0x320/0x380 [ 28.732194] ? __pfx_sched_clock_cpu+0x10/0x10 [ 28.732218] ? finish_task_switch.isra.0+0x153/0x700 [ 28.732241] ? __wait_for_common+0x1fe/0x440 [ 28.732263] ? trace_hardirqs_on+0x37/0xe0 [ 28.732289] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 28.732313] ? __schedule+0x10da/0x2b60 [ 28.732337] ? __pfx_read_tsc+0x10/0x10 [ 28.732360] ? ktime_get_ts64+0x86/0x230 [ 28.732385] kunit_try_run_case+0x1a5/0x480 [ 28.732411] ? __pfx_kunit_try_run_case+0x10/0x10 [ 28.732433] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 28.732459] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 28.732483] ? __kthread_parkme+0x82/0x180 [ 28.732505] ? preempt_count_sub+0x50/0x80 [ 28.732527] ? __pfx_kunit_try_run_case+0x10/0x10 [ 28.732550] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 28.733069] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 28.733116] kthread+0x337/0x6f0 [ 28.733475] ? trace_preempt_on+0x20/0xc0 [ 28.733503] ? __pfx_kthread+0x10/0x10 [ 28.733537] ? _raw_spin_unlock_irq+0x47/0x80 [ 28.733562] ? calculate_sigpending+0x7b/0xa0 [ 28.733598] ? __pfx_kthread+0x10/0x10 [ 28.733620] ret_from_fork+0x116/0x1d0 [ 28.733640] ? __pfx_kthread+0x10/0x10 [ 28.733660] ret_from_fork_asm+0x1a/0x30 [ 28.733691] </TASK> [ 28.733702] [ 28.747861] The buggy address belongs to stack of task kunit_try_catch/299 [ 28.748278] [ 28.748363] The buggy address belongs to the physical page: [ 28.748647] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1061f7 [ 28.749260] flags: 0x200000000000000(node=0|zone=2) [ 28.749528] raw: 0200000000000000 ffffea0004187dc8 ffffea0004187dc8 0000000000000000 [ 28.749929] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 28.750319] page dumped because: kasan: bad access detected [ 28.750591] [ 28.750666] Memory state around the buggy address: [ 28.750994] ffff8881061f7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.751349] ffff8881061f7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.751633] >ffff8881061f7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 28.752049] ^ [ 28.752306] ffff8881061f7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 28.752623] ffff8881061f7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 28.752859] ==================================================================