Date
June 19, 2025, 12:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 33.240929] ================================================================== [ 33.241207] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 33.241409] Read of size 1 at addr ffff800080a17b5f by task kunit_try_catch/262 [ 33.241595] [ 33.241682] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250619 #1 PREEMPT [ 33.242148] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.242234] Hardware name: linux,dummy-virt (DT) [ 33.242318] Call trace: [ 33.242380] show_stack+0x20/0x38 (C) [ 33.242524] dump_stack_lvl+0x8c/0xd0 [ 33.242667] print_report+0x310/0x608 [ 33.242841] kasan_report+0xdc/0x128 [ 33.243040] __asan_report_load1_noabort+0x20/0x30 [ 33.243218] kasan_alloca_oob_left+0x2b8/0x310 [ 33.243357] kunit_try_run_case+0x170/0x3f0 [ 33.243500] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 33.243677] kthread+0x328/0x630 [ 33.243786] ret_from_fork+0x10/0x20 [ 33.243927] [ 33.243981] The buggy address belongs to stack of task kunit_try_catch/262 [ 33.244171] [ 33.244239] The buggy address belongs to the virtual mapping at [ 33.244239] [ffff800080a10000, ffff800080a19000) created by: [ 33.244239] kernel_clone+0x150/0x7a8 [ 33.244446] [ 33.244519] The buggy address belongs to the physical page: [ 33.244607] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107679 [ 33.244754] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 33.244941] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 33.245069] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 33.245184] page dumped because: kasan: bad access detected [ 33.245273] [ 33.245322] Memory state around the buggy address: [ 33.245411] ffff800080a17a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.245516] ffff800080a17a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.245620] >ffff800080a17b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 33.245720] ^ [ 33.245828] ffff800080a17b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 33.245958] ffff800080a17c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 33.246068] ==================================================================
[ 29.226289] ================================================================== [ 29.226948] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 29.227792] Read of size 1 at addr ffff888103a3fc3f by task kunit_try_catch/280 [ 29.228763] [ 29.229058] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) [ 29.229415] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.229448] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 29.229603] Call Trace: [ 29.229636] <TASK> [ 29.229664] dump_stack_lvl+0x73/0xb0 [ 29.229714] print_report+0xd1/0x650 [ 29.229741] ? __virt_addr_valid+0x1db/0x2d0 [ 29.229767] ? kasan_alloca_oob_left+0x320/0x380 [ 29.229792] ? kasan_addr_to_slab+0x11/0xa0 [ 29.229814] ? kasan_alloca_oob_left+0x320/0x380 [ 29.229838] kasan_report+0x141/0x180 [ 29.229862] ? kasan_alloca_oob_left+0x320/0x380 [ 29.229890] __asan_report_load1_noabort+0x18/0x20 [ 29.229929] kasan_alloca_oob_left+0x320/0x380 [ 29.229962] ? __pfx_sched_clock_cpu+0x10/0x10 [ 29.229988] ? finish_task_switch.isra.0+0x153/0x700 [ 29.230014] ? rwsem_down_read_slowpath+0x52e/0xb90 [ 29.230042] ? trace_hardirqs_on+0x37/0xe0 [ 29.230070] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 29.230097] ? __schedule+0x10cc/0x2b60 [ 29.230147] ? __pfx_read_tsc+0x10/0x10 [ 29.230172] ? ktime_get_ts64+0x86/0x230 [ 29.230200] kunit_try_run_case+0x1a5/0x480 [ 29.230229] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.230254] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 29.230278] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 29.230304] ? __kthread_parkme+0x82/0x180 [ 29.230328] ? preempt_count_sub+0x50/0x80 [ 29.230353] ? __pfx_kunit_try_run_case+0x10/0x10 [ 29.230380] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 29.230406] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 29.230431] kthread+0x337/0x6f0 [ 29.230454] ? trace_preempt_on+0x20/0xc0 [ 29.230479] ? __pfx_kthread+0x10/0x10 [ 29.230502] ? _raw_spin_unlock_irq+0x47/0x80 [ 29.230526] ? calculate_sigpending+0x7b/0xa0 [ 29.230552] ? __pfx_kthread+0x10/0x10 [ 29.230575] ret_from_fork+0x116/0x1d0 [ 29.230596] ? __pfx_kthread+0x10/0x10 [ 29.230620] ret_from_fork_asm+0x1a/0x30 [ 29.230654] </TASK> [ 29.230666] [ 29.243311] The buggy address belongs to stack of task kunit_try_catch/280 [ 29.243907] [ 29.244083] The buggy address belongs to the physical page: [ 29.244620] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a3f [ 29.245349] flags: 0x200000000000000(node=0|zone=2) [ 29.245842] raw: 0200000000000000 ffffea00040e8fc8 ffffea00040e8fc8 0000000000000000 [ 29.246412] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 29.246819] page dumped because: kasan: bad access detected [ 29.247281] [ 29.247438] Memory state around the buggy address: [ 29.247739] ffff888103a3fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.248221] ffff888103a3fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.248632] >ffff888103a3fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 29.249049] ^ [ 29.249407] ffff888103a3fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 29.249776] ffff888103a3fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 29.250279] ==================================================================