Date
July 4, 2025, 11:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 31.939248] ================================================================== [ 31.939353] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 31.939450] Read of size 1 at addr ffff800080bc7b5f by task kunit_try_catch/284 [ 31.939558] [ 31.939593] CPU: 1 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250704 #1 PREEMPT [ 31.939868] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.939944] Hardware name: linux,dummy-virt (DT) [ 31.939984] Call trace: [ 31.940012] show_stack+0x20/0x38 (C) [ 31.940067] dump_stack_lvl+0x8c/0xd0 [ 31.940136] print_report+0x310/0x608 [ 31.940188] kasan_report+0xdc/0x128 [ 31.940238] __asan_report_load1_noabort+0x20/0x30 [ 31.940291] kasan_alloca_oob_left+0x2b8/0x310 [ 31.940351] kunit_try_run_case+0x170/0x3f0 [ 31.940403] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.940461] kthread+0x328/0x630 [ 31.940515] ret_from_fork+0x10/0x20 [ 31.940568] [ 31.940597] The buggy address belongs to stack of task kunit_try_catch/284 [ 31.940672] [ 31.940712] The buggy address belongs to the virtual mapping at [ 31.940712] [ffff800080bc0000, ffff800080bc9000) created by: [ 31.940712] kernel_clone+0x150/0x7a8 [ 31.940807] [ 31.940832] The buggy address belongs to the physical page: [ 31.940876] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105aee [ 31.941367] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.941509] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 31.941625] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 31.941748] page dumped because: kasan: bad access detected [ 31.941836] [ 31.941961] Memory state around the buggy address: [ 31.942001] ffff800080bc7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.942051] ffff800080bc7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.942260] >ffff800080bc7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 31.942350] ^ [ 31.942468] ffff800080bc7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 31.942534] ffff800080bc7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 31.942614] ==================================================================
[ 26.948613] ================================================================== [ 26.949521] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 26.950379] Read of size 1 at addr ffff88810613fc3f by task kunit_try_catch/300 [ 26.950779] [ 26.950877] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) [ 26.950936] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.950951] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.950977] Call Trace: [ 26.950993] <TASK> [ 26.951016] dump_stack_lvl+0x73/0xb0 [ 26.951050] print_report+0xd1/0x650 [ 26.951075] ? __virt_addr_valid+0x1db/0x2d0 [ 26.951103] ? kasan_alloca_oob_left+0x320/0x380 [ 26.951126] ? kasan_addr_to_slab+0x11/0xa0 [ 26.951153] ? kasan_alloca_oob_left+0x320/0x380 [ 26.951177] kasan_report+0x141/0x180 [ 26.951200] ? kasan_alloca_oob_left+0x320/0x380 [ 26.951229] __asan_report_load1_noabort+0x18/0x20 [ 26.951254] kasan_alloca_oob_left+0x320/0x380 [ 26.951277] ? __kasan_check_write+0x18/0x20 [ 26.951303] ? finish_task_switch.isra.0+0x153/0x700 [ 26.951329] ? try_to_take_rt_mutex+0xfde/0xff0 [ 26.951354] ? trace_hardirqs_on+0x37/0xe0 [ 26.951383] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 26.951420] ? __schedule+0x10cc/0x2b60 [ 26.951446] ? __pfx_read_tsc+0x10/0x10 [ 26.951470] ? ktime_get_ts64+0x86/0x230 [ 26.951498] kunit_try_run_case+0x1a5/0x480 [ 26.951528] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.951553] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.951579] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.951605] ? __kthread_parkme+0x82/0x180 [ 26.951640] ? preempt_count_sub+0x50/0x80 [ 26.951684] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.951711] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.951737] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.951764] kthread+0x337/0x6f0 [ 26.951786] ? trace_preempt_on+0x20/0xc0 [ 26.951808] ? __pfx_kthread+0x10/0x10 [ 26.951830] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.951854] ? calculate_sigpending+0x7b/0xa0 [ 26.951880] ? __pfx_kthread+0x10/0x10 [ 26.951904] ret_from_fork+0x116/0x1d0 [ 26.951924] ? __pfx_kthread+0x10/0x10 [ 26.951945] ret_from_fork_asm+0x1a/0x30 [ 26.951980] </TASK> [ 26.951993] [ 26.962605] The buggy address belongs to stack of task kunit_try_catch/300 [ 26.963295] [ 26.963388] The buggy address belongs to the physical page: [ 26.963588] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10613f [ 26.963929] flags: 0x200000000000000(node=0|zone=2) [ 26.964434] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 26.964804] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 26.965330] page dumped because: kasan: bad access detected [ 26.965539] [ 26.965610] Memory state around the buggy address: [ 26.965850] ffff88810613fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.966217] ffff88810613fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.966483] >ffff88810613fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 26.966789] ^ [ 26.967028] ffff88810613fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 26.967456] ffff88810613fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 26.967872] ==================================================================