Date
July 10, 2025, 11:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.204239] ================================================================== [ 18.204329] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 18.204592] Read of size 1 at addr ffff800080a87b5f by task kunit_try_catch/251 [ 18.204770] [ 18.204814] CPU: 0 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 18.204972] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.205020] Hardware name: linux,dummy-virt (DT) [ 18.205056] Call trace: [ 18.205189] show_stack+0x20/0x38 (C) [ 18.205268] dump_stack_lvl+0x8c/0xd0 [ 18.205331] print_report+0x310/0x608 [ 18.205561] kasan_report+0xdc/0x128 [ 18.205615] __asan_report_load1_noabort+0x20/0x30 [ 18.205671] kasan_alloca_oob_left+0x2b8/0x310 [ 18.205832] kunit_try_run_case+0x170/0x3f0 [ 18.205934] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.206136] kthread+0x328/0x630 [ 18.206228] ret_from_fork+0x10/0x20 [ 18.206397] [ 18.206482] The buggy address belongs to stack of task kunit_try_catch/251 [ 18.206561] [ 18.206809] The buggy address belongs to the virtual mapping at [ 18.206809] [ffff800080a80000, ffff800080a89000) created by: [ 18.206809] kernel_clone+0x150/0x7a8 [ 18.207021] [ 18.207089] The buggy address belongs to the physical page: [ 18.207145] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106444 [ 18.207268] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.207374] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 18.207656] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.207832] page dumped because: kasan: bad access detected [ 18.207883] [ 18.207903] Memory state around the buggy address: [ 18.208162] ffff800080a87a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.208342] ffff800080a87a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.208418] >ffff800080a87b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 18.208484] ^ [ 18.208608] ffff800080a87b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 18.208794] ffff800080a87c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 18.208842] ==================================================================
[ 14.515699] ================================================================== [ 14.516202] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 14.516909] Read of size 1 at addr ffff88810397fc3f by task kunit_try_catch/269 [ 14.517201] [ 14.517309] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.517362] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.517375] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.517396] Call Trace: [ 14.517409] <TASK> [ 14.517567] dump_stack_lvl+0x73/0xb0 [ 14.517603] print_report+0xd1/0x650 [ 14.517626] ? __virt_addr_valid+0x1db/0x2d0 [ 14.517649] ? kasan_alloca_oob_left+0x320/0x380 [ 14.517671] ? kasan_addr_to_slab+0x11/0xa0 [ 14.517691] ? kasan_alloca_oob_left+0x320/0x380 [ 14.517750] kasan_report+0x141/0x180 [ 14.517772] ? kasan_alloca_oob_left+0x320/0x380 [ 14.517799] __asan_report_load1_noabort+0x18/0x20 [ 14.517824] kasan_alloca_oob_left+0x320/0x380 [ 14.517846] ? __kasan_check_write+0x18/0x20 [ 14.517866] ? finish_task_switch.isra.0+0x153/0x700 [ 14.517890] ? preempt_schedule_common+0xbe/0x110 [ 14.517914] ? trace_hardirqs_on+0x37/0xe0 [ 14.517939] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.517965] ? __schedule+0x10cc/0x2b60 [ 14.517988] ? __pfx_read_tsc+0x10/0x10 [ 14.518008] ? ktime_get_ts64+0x86/0x230 [ 14.518033] kunit_try_run_case+0x1a5/0x480 [ 14.518056] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.518079] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.518102] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.518126] ? __kthread_parkme+0x82/0x180 [ 14.518146] ? preempt_count_sub+0x50/0x80 [ 14.518170] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.518194] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.518221] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.518246] kthread+0x337/0x6f0 [ 14.518264] ? trace_preempt_on+0x20/0xc0 [ 14.518287] ? __pfx_kthread+0x10/0x10 [ 14.518307] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.518329] ? calculate_sigpending+0x7b/0xa0 [ 14.518382] ? __pfx_kthread+0x10/0x10 [ 14.518411] ret_from_fork+0x116/0x1d0 [ 14.518430] ? __pfx_kthread+0x10/0x10 [ 14.518457] ret_from_fork_asm+0x1a/0x30 [ 14.518488] </TASK> [ 14.518497] [ 14.529955] The buggy address belongs to stack of task kunit_try_catch/269 [ 14.530290] [ 14.530703] The buggy address belongs to the physical page: [ 14.530938] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10397f [ 14.531497] flags: 0x200000000000000(node=0|zone=2) [ 14.532006] raw: 0200000000000000 ffffea00040e5fc8 ffffea00040e5fc8 0000000000000000 [ 14.532736] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.533153] page dumped because: kasan: bad access detected [ 14.533645] [ 14.533900] Memory state around the buggy address: [ 14.534107] ffff88810397fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.534667] ffff88810397fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.534986] >ffff88810397fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.535278] ^ [ 14.535911] ffff88810397fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.536325] ffff88810397fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.536886] ==================================================================