Date
June 20, 2025, 12:38 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.995246] ================================================================== [ 34.995489] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 34.995670] Read of size 1 at addr ffff800080a57b5f by task kunit_try_catch/262 [ 34.995806] [ 34.995903] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250620 #1 PREEMPT [ 34.996690] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.996811] Hardware name: linux,dummy-virt (DT) [ 34.996900] Call trace: [ 34.996949] show_stack+0x20/0x38 (C) [ 34.997065] dump_stack_lvl+0x8c/0xd0 [ 34.997178] print_report+0x310/0x608 [ 34.997301] kasan_report+0xdc/0x128 [ 34.997741] __asan_report_load1_noabort+0x20/0x30 [ 34.998043] kasan_alloca_oob_left+0x2b8/0x310 [ 34.998287] kunit_try_run_case+0x170/0x3f0 [ 34.998411] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.998552] kthread+0x328/0x630 [ 34.999023] ret_from_fork+0x10/0x20 [ 34.999171] [ 34.999234] The buggy address belongs to stack of task kunit_try_catch/262 [ 34.999823] [ 34.999930] The buggy address belongs to the virtual mapping at [ 34.999930] [ffff800080a50000, ffff800080a59000) created by: [ 34.999930] kernel_clone+0x150/0x7a8 [ 35.000241] [ 35.000488] The buggy address belongs to the physical page: [ 35.000539] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105955 [ 35.000622] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 35.000758] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 35.000819] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 35.000867] page dumped because: kasan: bad access detected [ 35.000904] [ 35.000924] Memory state around the buggy address: [ 35.000965] ffff800080a57a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.001017] ffff800080a57a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.001064] >ffff800080a57b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 35.001109] ^ [ 35.001156] ffff800080a57b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 35.001205] ffff800080a57c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 35.001251] ==================================================================
[ 27.718771] ================================================================== [ 27.719771] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 27.720121] Read of size 1 at addr ffff888103a0fc3f by task kunit_try_catch/280 [ 27.720518] [ 27.720693] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) [ 27.720796] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.720825] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 27.720877] Call Trace: [ 27.720909] <TASK> [ 27.720951] dump_stack_lvl+0x73/0xb0 [ 27.721015] print_report+0xd1/0x650 [ 27.721060] ? __virt_addr_valid+0x1db/0x2d0 [ 27.721107] ? kasan_alloca_oob_left+0x320/0x380 [ 27.721149] ? kasan_addr_to_slab+0x11/0xa0 [ 27.721184] ? kasan_alloca_oob_left+0x320/0x380 [ 27.721223] kasan_report+0x141/0x180 [ 27.721268] ? kasan_alloca_oob_left+0x320/0x380 [ 27.721325] __asan_report_load1_noabort+0x18/0x20 [ 27.721376] kasan_alloca_oob_left+0x320/0x380 [ 27.721423] ? __pfx_sched_clock_cpu+0x10/0x10 [ 27.721487] ? finish_task_switch.isra.0+0x153/0x700 [ 27.721539] ? __up.isra.0+0xee/0x140 [ 27.721590] ? trace_hardirqs_on+0x37/0xe0 [ 27.721646] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 27.721699] ? __schedule+0x10cc/0x2b60 [ 27.721743] ? __pfx_read_tsc+0x10/0x10 [ 27.721794] ? ktime_get_ts64+0x86/0x230 [ 27.721857] kunit_try_run_case+0x1a5/0x480 [ 27.721907] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.721951] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 27.721999] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 27.722067] ? __kthread_parkme+0x82/0x180 [ 27.722116] ? preempt_count_sub+0x50/0x80 [ 27.722167] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.722216] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.722248] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 27.722275] kthread+0x337/0x6f0 [ 27.722298] ? trace_preempt_on+0x20/0xc0 [ 27.722322] ? __pfx_kthread+0x10/0x10 [ 27.722345] ? _raw_spin_unlock_irq+0x47/0x80 [ 27.722369] ? calculate_sigpending+0x7b/0xa0 [ 27.722395] ? __pfx_kthread+0x10/0x10 [ 27.722420] ret_from_fork+0x116/0x1d0 [ 27.722460] ? __pfx_kthread+0x10/0x10 [ 27.722490] ret_from_fork_asm+0x1a/0x30 [ 27.722527] </TASK> [ 27.722541] [ 27.733621] The buggy address belongs to stack of task kunit_try_catch/280 [ 27.734045] [ 27.734168] The buggy address belongs to the physical page: [ 27.735426] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a0f [ 27.735963] flags: 0x200000000000000(node=0|zone=2) [ 27.736409] raw: 0200000000000000 ffffea00040e83c8 ffffea00040e83c8 0000000000000000 [ 27.736873] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 27.737251] page dumped because: kasan: bad access detected [ 27.737734] [ 27.737906] Memory state around the buggy address: [ 27.738150] ffff888103a0fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.738829] ffff888103a0fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.739128] >ffff888103a0fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 27.739501] ^ [ 27.739864] ffff888103a0fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 27.740290] ffff888103a0fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 27.740911] ==================================================================