Date
June 24, 2025, 11:37 a.m.
Environment | |
---|---|
dragonboard-845c | |
qemu-x86_64 |
[ 49.847874] ================================================================== [ 49.858909] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 49.866496] Read of size 1 at addr ffff8000842a7b5f by task kunit_try_catch/349 [ 49.873906] [ 49.875443] CPU: 4 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250624 #1 PREEMPT [ 49.875473] Tainted: [B]=BAD_PAGE, [N]=TEST [ 49.875482] Hardware name: Thundercomm Dragonboard 845c (DT) [ 49.875496] Call trace: [ 49.875503] show_stack+0x20/0x38 (C) [ 49.875522] dump_stack_lvl+0x8c/0xd0 [ 49.875541] print_report+0x310/0x608 [ 49.875561] kasan_report+0xdc/0x128 [ 49.875580] __asan_report_load1_noabort+0x20/0x30 [ 49.875596] kasan_alloca_oob_left+0x2b8/0x310 [ 49.875614] kunit_try_run_case+0x170/0x3f0 [ 49.875635] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 49.875655] kthread+0x328/0x630 [ 49.875669] ret_from_fork+0x10/0x20 [ 49.875687] [ 49.941591] The buggy address belongs to stack of task kunit_try_catch/349 [ 49.948562] [ 49.950089] The buggy address belongs to the virtual mapping at [ 49.950089] [ffff8000842a0000, ffff8000842a9000) created by: [ 49.950089] kernel_clone+0x150/0x7a8 [ 49.965557] [ 49.967092] The buggy address belongs to the physical page: [ 49.972732] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11684a [ 49.980834] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 49.987453] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 49.995295] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 50.003132] page dumped because: kasan: bad access detected [ 50.008772] [ 50.010295] Memory state around the buggy address: [ 50.015158] ffff8000842a7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.022465] ffff8000842a7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.029781] >ffff8000842a7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 50.037095] ^ [ 50.043269] ffff8000842a7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 50.050578] ffff8000842a7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 50.057890] ==================================================================
[ 31.495923] ================================================================== [ 31.497153] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 31.497858] Read of size 1 at addr ffff888102a4fc3f by task kunit_try_catch/281 [ 31.498338] [ 31.498520] CPU: 1 UID: 0 PID: 281 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250624 #1 PREEMPT(voluntary) [ 31.498656] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.498691] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 31.498780] Call Trace: [ 31.498817] <TASK> [ 31.498855] dump_stack_lvl+0x73/0xb0 [ 31.498930] print_report+0xd1/0x650 [ 31.498988] ? __virt_addr_valid+0x1db/0x2d0 [ 31.499065] ? kasan_alloca_oob_left+0x320/0x380 [ 31.499124] ? kasan_addr_to_slab+0x11/0xa0 [ 31.499178] ? kasan_alloca_oob_left+0x320/0x380 [ 31.499235] kasan_report+0x141/0x180 [ 31.499289] ? kasan_alloca_oob_left+0x320/0x380 [ 31.499353] __asan_report_load1_noabort+0x18/0x20 [ 31.499417] kasan_alloca_oob_left+0x320/0x380 [ 31.499483] ? __pfx_sched_clock_cpu+0x10/0x10 [ 31.499704] ? finish_task_switch.isra.0+0x153/0x700 [ 31.499761] ? up+0xbe/0x180 [ 31.499790] ? trace_hardirqs_on+0x37/0xe0 [ 31.499838] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 31.499872] ? __schedule+0x10cc/0x2b60 [ 31.499905] ? __pfx_read_tsc+0x10/0x10 [ 31.499935] ? ktime_get_ts64+0x86/0x230 [ 31.499968] kunit_try_run_case+0x1a5/0x480 [ 31.500002] ? __pfx_kunit_try_run_case+0x10/0x10 [ 31.500033] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 31.500076] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 31.500142] ? __kthread_parkme+0x82/0x180 [ 31.500187] ? preempt_count_sub+0x50/0x80 [ 31.500237] ? __pfx_kunit_try_run_case+0x10/0x10 [ 31.500291] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.500344] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 31.500399] kthread+0x337/0x6f0 [ 31.500440] ? trace_preempt_on+0x20/0xc0 [ 31.500473] ? __pfx_kthread+0x10/0x10 [ 31.500502] ? _raw_spin_unlock_irq+0x47/0x80 [ 31.500533] ? calculate_sigpending+0x7b/0xa0 [ 31.500588] ? __pfx_kthread+0x10/0x10 [ 31.500617] ret_from_fork+0x116/0x1d0 [ 31.500659] ? __pfx_kthread+0x10/0x10 [ 31.500689] ret_from_fork_asm+0x1a/0x30 [ 31.500728] </TASK> [ 31.500743] [ 31.513871] The buggy address belongs to stack of task kunit_try_catch/281 [ 31.514655] [ 31.514866] The buggy address belongs to the physical page: [ 31.515496] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a4f [ 31.516662] flags: 0x200000000000000(node=0|zone=2) [ 31.517292] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 31.517838] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 31.518374] page dumped because: kasan: bad access detected [ 31.518879] [ 31.519193] Memory state around the buggy address: [ 31.519660] ffff888102a4fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.520720] ffff888102a4fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.521221] >ffff888102a4fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 31.521752] ^ [ 31.522343] ffff888102a4fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 31.523019] ffff888102a4fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 31.523729] ==================================================================