Date
July 20, 2025, 11:12 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.521442] ================================================================== [ 17.521521] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 17.521577] Read of size 1 at addr ffff800080b47b5f by task kunit_try_catch/251 [ 17.521628] [ 17.521659] CPU: 0 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 17.522115] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.522492] Hardware name: linux,dummy-virt (DT) [ 17.522796] Call trace: [ 17.522822] show_stack+0x20/0x38 (C) [ 17.522928] dump_stack_lvl+0x8c/0xd0 [ 17.523164] print_report+0x310/0x5d0 [ 17.523463] kasan_report+0xdc/0x128 [ 17.523540] __asan_report_load1_noabort+0x20/0x30 [ 17.523779] kasan_alloca_oob_left+0x2b8/0x310 [ 17.524025] kunit_try_run_case+0x170/0x3f0 [ 17.524138] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.524220] kthread+0x328/0x630 [ 17.524262] ret_from_fork+0x10/0x20 [ 17.524317] [ 17.524360] The buggy address belongs to stack of task kunit_try_catch/251 [ 17.524635] [ 17.524909] The buggy address ffff800080b47b5f belongs to a vmalloc virtual mapping [ 17.524956] The buggy address belongs to the physical page: [ 17.524987] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078b7 [ 17.525042] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 17.525421] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 17.525703] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.525763] page dumped because: kasan: bad access detected [ 17.526151] [ 17.526180] Memory state around the buggy address: [ 17.526241] ffff800080b47a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.526347] ffff800080b47a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.526420] >ffff800080b47b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 17.526458] ^ [ 17.526495] ffff800080b47b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 17.526548] ffff800080b47c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 17.526589] ==================================================================
[ 14.124431] ================================================================== [ 14.125008] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 14.125320] Read of size 1 at addr ffff888103b5fc3f by task kunit_try_catch/268 [ 14.125608] [ 14.125714] CPU: 1 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.125757] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.125768] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.125790] Call Trace: [ 14.125803] <TASK> [ 14.125817] dump_stack_lvl+0x73/0xb0 [ 14.125845] print_report+0xd1/0x610 [ 14.125866] ? __virt_addr_valid+0x1db/0x2d0 [ 14.125889] ? kasan_alloca_oob_left+0x320/0x380 [ 14.125924] ? kasan_addr_to_slab+0x11/0xa0 [ 14.125944] ? kasan_alloca_oob_left+0x320/0x380 [ 14.125965] kasan_report+0x141/0x180 [ 14.125986] ? kasan_alloca_oob_left+0x320/0x380 [ 14.126012] __asan_report_load1_noabort+0x18/0x20 [ 14.126035] kasan_alloca_oob_left+0x320/0x380 [ 14.126059] ? finish_task_switch.isra.0+0x153/0x700 [ 14.126081] ? rt_mutex_adjust_prio_chain+0x195e/0x20e0 [ 14.126103] ? trace_hardirqs_on+0x37/0xe0 [ 14.126128] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.126152] ? __schedule+0x10cc/0x2b60 [ 14.126173] ? __pfx_read_tsc+0x10/0x10 [ 14.126193] ? ktime_get_ts64+0x86/0x230 [ 14.126216] kunit_try_run_case+0x1a5/0x480 [ 14.126239] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.126262] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.126284] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.126306] ? __kthread_parkme+0x82/0x180 [ 14.126326] ? preempt_count_sub+0x50/0x80 [ 14.126348] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.126371] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.126393] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.126416] kthread+0x337/0x6f0 [ 14.126434] ? trace_preempt_on+0x20/0xc0 [ 14.126455] ? __pfx_kthread+0x10/0x10 [ 14.126474] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.126495] ? calculate_sigpending+0x7b/0xa0 [ 14.126518] ? __pfx_kthread+0x10/0x10 [ 14.126538] ret_from_fork+0x116/0x1d0 [ 14.126556] ? __pfx_kthread+0x10/0x10 [ 14.126576] ret_from_fork_asm+0x1a/0x30 [ 14.126606] </TASK> [ 14.126616] [ 14.139091] The buggy address belongs to stack of task kunit_try_catch/268 [ 14.139777] [ 14.139897] The buggy address belongs to the physical page: [ 14.140135] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b5f [ 14.141078] flags: 0x200000000000000(node=0|zone=2) [ 14.141475] raw: 0200000000000000 ffffea00040ed7c8 ffffea00040ed7c8 0000000000000000 [ 14.142132] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.142616] page dumped because: kasan: bad access detected [ 14.143023] [ 14.143102] Memory state around the buggy address: [ 14.143499] ffff888103b5fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.143823] ffff888103b5fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.144127] >ffff888103b5fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.144371] ^ [ 14.144566] ffff888103b5fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.144892] ffff888103b5fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.145176] ==================================================================