Date
July 10, 2025, 9:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 31.725527] ================================================================== [ 31.725592] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 31.725647] Read of size 1 at addr ffff800080b17b4a by task kunit_try_catch/284 [ 31.725867] [ 31.725992] CPU: 0 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT [ 31.726106] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.726154] Hardware name: linux,dummy-virt (DT) [ 31.726188] Call trace: [ 31.726375] show_stack+0x20/0x38 (C) [ 31.726524] dump_stack_lvl+0x8c/0xd0 [ 31.726576] print_report+0x310/0x5d0 [ 31.726747] kasan_report+0xdc/0x128 [ 31.726920] __asan_report_load1_noabort+0x20/0x30 [ 31.727005] kasan_alloca_oob_right+0x2dc/0x340 [ 31.727155] kunit_try_run_case+0x170/0x3f0 [ 31.727211] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.727385] kthread+0x328/0x630 [ 31.727576] ret_from_fork+0x10/0x20 [ 31.727671] [ 31.727760] The buggy address belongs to stack of task kunit_try_catch/284 [ 31.727837] [ 31.727878] The buggy address ffff800080b17b4a belongs to a vmalloc virtual mapping [ 31.728111] The buggy address belongs to the physical page: [ 31.728271] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109b00 [ 31.728436] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.728525] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 31.728708] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 31.728812] page dumped because: kasan: bad access detected [ 31.728963] [ 31.729023] Memory state around the buggy address: [ 31.729153] ffff800080b17a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.729220] ffff800080b17a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.729326] >ffff800080b17b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 31.729368] ^ [ 31.729575] ffff800080b17b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 31.729794] ffff800080b17c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 31.745513] ==================================================================
[ 27.002091] ================================================================== [ 27.002539] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 27.002856] Read of size 1 at addr ffff88810614fc4a by task kunit_try_catch/301 [ 27.003197] [ 27.003288] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) [ 27.003339] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.003352] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 27.003374] Call Trace: [ 27.003387] <TASK> [ 27.003406] dump_stack_lvl+0x73/0xb0 [ 27.003435] print_report+0xd1/0x610 [ 27.003457] ? __virt_addr_valid+0x1db/0x2d0 [ 27.003481] ? kasan_alloca_oob_right+0x329/0x390 [ 27.003504] ? kasan_addr_to_slab+0x11/0xa0 [ 27.003527] ? kasan_alloca_oob_right+0x329/0x390 [ 27.003550] kasan_report+0x141/0x180 [ 27.003572] ? kasan_alloca_oob_right+0x329/0x390 [ 27.003599] __asan_report_load1_noabort+0x18/0x20 [ 27.003624] kasan_alloca_oob_right+0x329/0x390 [ 27.003645] ? __kasan_check_write+0x18/0x20 [ 27.003669] ? __pfx_sched_clock_cpu+0x10/0x10 [ 27.003691] ? irqentry_exit+0x2a/0x60 [ 27.003724] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 27.003762] ? trace_hardirqs_on+0x37/0xe0 [ 27.003788] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 27.003814] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 27.003841] kunit_try_run_case+0x1a5/0x480 [ 27.003872] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.003893] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 27.003916] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 27.003940] ? __kthread_parkme+0x82/0x180 [ 27.003961] ? preempt_count_sub+0x50/0x80 [ 27.003986] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.004008] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.004033] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 27.004058] kthread+0x337/0x6f0 [ 27.004079] ? trace_preempt_on+0x20/0xc0 [ 27.004100] ? __pfx_kthread+0x10/0x10 [ 27.004122] ? _raw_spin_unlock_irq+0x47/0x80 [ 27.004143] ? calculate_sigpending+0x7b/0xa0 [ 27.004168] ? __pfx_kthread+0x10/0x10 [ 27.004189] ret_from_fork+0x116/0x1d0 [ 27.004209] ? __pfx_kthread+0x10/0x10 [ 27.004230] ret_from_fork_asm+0x1a/0x30 [ 27.004261] </TASK> [ 27.004273] [ 27.014953] The buggy address belongs to stack of task kunit_try_catch/301 [ 27.015434] [ 27.015651] The buggy address belongs to the physical page: [ 27.016088] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10614f [ 27.016428] flags: 0x200000000000000(node=0|zone=2) [ 27.016902] raw: 0200000000000000 ffffea00041853c8 ffffea00041853c8 0000000000000000 [ 27.017295] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 27.017721] page dumped because: kasan: bad access detected [ 27.018129] [ 27.018379] Memory state around the buggy address: [ 27.018625] ffff88810614fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.018928] ffff88810614fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.019211] >ffff88810614fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 27.019734] ^ [ 27.020045] ffff88810614fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 27.020534] ffff88810614fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 27.021075] ==================================================================