Date
June 26, 2025, 9:10 a.m.
Environment | |
---|---|
dragonboard-845c | |
qemu-arm64 | |
qemu-x86_64 |
[ 51.438899] ================================================================== [ 51.450459] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 51.458137] Read of size 1 at addr ffff8000841f7b4a by task kunit_try_catch/339 [ 51.465550] [ 51.467086] CPU: 0 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT [ 51.467118] Tainted: [B]=BAD_PAGE, [N]=TEST [ 51.467128] Hardware name: Thundercomm Dragonboard 845c (DT) [ 51.467144] Call trace: [ 51.467152] show_stack+0x20/0x38 (C) [ 51.467171] dump_stack_lvl+0x8c/0xd0 [ 51.467191] print_report+0x310/0x608 [ 51.467210] kasan_report+0xdc/0x128 [ 51.467231] __asan_report_load1_noabort+0x20/0x30 [ 51.467249] kasan_alloca_oob_right+0x2dc/0x340 [ 51.467268] kunit_try_run_case+0x170/0x3f0 [ 51.467289] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 51.467312] kthread+0x328/0x630 [ 51.467327] ret_from_fork+0x10/0x20 [ 51.467348] [ 51.533397] The buggy address belongs to stack of task kunit_try_catch/339 [ 51.540375] [ 51.541909] The buggy address belongs to the virtual mapping at [ 51.541909] [ffff8000841f0000, ffff8000841f9000) created by: [ 51.541909] kernel_clone+0x150/0x7a8 [ 51.557391] [ 51.558924] The buggy address belongs to the physical page: [ 51.564570] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x116748 [ 51.572676] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 51.579296] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 51.587144] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 51.594987] page dumped because: kasan: bad access detected [ 51.600633] [ 51.602165] Memory state around the buggy address: [ 51.607024] ffff8000841f7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 51.614340] ffff8000841f7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 51.621656] >ffff8000841f7b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 51.628969] ^ [ 51.634619] ffff8000841f7b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 51.641934] ffff8000841f7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 51.649247] ==================================================================
[ 29.050008] ================================================================== [ 29.050243] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 29.050308] Read of size 1 at addr ffff800080987b4a by task kunit_try_catch/265 [ 29.050360] [ 29.050390] CPU: 0 UID: 0 PID: 265 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT [ 29.050766] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.050812] Hardware name: linux,dummy-virt (DT) [ 29.050850] Call trace: [ 29.050921] show_stack+0x20/0x38 (C) [ 29.050985] dump_stack_lvl+0x8c/0xd0 [ 29.051035] print_report+0x310/0x608 [ 29.051103] kasan_report+0xdc/0x128 [ 29.051153] __asan_report_load1_noabort+0x20/0x30 [ 29.051203] kasan_alloca_oob_right+0x2dc/0x340 [ 29.051442] kunit_try_run_case+0x170/0x3f0 [ 29.051494] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.051549] kthread+0x328/0x630 [ 29.051594] ret_from_fork+0x10/0x20 [ 29.051767] [ 29.051792] The buggy address belongs to stack of task kunit_try_catch/265 [ 29.051898] [ 29.052050] The buggy address belongs to the virtual mapping at [ 29.052050] [ffff800080980000, ffff800080989000) created by: [ 29.052050] kernel_clone+0x150/0x7a8 [ 29.052216] [ 29.052240] The buggy address belongs to the physical page: [ 29.052293] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1065b3 [ 29.052413] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 29.052542] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 29.052634] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 29.052768] page dumped because: kasan: bad access detected [ 29.052839] [ 29.052879] Memory state around the buggy address: [ 29.052918] ffff800080987a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.052964] ffff800080987a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 29.053033] >ffff800080987b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 29.053080] ^ [ 29.053135] ffff800080987b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 29.053178] ffff800080987c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 29.053218] ==================================================================
[ 23.985399] ================================================================== [ 23.985874] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 23.986116] Read of size 1 at addr ffff888103b6fc4a by task kunit_try_catch/282 [ 23.986683] [ 23.986981] CPU: 0 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250626 #1 PREEMPT(voluntary) [ 23.987059] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.987073] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.987098] Call Trace: [ 23.987111] <TASK> [ 23.987129] dump_stack_lvl+0x73/0xb0 [ 23.987161] print_report+0xd1/0x650 [ 23.987183] ? __virt_addr_valid+0x1db/0x2d0 [ 23.987207] ? kasan_alloca_oob_right+0x329/0x390 [ 23.987240] ? kasan_addr_to_slab+0x11/0xa0 [ 23.987260] ? kasan_alloca_oob_right+0x329/0x390 [ 23.987281] kasan_report+0x141/0x180 [ 23.987394] ? kasan_alloca_oob_right+0x329/0x390 [ 23.987423] __asan_report_load1_noabort+0x18/0x20 [ 23.987581] kasan_alloca_oob_right+0x329/0x390 [ 23.987605] ? __pfx_sched_clock_cpu+0x10/0x10 [ 23.987626] ? finish_task_switch.isra.0+0x153/0x700 [ 23.987649] ? down_write_killable+0x7e/0x180 [ 23.987672] ? trace_hardirqs_on+0x37/0xe0 [ 23.987696] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 23.987720] ? __schedule+0x10cc/0x2b60 [ 23.987745] ? __pfx_read_tsc+0x10/0x10 [ 23.987767] ? ktime_get_ts64+0x86/0x230 [ 23.987815] kunit_try_run_case+0x1a5/0x480 [ 23.987839] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.987862] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.987887] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.987910] ? __kthread_parkme+0x82/0x180 [ 23.987930] ? preempt_count_sub+0x50/0x80 [ 23.987952] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.987976] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.987997] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.988036] kthread+0x337/0x6f0 [ 23.988057] ? trace_preempt_on+0x20/0xc0 [ 23.988078] ? __pfx_kthread+0x10/0x10 [ 23.988098] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.988120] ? calculate_sigpending+0x7b/0xa0 [ 23.988144] ? __pfx_kthread+0x10/0x10 [ 23.988164] ret_from_fork+0x116/0x1d0 [ 23.988183] ? __pfx_kthread+0x10/0x10 [ 23.988203] ret_from_fork_asm+0x1a/0x30 [ 23.988243] </TASK> [ 23.988255] [ 24.000107] The buggy address belongs to stack of task kunit_try_catch/282 [ 24.000486] [ 24.000568] The buggy address belongs to the physical page: [ 24.000850] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103b6f [ 24.001180] flags: 0x200000000000000(node=0|zone=2) [ 24.001437] raw: 0200000000000000 ffffea00040edbc8 ffffea00040edbc8 0000000000000000 [ 24.001703] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 24.002142] page dumped because: kasan: bad access detected [ 24.002404] [ 24.002476] Memory state around the buggy address: [ 24.002691] ffff888103b6fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.003038] ffff888103b6fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.003370] >ffff888103b6fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 24.003607] ^ [ 24.003916] ffff888103b6fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 24.004207] ffff888103b6fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 24.004513] ==================================================================