Date
July 3, 2025, 11:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 22.469580] ================================================================== [ 22.470103] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 22.470242] Read of size 1 at addr ffff800080977b5f by task kunit_try_catch/251 [ 22.470300] [ 22.470344] CPU: 0 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 22.470467] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.470497] Hardware name: linux,dummy-virt (DT) [ 22.470536] Call trace: [ 22.470563] show_stack+0x20/0x38 (C) [ 22.470620] dump_stack_lvl+0x8c/0xd0 [ 22.470672] print_report+0x310/0x608 [ 22.470722] kasan_report+0xdc/0x128 [ 22.470769] __asan_report_load1_noabort+0x20/0x30 [ 22.470822] kasan_alloca_oob_left+0x2b8/0x310 [ 22.470872] kunit_try_run_case+0x170/0x3f0 [ 22.470922] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 22.470979] kthread+0x328/0x630 [ 22.471039] ret_from_fork+0x10/0x20 [ 22.471138] [ 22.471185] The buggy address belongs to stack of task kunit_try_catch/251 [ 22.471327] [ 22.471386] The buggy address belongs to the virtual mapping at [ 22.471386] [ffff800080970000, ffff800080979000) created by: [ 22.471386] kernel_clone+0x150/0x7a8 [ 22.471557] [ 22.471620] The buggy address belongs to the physical page: [ 22.471695] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1077c7 [ 22.471823] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 22.471998] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 22.472192] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 22.472339] page dumped because: kasan: bad access detected [ 22.472416] [ 22.472471] Memory state around the buggy address: [ 22.472608] ffff800080977a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 22.472767] ffff800080977a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 22.472876] >ffff800080977b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 22.473012] ^ [ 22.473107] ffff800080977b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 22.473202] ffff800080977c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 22.473293] ==================================================================
[ 13.408675] ================================================================== [ 13.409161] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 13.409487] Read of size 1 at addr ffff888103a1fc3f by task kunit_try_catch/268 [ 13.409894] [ 13.410022] CPU: 0 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.410071] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.410082] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.410105] Call Trace: [ 13.410117] <TASK> [ 13.410158] dump_stack_lvl+0x73/0xb0 [ 13.410191] print_report+0xd1/0x650 [ 13.410213] ? __virt_addr_valid+0x1db/0x2d0 [ 13.410237] ? kasan_alloca_oob_left+0x320/0x380 [ 13.410260] ? kasan_addr_to_slab+0x11/0xa0 [ 13.410279] ? kasan_alloca_oob_left+0x320/0x380 [ 13.410302] kasan_report+0x141/0x180 [ 13.410322] ? kasan_alloca_oob_left+0x320/0x380 [ 13.410348] __asan_report_load1_noabort+0x18/0x20 [ 13.410372] kasan_alloca_oob_left+0x320/0x380 [ 13.410395] ? finish_task_switch.isra.0+0x153/0x700 [ 13.410418] ? out_of_line_wait_on_bit_timeout+0x7e/0x190 [ 13.410443] ? trace_hardirqs_on+0x37/0xe0 [ 13.410469] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 13.410494] ? __schedule+0x10cc/0x2b60 [ 13.410518] ? __pfx_read_tsc+0x10/0x10 [ 13.410540] ? ktime_get_ts64+0x86/0x230 [ 13.410564] kunit_try_run_case+0x1a5/0x480 [ 13.410590] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.410611] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.410633] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.410654] ? __kthread_parkme+0x82/0x180 [ 13.410676] ? preempt_count_sub+0x50/0x80 [ 13.410698] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.410720] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.410743] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.410766] kthread+0x337/0x6f0 [ 13.410784] ? trace_preempt_on+0x20/0xc0 [ 13.410805] ? __pfx_kthread+0x10/0x10 [ 13.410825] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.410845] ? calculate_sigpending+0x7b/0xa0 [ 13.410869] ? __pfx_kthread+0x10/0x10 [ 13.410890] ret_from_fork+0x116/0x1d0 [ 13.410907] ? __pfx_kthread+0x10/0x10 [ 13.410927] ret_from_fork_asm+0x1a/0x30 [ 13.410957] </TASK> [ 13.410969] [ 13.419148] The buggy address belongs to stack of task kunit_try_catch/268 [ 13.419476] [ 13.419550] The buggy address belongs to the physical page: [ 13.419727] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a1f [ 13.420365] flags: 0x200000000000000(node=0|zone=2) [ 13.420619] raw: 0200000000000000 ffffea00040e87c8 ffffea00040e87c8 0000000000000000 [ 13.420919] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.421249] page dumped because: kasan: bad access detected [ 13.421460] [ 13.421605] Memory state around the buggy address: [ 13.421804] ffff888103a1fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.422048] ffff888103a1fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.422275] >ffff888103a1fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 13.422593] ^ [ 13.422810] ffff888103a1fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 13.423164] ffff888103a1fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.423911] ==================================================================