Date
July 17, 2025, 11:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.886504] ================================================================== [ 18.887410] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 18.887487] Read of size 1 at addr ffff800080aa7b5f by task kunit_try_catch/251 [ 18.887712] [ 18.887886] CPU: 0 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 18.888062] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.888094] Hardware name: linux,dummy-virt (DT) [ 18.888128] Call trace: [ 18.888154] show_stack+0x20/0x38 (C) [ 18.888341] dump_stack_lvl+0x8c/0xd0 [ 18.888412] print_report+0x310/0x5d0 [ 18.888461] kasan_report+0xdc/0x128 [ 18.888509] __asan_report_load1_noabort+0x20/0x30 [ 18.888560] kasan_alloca_oob_left+0x2b8/0x310 [ 18.888610] kunit_try_run_case+0x170/0x3f0 [ 18.888662] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.888718] kthread+0x328/0x630 [ 18.888762] ret_from_fork+0x10/0x20 [ 18.888811] [ 18.888837] The buggy address belongs to stack of task kunit_try_catch/251 [ 18.888920] [ 18.888943] The buggy address ffff800080aa7b5f belongs to a vmalloc virtual mapping [ 18.888990] The buggy address belongs to the physical page: [ 18.889023] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078de [ 18.889080] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.889146] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 18.889199] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.889242] page dumped because: kasan: bad access detected [ 18.889275] [ 18.889295] Memory state around the buggy address: [ 18.889330] ffff800080aa7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.889376] ffff800080aa7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.889422] >ffff800080aa7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 18.889464] ^ [ 18.889503] ffff800080aa7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 18.889547] ffff800080aa7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 18.889588] ==================================================================
[ 14.161401] ================================================================== [ 14.161948] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 14.162218] Read of size 1 at addr ffff888103a87c3f by task kunit_try_catch/268 [ 14.162444] [ 14.162534] CPU: 0 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.162579] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.162591] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.162614] Call Trace: [ 14.162626] <TASK> [ 14.162643] dump_stack_lvl+0x73/0xb0 [ 14.162672] print_report+0xd1/0x610 [ 14.162694] ? __virt_addr_valid+0x1db/0x2d0 [ 14.162717] ? kasan_alloca_oob_left+0x320/0x380 [ 14.162738] ? kasan_addr_to_slab+0x11/0xa0 [ 14.162758] ? kasan_alloca_oob_left+0x320/0x380 [ 14.162780] kasan_report+0x141/0x180 [ 14.162800] ? kasan_alloca_oob_left+0x320/0x380 [ 14.162828] __asan_report_load1_noabort+0x18/0x20 [ 14.162852] kasan_alloca_oob_left+0x320/0x380 [ 14.162874] ? __pfx_sched_clock_cpu+0x10/0x10 [ 14.162897] ? finish_task_switch.isra.0+0x153/0x700 [ 14.162919] ? __schedule+0x100e/0x2b60 [ 14.162940] ? trace_hardirqs_on+0x37/0xe0 [ 14.162965] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.162990] ? __schedule+0x10cc/0x2b60 [ 14.163011] ? __pfx_read_tsc+0x10/0x10 [ 14.163031] ? ktime_get_ts64+0x86/0x230 [ 14.163665] kunit_try_run_case+0x1a5/0x480 [ 14.163707] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.163730] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.163769] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.163793] ? __kthread_parkme+0x82/0x180 [ 14.163857] ? preempt_count_sub+0x50/0x80 [ 14.163979] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.164006] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.164031] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.164064] kthread+0x337/0x6f0 [ 14.164084] ? trace_preempt_on+0x20/0xc0 [ 14.164106] ? __pfx_kthread+0x10/0x10 [ 14.164127] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.164149] ? calculate_sigpending+0x7b/0xa0 [ 14.164174] ? __pfx_kthread+0x10/0x10 [ 14.164194] ret_from_fork+0x116/0x1d0 [ 14.164213] ? __pfx_kthread+0x10/0x10 [ 14.164233] ret_from_fork_asm+0x1a/0x30 [ 14.164266] </TASK> [ 14.164276] [ 14.176589] The buggy address belongs to stack of task kunit_try_catch/268 [ 14.176834] [ 14.176985] The buggy address belongs to the physical page: [ 14.177228] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a87 [ 14.177573] flags: 0x200000000000000(node=0|zone=2) [ 14.177753] raw: 0200000000000000 ffffea00040ea1c8 ffffea00040ea1c8 0000000000000000 [ 14.178230] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.178582] page dumped because: kasan: bad access detected [ 14.179302] [ 14.179414] Memory state around the buggy address: [ 14.179579] ffff888103a87b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.179946] ffff888103a87b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.180244] >ffff888103a87c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.180520] ^ [ 14.180734] ffff888103a87c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.181059] ffff888103a87d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.181357] ==================================================================