Date
July 11, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.950673] ================================================================== [ 18.950773] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 18.951106] Read of size 1 at addr ffff800080927b5f by task kunit_try_catch/252 [ 18.951393] [ 18.951545] CPU: 1 UID: 0 PID: 252 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 18.951787] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.952069] Hardware name: linux,dummy-virt (DT) [ 18.952320] Call trace: [ 18.952450] show_stack+0x20/0x38 (C) [ 18.952638] dump_stack_lvl+0x8c/0xd0 [ 18.952821] print_report+0x310/0x608 [ 18.952900] kasan_report+0xdc/0x128 [ 18.953434] __asan_report_load1_noabort+0x20/0x30 [ 18.953560] kasan_alloca_oob_left+0x2b8/0x310 [ 18.953763] kunit_try_run_case+0x170/0x3f0 [ 18.954105] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.954295] kthread+0x328/0x630 [ 18.954494] ret_from_fork+0x10/0x20 [ 18.954795] [ 18.954931] The buggy address belongs to stack of task kunit_try_catch/252 [ 18.955109] [ 18.955200] The buggy address belongs to the virtual mapping at [ 18.955200] [ffff800080920000, ffff800080929000) created by: [ 18.955200] kernel_clone+0x150/0x7a8 [ 18.955614] [ 18.955676] The buggy address belongs to the physical page: [ 18.955965] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1058c6 [ 18.956073] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.956243] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 18.956523] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.956580] page dumped because: kasan: bad access detected [ 18.956622] [ 18.956796] Memory state around the buggy address: [ 18.956837] ffff800080927a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.956898] ffff800080927a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.956944] >ffff800080927b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 18.957005] ^ [ 18.957046] ffff800080927b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 18.957094] ffff800080927c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 18.957144] ==================================================================
[ 14.232468] ================================================================== [ 14.233226] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 14.233606] Read of size 1 at addr ffff888103abfc3f by task kunit_try_catch/268 [ 14.234253] [ 14.234373] CPU: 0 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.234417] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.234539] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.234562] Call Trace: [ 14.234576] <TASK> [ 14.234591] dump_stack_lvl+0x73/0xb0 [ 14.234663] print_report+0xd1/0x650 [ 14.234699] ? __virt_addr_valid+0x1db/0x2d0 [ 14.234724] ? kasan_alloca_oob_left+0x320/0x380 [ 14.234759] ? kasan_addr_to_slab+0x11/0xa0 [ 14.234780] ? kasan_alloca_oob_left+0x320/0x380 [ 14.234803] kasan_report+0x141/0x180 [ 14.234825] ? kasan_alloca_oob_left+0x320/0x380 [ 14.234853] __asan_report_load1_noabort+0x18/0x20 [ 14.234878] kasan_alloca_oob_left+0x320/0x380 [ 14.234899] ? __kasan_check_write+0x18/0x20 [ 14.234932] ? pick_task_fair+0xc9/0x340 [ 14.234962] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.234986] ? trace_hardirqs_on+0x37/0xe0 [ 14.235010] ? __schedule+0x207f/0x2b60 [ 14.235035] ? __pfx_read_tsc+0x10/0x10 [ 14.235057] ? ktime_get_ts64+0x86/0x230 [ 14.235083] kunit_try_run_case+0x1a5/0x480 [ 14.235109] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.235133] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.235157] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.235181] ? __kthread_parkme+0x82/0x180 [ 14.235202] ? preempt_count_sub+0x50/0x80 [ 14.235225] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.235249] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.235274] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.235302] kthread+0x337/0x6f0 [ 14.235321] ? trace_preempt_on+0x20/0xc0 [ 14.235343] ? __pfx_kthread+0x10/0x10 [ 14.235364] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.235385] ? calculate_sigpending+0x7b/0xa0 [ 14.235409] ? __pfx_kthread+0x10/0x10 [ 14.235430] ret_from_fork+0x116/0x1d0 [ 14.235449] ? __pfx_kthread+0x10/0x10 [ 14.235469] ret_from_fork_asm+0x1a/0x30 [ 14.235501] </TASK> [ 14.235511] [ 14.248937] The buggy address belongs to stack of task kunit_try_catch/268 [ 14.249176] [ 14.249588] The buggy address belongs to the physical page: [ 14.250252] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103abf [ 14.251300] flags: 0x200000000000000(node=0|zone=2) [ 14.251986] raw: 0200000000000000 ffffea00040eafc8 ffffea00040eafc8 0000000000000000 [ 14.252954] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.253896] page dumped because: kasan: bad access detected [ 14.254564] [ 14.254643] Memory state around the buggy address: [ 14.255176] ffff888103abfb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.256009] ffff888103abfb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.256611] >ffff888103abfc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.257175] ^ [ 14.257813] ffff888103abfc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.258578] ffff888103abfd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.258990] ==================================================================