Date
July 22, 2025, 5:13 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 32.560438] ================================================================== [ 32.560540] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 32.560728] Read of size 1 at addr ffff800080b37b5f by task kunit_try_catch/282 [ 32.560785] [ 32.561010] CPU: 1 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250722 #1 PREEMPT [ 32.561246] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 32.561339] Hardware name: linux,dummy-virt (DT) [ 32.561431] Call trace: [ 32.561541] show_stack+0x20/0x38 (C) [ 32.561748] dump_stack_lvl+0x8c/0xd0 [ 32.561802] print_report+0x310/0x5e8 [ 32.562174] kasan_report+0xdc/0x128 [ 32.562329] __asan_report_load1_noabort+0x20/0x30 [ 32.562438] kasan_alloca_oob_left+0x2b8/0x310 [ 32.562604] kunit_try_run_case+0x170/0x3f0 [ 32.562730] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.562890] kthread+0x328/0x630 [ 32.562945] ret_from_fork+0x10/0x20 [ 32.563363] [ 32.563423] The buggy address belongs to stack of task kunit_try_catch/282 [ 32.563570] [ 32.563661] The buggy address belongs to a 8-page vmalloc region starting at 0xffff800080b30000 allocated at kernel_clone+0x150/0x7b0 [ 32.563882] The buggy address belongs to the physical page: [ 32.564228] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109253 [ 32.564310] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 32.564466] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 32.564603] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 32.564698] page dumped because: kasan: bad access detected [ 32.564773] [ 32.564863] Memory state around the buggy address: [ 32.564958] ffff800080b37a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.565011] ffff800080b37a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.565389] >ffff800080b37b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 32.565461] ^ [ 32.565573] ffff800080b37b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 32.565689] ffff800080b37c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 32.565825] ==================================================================
[ 26.920412] ================================================================== [ 26.921034] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 26.921360] Read of size 1 at addr ffff8881062dfc3f by task kunit_try_catch/299 [ 26.921718] [ 26.921856] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250722 #1 PREEMPT(voluntary) [ 26.921909] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.921923] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.921943] Call Trace: [ 26.921958] <TASK> [ 26.921974] dump_stack_lvl+0x73/0xb0 [ 26.922003] print_report+0xd1/0x640 [ 26.922026] ? __virt_addr_valid+0x1db/0x2d0 [ 26.922049] ? kasan_alloca_oob_left+0x320/0x380 [ 26.922073] ? kasan_addr_to_slab+0x11/0xa0 [ 26.922094] ? kasan_alloca_oob_left+0x320/0x380 [ 26.922118] kasan_report+0x141/0x180 [ 26.922140] ? kasan_alloca_oob_left+0x320/0x380 [ 26.922168] __asan_report_load1_noabort+0x18/0x20 [ 26.922202] kasan_alloca_oob_left+0x320/0x380 [ 26.922228] ? pick_task_fair+0xce/0x340 [ 26.922256] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 26.922279] ? trace_hardirqs_on+0x37/0xe0 [ 26.922302] ? __schedule+0x2070/0x2b60 [ 26.922329] ? __pfx_read_tsc+0x10/0x10 [ 26.922351] ? ktime_get_ts64+0x86/0x230 [ 26.922376] kunit_try_run_case+0x1a5/0x480 [ 26.922402] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.922426] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.922451] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.922535] ? __kthread_parkme+0x82/0x180 [ 26.922557] ? preempt_count_sub+0x50/0x80 [ 26.922581] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.922606] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.922631] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.922656] kthread+0x337/0x6f0 [ 26.922676] ? trace_preempt_on+0x20/0xc0 [ 26.922699] ? __pfx_kthread+0x10/0x10 [ 26.922721] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.922746] ? calculate_sigpending+0x7b/0xa0 [ 26.922770] ? __pfx_kthread+0x10/0x10 [ 26.922792] ret_from_fork+0x116/0x1d0 [ 26.922812] ? __pfx_kthread+0x10/0x10 [ 26.922846] ret_from_fork_asm+0x1a/0x30 [ 26.922878] </TASK> [ 26.922890] [ 26.930551] The buggy address belongs to stack of task kunit_try_catch/299 [ 26.930890] [ 26.930982] The buggy address belongs to the physical page: [ 26.931325] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1062df [ 26.931813] flags: 0x200000000000000(node=0|zone=2) [ 26.932066] raw: 0200000000000000 ffffea000418b7c8 ffffea000418b7c8 0000000000000000 [ 26.932519] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 26.932815] page dumped because: kasan: bad access detected [ 26.933062] [ 26.933130] Memory state around the buggy address: [ 26.933432] ffff8881062dfb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.933725] ffff8881062dfb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.934041] >ffff8881062dfc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 26.934365] ^ [ 26.934598] ffff8881062dfc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 26.934882] ffff8881062dfd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 26.935189] ==================================================================