Date
June 25, 2025, 8:08 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 28.841118] ================================================================== [ 28.841215] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 28.841284] Read of size 1 at addr ffff800080ab7b5f by task kunit_try_catch/263 [ 28.841494] [ 28.841576] CPU: 0 UID: 0 PID: 263 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250625 #1 PREEMPT [ 28.841693] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.841751] Hardware name: linux,dummy-virt (DT) [ 28.841807] Call trace: [ 28.841832] show_stack+0x20/0x38 (C) [ 28.841906] dump_stack_lvl+0x8c/0xd0 [ 28.841961] print_report+0x310/0x608 [ 28.842011] kasan_report+0xdc/0x128 [ 28.842057] __asan_report_load1_noabort+0x20/0x30 [ 28.842278] kasan_alloca_oob_left+0x2b8/0x310 [ 28.842336] kunit_try_run_case+0x170/0x3f0 [ 28.842389] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.842480] kthread+0x328/0x630 [ 28.842585] ret_from_fork+0x10/0x20 [ 28.842638] [ 28.842667] The buggy address belongs to stack of task kunit_try_catch/263 [ 28.842795] [ 28.842826] The buggy address belongs to the virtual mapping at [ 28.842826] [ffff800080ab0000, ffff800080ab9000) created by: [ 28.842826] kernel_clone+0x150/0x7a8 [ 28.842914] [ 28.843119] The buggy address belongs to the physical page: [ 28.843250] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10785e [ 28.843329] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 28.843409] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 28.843500] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 28.843544] page dumped because: kasan: bad access detected [ 28.843579] [ 28.843599] Memory state around the buggy address: [ 28.843634] ffff800080ab7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.843680] ffff800080ab7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.843761] >ffff800080ab7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 28.843804] ^ [ 28.843972] ffff800080ab7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 28.844071] ffff800080ab7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 28.844178] ==================================================================
[ 23.661008] ================================================================== [ 23.661452] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 23.661737] Read of size 1 at addr ffff888102bc7c3f by task kunit_try_catch/280 [ 23.662104] [ 23.662282] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250625 #1 PREEMPT(voluntary) [ 23.662329] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.662342] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.662363] Call Trace: [ 23.662376] <TASK> [ 23.662392] dump_stack_lvl+0x73/0xb0 [ 23.662418] print_report+0xd1/0x650 [ 23.662438] ? __virt_addr_valid+0x1db/0x2d0 [ 23.662460] ? kasan_alloca_oob_left+0x320/0x380 [ 23.662481] ? kasan_addr_to_slab+0x11/0xa0 [ 23.662500] ? kasan_alloca_oob_left+0x320/0x380 [ 23.662520] kasan_report+0x141/0x180 [ 23.662541] ? kasan_alloca_oob_left+0x320/0x380 [ 23.662565] __asan_report_load1_noabort+0x18/0x20 [ 23.662587] kasan_alloca_oob_left+0x320/0x380 [ 23.662607] ? __kasan_check_write+0x18/0x20 [ 23.662629] ? __pfx_sched_clock_cpu+0x10/0x10 [ 23.662651] ? finish_task_switch.isra.0+0x153/0x700 [ 23.662672] ? __mutex_lock.constprop.0+0x99e/0x1280 [ 23.662696] ? trace_hardirqs_on+0x37/0xe0 [ 23.662719] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 23.662743] ? __schedule+0x10cc/0x2b60 [ 23.662766] ? __pfx_read_tsc+0x10/0x10 [ 23.662787] ? ktime_get_ts64+0x86/0x230 [ 23.662810] kunit_try_run_case+0x1a5/0x480 [ 23.662835] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.662857] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.662876] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.662901] ? __kthread_parkme+0x82/0x180 [ 23.662920] ? preempt_count_sub+0x50/0x80 [ 23.662966] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.662990] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.663013] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.663035] kthread+0x337/0x6f0 [ 23.663053] ? trace_preempt_on+0x20/0xc0 [ 23.663074] ? __pfx_kthread+0x10/0x10 [ 23.663094] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.663116] ? calculate_sigpending+0x7b/0xa0 [ 23.663187] ? __pfx_kthread+0x10/0x10 [ 23.663207] ret_from_fork+0x116/0x1d0 [ 23.663225] ? __pfx_kthread+0x10/0x10 [ 23.663245] ret_from_fork_asm+0x1a/0x30 [ 23.663273] </TASK> [ 23.663285] [ 23.671062] The buggy address belongs to stack of task kunit_try_catch/280 [ 23.671609] [ 23.671694] The buggy address belongs to the physical page: [ 23.671984] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102bc7 [ 23.672361] flags: 0x200000000000000(node=0|zone=2) [ 23.672600] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 23.672887] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 23.673200] page dumped because: kasan: bad access detected [ 23.673530] [ 23.673594] Memory state around the buggy address: [ 23.673743] ffff888102bc7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.673960] ffff888102bc7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.674427] >ffff888102bc7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 23.674725] ^ [ 23.674956] ffff888102bc7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 23.675466] ffff888102bc7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 23.675672] ==================================================================