Date
July 2, 2025, 11:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 33.135517] ================================================================== [ 33.135620] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 33.135842] Read of size 1 at addr ffff800080ac7b4a by task kunit_try_catch/286 [ 33.135953] [ 33.136024] CPU: 1 UID: 0 PID: 286 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT [ 33.136151] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.136251] Hardware name: linux,dummy-virt (DT) [ 33.136314] Call trace: [ 33.136345] show_stack+0x20/0x38 (C) [ 33.136396] dump_stack_lvl+0x8c/0xd0 [ 33.136448] print_report+0x310/0x608 [ 33.136499] kasan_report+0xdc/0x128 [ 33.136549] __asan_report_load1_noabort+0x20/0x30 [ 33.136601] kasan_alloca_oob_right+0x2dc/0x340 [ 33.136652] kunit_try_run_case+0x170/0x3f0 [ 33.136849] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 33.136963] kthread+0x328/0x630 [ 33.137040] ret_from_fork+0x10/0x20 [ 33.137150] [ 33.137210] The buggy address belongs to stack of task kunit_try_catch/286 [ 33.137267] [ 33.137300] The buggy address belongs to the virtual mapping at [ 33.137300] [ffff800080ac0000, ffff800080ac9000) created by: [ 33.137300] kernel_clone+0x150/0x7a8 [ 33.137406] [ 33.137492] The buggy address belongs to the physical page: [ 33.137550] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109abc [ 33.137615] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 33.137728] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 33.137823] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 33.137887] page dumped because: kasan: bad access detected [ 33.138237] [ 33.138380] Memory state around the buggy address: [ 33.138468] ffff800080ac7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.138581] ffff800080ac7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.138637] >ffff800080ac7b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 33.138707] ^ [ 33.138798] ffff800080ac7b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 33.138876] ffff800080ac7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 33.138963] ==================================================================
[ 24.956405] ================================================================== [ 24.957165] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 24.957424] Read of size 1 at addr ffff8881061e7c4a by task kunit_try_catch/301 [ 24.958044] [ 24.958217] CPU: 1 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) [ 24.958267] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.958281] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 24.958303] Call Trace: [ 24.958328] <TASK> [ 24.958345] dump_stack_lvl+0x73/0xb0 [ 24.958375] print_report+0xd1/0x650 [ 24.958396] ? __virt_addr_valid+0x1db/0x2d0 [ 24.958419] ? kasan_alloca_oob_right+0x329/0x390 [ 24.958441] ? kasan_addr_to_slab+0x11/0xa0 [ 24.958462] ? kasan_alloca_oob_right+0x329/0x390 [ 24.958485] kasan_report+0x141/0x180 [ 24.958521] ? kasan_alloca_oob_right+0x329/0x390 [ 24.958548] __asan_report_load1_noabort+0x18/0x20 [ 24.958572] kasan_alloca_oob_right+0x329/0x390 [ 24.958596] ? finish_task_switch.isra.0+0x153/0x700 [ 24.958619] ? __ww_mutex_lock.constprop.0+0x1c7e/0x1e90 [ 24.958643] ? trace_hardirqs_on+0x37/0xe0 [ 24.958669] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 24.958694] ? __schedule+0x10cc/0x2b60 [ 24.958730] ? __pfx_read_tsc+0x10/0x10 [ 24.958752] ? ktime_get_ts64+0x86/0x230 [ 24.958777] kunit_try_run_case+0x1a5/0x480 [ 24.958804] ? __pfx_kunit_try_run_case+0x10/0x10 [ 24.958827] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 24.958849] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 24.958871] ? __kthread_parkme+0x82/0x180 [ 24.958891] ? preempt_count_sub+0x50/0x80 [ 24.958914] ? __pfx_kunit_try_run_case+0x10/0x10 [ 24.958938] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.958962] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 24.958987] kthread+0x337/0x6f0 [ 24.959005] ? trace_preempt_on+0x20/0xc0 [ 24.959027] ? __pfx_kthread+0x10/0x10 [ 24.959047] ? _raw_spin_unlock_irq+0x47/0x80 [ 24.959071] ? calculate_sigpending+0x7b/0xa0 [ 24.959095] ? __pfx_kthread+0x10/0x10 [ 24.959116] ret_from_fork+0x116/0x1d0 [ 24.959135] ? __pfx_kthread+0x10/0x10 [ 24.959156] ret_from_fork_asm+0x1a/0x30 [ 24.959187] </TASK> [ 24.959199] [ 24.969680] The buggy address belongs to stack of task kunit_try_catch/301 [ 24.970054] [ 24.970122] The buggy address belongs to the physical page: [ 24.970376] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1061e7 [ 24.970802] flags: 0x200000000000000(node=0|zone=2) [ 24.971027] raw: 0200000000000000 ffffea00041879c8 ffffea00041879c8 0000000000000000 [ 24.971269] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 24.971500] page dumped because: kasan: bad access detected [ 24.971666] [ 24.971752] Memory state around the buggy address: [ 24.971968] ffff8881061e7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.972678] ffff8881061e7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.972990] >ffff8881061e7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 24.973195] ^ [ 24.973374] ffff8881061e7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 24.974126] ffff8881061e7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 24.974429] ==================================================================
[ 25.198088] ================================================================== [ 25.198662] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 25.199302] Read of size 1 at addr ffff8881061cfc4a by task kunit_try_catch/302 [ 25.199628] [ 25.199746] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) [ 25.199805] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.199819] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.199844] Call Trace: [ 25.199859] <TASK> [ 25.199880] dump_stack_lvl+0x73/0xb0 [ 25.199914] print_report+0xd1/0x650 [ 25.200264] ? __virt_addr_valid+0x1db/0x2d0 [ 25.200295] ? kasan_alloca_oob_right+0x329/0x390 [ 25.200318] ? kasan_addr_to_slab+0x11/0xa0 [ 25.200339] ? kasan_alloca_oob_right+0x329/0x390 [ 25.200363] kasan_report+0x141/0x180 [ 25.200385] ? kasan_alloca_oob_right+0x329/0x390 [ 25.200412] __asan_report_load1_noabort+0x18/0x20 [ 25.200437] kasan_alloca_oob_right+0x329/0x390 [ 25.200459] ? __kasan_check_write+0x18/0x20 [ 25.200482] ? __pfx_sched_clock_cpu+0x10/0x10 [ 25.200505] ? finish_task_switch.isra.0+0x153/0x700 [ 25.200528] ? __ww_mutex_lock.constprop.0+0x1c7e/0x1e90 [ 25.200555] ? trace_hardirqs_on+0x37/0xe0 [ 25.200580] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 25.200605] ? __schedule+0x10cc/0x2b60 [ 25.200626] ? __pfx_read_tsc+0x10/0x10 [ 25.200649] ? ktime_get_ts64+0x86/0x230 [ 25.200674] kunit_try_run_case+0x1a5/0x480 [ 25.200702] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.200725] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 25.200747] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 25.200769] ? __kthread_parkme+0x82/0x180 [ 25.200791] ? preempt_count_sub+0x50/0x80 [ 25.200815] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.200840] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.200864] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 25.200889] kthread+0x337/0x6f0 [ 25.200909] ? trace_preempt_on+0x20/0xc0 [ 25.200947] ? __pfx_kthread+0x10/0x10 [ 25.200968] ? _raw_spin_unlock_irq+0x47/0x80 [ 25.200993] ? calculate_sigpending+0x7b/0xa0 [ 25.201017] ? __pfx_kthread+0x10/0x10 [ 25.201039] ret_from_fork+0x116/0x1d0 [ 25.201058] ? __pfx_kthread+0x10/0x10 [ 25.201089] ret_from_fork_asm+0x1a/0x30 [ 25.201120] </TASK> [ 25.201134] [ 25.212896] The buggy address belongs to stack of task kunit_try_catch/302 [ 25.213575] [ 25.213683] The buggy address belongs to the physical page: [ 25.214182] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1061cf [ 25.214622] flags: 0x200000000000000(node=0|zone=2) [ 25.214938] raw: 0200000000000000 ffffea00041873c8 ffffea00041873c8 0000000000000000 [ 25.215486] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 25.215984] page dumped because: kasan: bad access detected [ 25.216533] [ 25.216612] Memory state around the buggy address: [ 25.216861] ffff8881061cfb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.217425] ffff8881061cfb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.217710] >ffff8881061cfc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 25.218288] ^ [ 25.218644] ffff8881061cfc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 25.219164] ffff8881061cfd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 25.219642] ==================================================================