Date
July 24, 2025, 4:41 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.744457] ================================================================== [ 34.744539] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 34.744610] Read of size 1 at addr ffff800080aa7b4a by task kunit_try_catch/284 [ 34.744663] [ 34.744702] CPU: 1 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250724 #1 PREEMPT [ 34.744807] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.744836] Hardware name: linux,dummy-virt (DT) [ 34.744881] Call trace: [ 34.744908] show_stack+0x20/0x38 (C) [ 34.744962] dump_stack_lvl+0x8c/0xd0 [ 34.745010] print_report+0x310/0x5e8 [ 34.745057] kasan_report+0xdc/0x128 [ 34.745111] __asan_report_load1_noabort+0x20/0x30 [ 34.745162] kasan_alloca_oob_right+0x2dc/0x340 [ 34.745211] kunit_try_run_case+0x170/0x3f0 [ 34.745262] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.745314] kthread+0x328/0x630 [ 34.745359] ret_from_fork+0x10/0x20 [ 34.745409] [ 34.745441] The buggy address belongs to stack of task kunit_try_catch/284 [ 34.745497] [ 34.745519] The buggy address belongs to a 8-page vmalloc region starting at 0xffff800080aa0000 allocated at kernel_clone+0x150/0x7b0 [ 34.745633] The buggy address belongs to the physical page: [ 34.745671] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109a09 [ 34.745729] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 34.745814] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 34.745867] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 34.745910] page dumped because: kasan: bad access detected [ 34.746427] [ 34.746487] Memory state around the buggy address: [ 34.746545] ffff800080aa7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.746611] ffff800080aa7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.746676] >ffff800080aa7b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 34.746723] ^ [ 34.746777] ffff800080aa7b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 34.746871] ffff800080aa7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 34.746918] ==================================================================
[ 28.757273] ================================================================== [ 28.757750] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 28.758286] Read of size 1 at addr ffff8881049b7c4a by task kunit_try_catch/301 [ 28.758627] [ 28.758746] CPU: 1 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) [ 28.758800] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 28.758886] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 28.758910] Call Trace: [ 28.758947] <TASK> [ 28.758967] dump_stack_lvl+0x73/0xb0 [ 28.758997] print_report+0xd1/0x640 [ 28.759020] ? __virt_addr_valid+0x1db/0x2d0 [ 28.759045] ? kasan_alloca_oob_right+0x329/0x390 [ 28.759067] ? kasan_addr_to_slab+0x11/0xa0 [ 28.759087] ? kasan_alloca_oob_right+0x329/0x390 [ 28.759109] kasan_report+0x141/0x180 [ 28.759132] ? kasan_alloca_oob_right+0x329/0x390 [ 28.759158] __asan_report_load1_noabort+0x18/0x20 [ 28.759182] kasan_alloca_oob_right+0x329/0x390 [ 28.759203] ? __kasan_check_write+0x18/0x20 [ 28.759226] ? __pfx_sched_clock_cpu+0x10/0x10 [ 28.759247] ? finish_task_switch.isra.0+0x153/0x700 [ 28.759276] ? __wait_for_common+0x1fe/0x440 [ 28.759297] ? trace_hardirqs_on+0x37/0xe0 [ 28.759322] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 28.759346] ? __schedule+0x10da/0x2b60 [ 28.759393] ? __pfx_read_tsc+0x10/0x10 [ 28.759415] ? ktime_get_ts64+0x86/0x230 [ 28.759439] kunit_try_run_case+0x1a5/0x480 [ 28.759466] ? __pfx_kunit_try_run_case+0x10/0x10 [ 28.759489] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 28.759513] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 28.759538] ? __kthread_parkme+0x82/0x180 [ 28.759558] ? preempt_count_sub+0x50/0x80 [ 28.759589] ? __pfx_kunit_try_run_case+0x10/0x10 [ 28.759613] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 28.759636] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 28.759659] kthread+0x337/0x6f0 [ 28.759678] ? trace_preempt_on+0x20/0xc0 [ 28.759699] ? __pfx_kthread+0x10/0x10 [ 28.759720] ? _raw_spin_unlock_irq+0x47/0x80 [ 28.759744] ? calculate_sigpending+0x7b/0xa0 [ 28.759766] ? __pfx_kthread+0x10/0x10 [ 28.759805] ret_from_fork+0x116/0x1d0 [ 28.759825] ? __pfx_kthread+0x10/0x10 [ 28.759845] ret_from_fork_asm+0x1a/0x30 [ 28.759877] </TASK> [ 28.759888] [ 28.770897] The buggy address belongs to stack of task kunit_try_catch/301 [ 28.771490] [ 28.771569] The buggy address belongs to the physical page: [ 28.771921] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1049b7 [ 28.772332] flags: 0x200000000000000(node=0|zone=2) [ 28.772564] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 28.772899] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 28.773586] page dumped because: kasan: bad access detected [ 28.773833] [ 28.774146] Memory state around the buggy address: [ 28.774323] ffff8881049b7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.774840] ffff8881049b7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.775216] >ffff8881049b7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 28.775517] ^ [ 28.775761] ffff8881049b7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 28.776348] ffff8881049b7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 28.776670] ==================================================================