Date
July 18, 2025, 1:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 33.797271] ================================================================== [ 33.797353] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 33.797439] Read of size 1 at addr ffff800080a17b4a by task kunit_try_catch/284 [ 33.797493] [ 33.797564] CPU: 0 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250718 #1 PREEMPT [ 33.797670] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.797741] Hardware name: linux,dummy-virt (DT) [ 33.797789] Call trace: [ 33.797816] show_stack+0x20/0x38 (C) [ 33.798004] dump_stack_lvl+0x8c/0xd0 [ 33.798212] print_report+0x310/0x5e8 [ 33.798259] kasan_report+0xdc/0x128 [ 33.798304] __asan_report_load1_noabort+0x20/0x30 [ 33.798356] kasan_alloca_oob_right+0x2dc/0x340 [ 33.798479] kunit_try_run_case+0x170/0x3f0 [ 33.798532] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 33.798587] kthread+0x328/0x630 [ 33.798723] ret_from_fork+0x10/0x20 [ 33.798782] [ 33.798808] The buggy address belongs to stack of task kunit_try_catch/284 [ 33.798864] [ 33.799162] The buggy address belongs to a 8-page vmalloc region starting at 0xffff800080a10000 allocated at kernel_clone+0x150/0x7b0 [ 33.799351] The buggy address belongs to the physical page: [ 33.799388] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103f94 [ 33.799442] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 33.799542] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 33.799595] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 33.799656] page dumped because: kasan: bad access detected [ 33.799698] [ 33.799729] Memory state around the buggy address: [ 33.800020] ffff800080a17a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.800248] ffff800080a17a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.800305] >ffff800080a17b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 33.800347] ^ [ 33.800387] ffff800080a17b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 33.800730] ffff800080a17c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 33.800848] ==================================================================
[ 26.721085] ================================================================== [ 26.722287] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 26.723602] Read of size 1 at addr ffff888106337c4a by task kunit_try_catch/301 [ 26.724040] [ 26.724137] CPU: 1 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) [ 26.724189] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.724201] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.724224] Call Trace: [ 26.724240] <TASK> [ 26.724257] dump_stack_lvl+0x73/0xb0 [ 26.724305] print_report+0xd1/0x640 [ 26.724329] ? __virt_addr_valid+0x1db/0x2d0 [ 26.724355] ? kasan_alloca_oob_right+0x329/0x390 [ 26.724379] ? kasan_addr_to_slab+0x11/0xa0 [ 26.724400] ? kasan_alloca_oob_right+0x329/0x390 [ 26.724423] kasan_report+0x141/0x180 [ 26.724445] ? kasan_alloca_oob_right+0x329/0x390 [ 26.724472] __asan_report_load1_noabort+0x18/0x20 [ 26.724496] kasan_alloca_oob_right+0x329/0x390 [ 26.724517] ? __kasan_check_write+0x18/0x20 [ 26.724540] ? __pfx_sched_clock_cpu+0x10/0x10 [ 26.724563] ? finish_task_switch.isra.0+0x153/0x700 [ 26.724586] ? __ww_mutex_lock.constprop.0+0x13ce/0x2570 [ 26.724615] ? trace_hardirqs_on+0x37/0xe0 [ 26.724640] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 26.724665] ? __schedule+0x10da/0x2b60 [ 26.724687] ? __pfx_read_tsc+0x10/0x10 [ 26.724709] ? ktime_get_ts64+0x86/0x230 [ 26.724734] kunit_try_run_case+0x1a5/0x480 [ 26.724759] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.724781] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.724985] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.725020] ? __kthread_parkme+0x82/0x180 [ 26.725041] ? preempt_count_sub+0x50/0x80 [ 26.725066] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.725090] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.725115] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.725137] kthread+0x337/0x6f0 [ 26.725157] ? trace_preempt_on+0x20/0xc0 [ 26.725179] ? __pfx_kthread+0x10/0x10 [ 26.725199] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.725229] ? calculate_sigpending+0x7b/0xa0 [ 26.725253] ? __pfx_kthread+0x10/0x10 [ 26.725289] ret_from_fork+0x116/0x1d0 [ 26.725308] ? __pfx_kthread+0x10/0x10 [ 26.725328] ret_from_fork_asm+0x1a/0x30 [ 26.725360] </TASK> [ 26.725372] [ 26.734652] The buggy address belongs to stack of task kunit_try_catch/301 [ 26.734918] [ 26.734983] The buggy address belongs to the physical page: [ 26.735149] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106337 [ 26.735581] flags: 0x200000000000000(node=0|zone=2) [ 26.735874] raw: 0200000000000000 ffffea000418cdc8 ffffea000418cdc8 0000000000000000 [ 26.736392] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 26.736616] page dumped because: kasan: bad access detected [ 26.736839] [ 26.736925] Memory state around the buggy address: [ 26.737149] ffff888106337b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.737470] ffff888106337b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.737787] >ffff888106337c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 26.738067] ^ [ 26.738447] ffff888106337c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 26.738754] ffff888106337d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 26.739121] ==================================================================