Date
July 2, 2025, 11:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 33.126133] ================================================================== [ 33.126302] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 33.126488] Read of size 1 at addr ffff800080ac7b5f by task kunit_try_catch/284 [ 33.126593] [ 33.126628] CPU: 1 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT [ 33.126734] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.126797] Hardware name: linux,dummy-virt (DT) [ 33.126832] Call trace: [ 33.126856] show_stack+0x20/0x38 (C) [ 33.126952] dump_stack_lvl+0x8c/0xd0 [ 33.127062] print_report+0x310/0x608 [ 33.127142] kasan_report+0xdc/0x128 [ 33.127282] __asan_report_load1_noabort+0x20/0x30 [ 33.127345] kasan_alloca_oob_left+0x2b8/0x310 [ 33.127466] kunit_try_run_case+0x170/0x3f0 [ 33.127566] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 33.127730] kthread+0x328/0x630 [ 33.127853] ret_from_fork+0x10/0x20 [ 33.128021] [ 33.128055] The buggy address belongs to stack of task kunit_try_catch/284 [ 33.128144] [ 33.128173] The buggy address belongs to the virtual mapping at [ 33.128173] [ffff800080ac0000, ffff800080ac9000) created by: [ 33.128173] kernel_clone+0x150/0x7a8 [ 33.128527] [ 33.128597] The buggy address belongs to the physical page: [ 33.128668] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109abc [ 33.128790] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 33.128883] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 33.128949] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 33.129117] page dumped because: kasan: bad access detected [ 33.129162] [ 33.129287] Memory state around the buggy address: [ 33.129336] ffff800080ac7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.129410] ffff800080ac7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.129494] >ffff800080ac7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 33.129547] ^ [ 33.129589] ffff800080ac7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 33.129897] ffff800080ac7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 33.130010] ==================================================================
[ 24.927280] ================================================================== [ 24.927729] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 24.928316] Read of size 1 at addr ffff888106227c3f by task kunit_try_catch/299 [ 24.928598] [ 24.928842] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) [ 24.928893] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.928905] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 24.928926] Call Trace: [ 24.928938] <TASK> [ 24.928954] dump_stack_lvl+0x73/0xb0 [ 24.928981] print_report+0xd1/0x650 [ 24.929003] ? __virt_addr_valid+0x1db/0x2d0 [ 24.929025] ? kasan_alloca_oob_left+0x320/0x380 [ 24.929046] ? kasan_addr_to_slab+0x11/0xa0 [ 24.929066] ? kasan_alloca_oob_left+0x320/0x380 [ 24.929129] kasan_report+0x141/0x180 [ 24.929163] ? kasan_alloca_oob_left+0x320/0x380 [ 24.929200] __asan_report_load1_noabort+0x18/0x20 [ 24.929224] kasan_alloca_oob_left+0x320/0x380 [ 24.929247] ? __pfx_sched_clock_cpu+0x10/0x10 [ 24.929270] ? finish_task_switch.isra.0+0x153/0x700 [ 24.929293] ? __ww_mutex_lock.constprop.0+0x1c7e/0x1e90 [ 24.929325] ? trace_hardirqs_on+0x37/0xe0 [ 24.929349] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 24.929374] ? __schedule+0x10cc/0x2b60 [ 24.929394] ? __pfx_read_tsc+0x10/0x10 [ 24.929416] ? ktime_get_ts64+0x86/0x230 [ 24.929440] kunit_try_run_case+0x1a5/0x480 [ 24.929465] ? __pfx_kunit_try_run_case+0x10/0x10 [ 24.929497] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 24.929518] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 24.929540] ? __kthread_parkme+0x82/0x180 [ 24.929560] ? preempt_count_sub+0x50/0x80 [ 24.929583] ? __pfx_kunit_try_run_case+0x10/0x10 [ 24.929608] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.929631] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 24.929656] kthread+0x337/0x6f0 [ 24.929688] ? trace_preempt_on+0x20/0xc0 [ 24.929711] ? __pfx_kthread+0x10/0x10 [ 24.929731] ? _raw_spin_unlock_irq+0x47/0x80 [ 24.929760] ? calculate_sigpending+0x7b/0xa0 [ 24.929783] ? __pfx_kthread+0x10/0x10 [ 24.929803] ret_from_fork+0x116/0x1d0 [ 24.929822] ? __pfx_kthread+0x10/0x10 [ 24.929842] ret_from_fork_asm+0x1a/0x30 [ 24.929872] </TASK> [ 24.929885] [ 24.943587] The buggy address belongs to stack of task kunit_try_catch/299 [ 24.944381] [ 24.944556] The buggy address belongs to the physical page: [ 24.944974] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106227 [ 24.945394] flags: 0x200000000000000(node=0|zone=2) [ 24.945688] raw: 0200000000000000 ffffea00041889c8 ffffea00041889c8 0000000000000000 [ 24.946513] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 24.947187] page dumped because: kasan: bad access detected [ 24.947382] [ 24.947451] Memory state around the buggy address: [ 24.947700] ffff888106227b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.948572] ffff888106227b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.949380] >ffff888106227c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 24.950125] ^ [ 24.950412] ffff888106227c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 24.950714] ffff888106227d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 24.951416] ==================================================================
[ 25.171465] ================================================================== [ 25.171934] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 25.172745] Read of size 1 at addr ffff8881061afc3f by task kunit_try_catch/300 [ 25.173014] [ 25.173163] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) [ 25.173220] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.173233] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.173258] Call Trace: [ 25.173272] <TASK> [ 25.173306] dump_stack_lvl+0x73/0xb0 [ 25.173342] print_report+0xd1/0x650 [ 25.173367] ? __virt_addr_valid+0x1db/0x2d0 [ 25.173393] ? kasan_alloca_oob_left+0x320/0x380 [ 25.173415] ? kasan_addr_to_slab+0x11/0xa0 [ 25.173436] ? kasan_alloca_oob_left+0x320/0x380 [ 25.173458] kasan_report+0x141/0x180 [ 25.173480] ? kasan_alloca_oob_left+0x320/0x380 [ 25.173506] __asan_report_load1_noabort+0x18/0x20 [ 25.173532] kasan_alloca_oob_left+0x320/0x380 [ 25.173552] ? __kasan_check_write+0x18/0x20 [ 25.173576] ? __pfx_sched_clock_cpu+0x10/0x10 [ 25.173599] ? irqentry_exit+0x2a/0x60 [ 25.173622] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 25.173644] ? trace_hardirqs_on+0x37/0xe0 [ 25.173672] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 25.173698] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 25.173725] kunit_try_run_case+0x1a5/0x480 [ 25.173753] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.173777] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 25.173799] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 25.173828] ? __kthread_parkme+0x82/0x180 [ 25.173849] ? preempt_count_sub+0x50/0x80 [ 25.173874] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.173899] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.173922] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 25.173949] kthread+0x337/0x6f0 [ 25.173969] ? trace_preempt_on+0x20/0xc0 [ 25.173991] ? __pfx_kthread+0x10/0x10 [ 25.174028] ? _raw_spin_unlock_irq+0x47/0x80 [ 25.174071] ? calculate_sigpending+0x7b/0xa0 [ 25.174096] ? __pfx_kthread+0x10/0x10 [ 25.174117] ret_from_fork+0x116/0x1d0 [ 25.174137] ? __pfx_kthread+0x10/0x10 [ 25.174158] ret_from_fork_asm+0x1a/0x30 [ 25.174189] </TASK> [ 25.174203] [ 25.186470] The buggy address belongs to stack of task kunit_try_catch/300 [ 25.186922] [ 25.187145] The buggy address belongs to the physical page: [ 25.187575] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1061af [ 25.187903] flags: 0x200000000000000(node=0|zone=2) [ 25.188140] raw: 0200000000000000 ffffea0004186bc8 ffffea0004186bc8 0000000000000000 [ 25.188731] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 25.189555] page dumped because: kasan: bad access detected [ 25.189991] [ 25.190096] Memory state around the buggy address: [ 25.190440] ffff8881061afb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.190732] ffff8881061afb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.191095] >ffff8881061afc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 25.191956] ^ [ 25.192470] ffff8881061afc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 25.192960] ffff8881061afd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 25.193865] ==================================================================