Date
July 3, 2025, 10:10 a.m.
Environment | |
---|---|
dragonboard-845c | |
qemu-arm64 | |
qemu-x86_64 |
[ 52.050807] ================================================================== [ 52.061844] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 52.069432] Read of size 1 at addr ffff8000843b7b5f by task kunit_try_catch/360 [ 52.076842] [ 52.078380] CPU: 5 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250703 #1 PREEMPT [ 52.078412] Tainted: [B]=BAD_PAGE, [N]=TEST [ 52.078421] Hardware name: Thundercomm Dragonboard 845c (DT) [ 52.078433] Call trace: [ 52.078440] show_stack+0x20/0x38 (C) [ 52.078460] dump_stack_lvl+0x8c/0xd0 [ 52.078481] print_report+0x310/0x608 [ 52.078503] kasan_report+0xdc/0x128 [ 52.078522] __asan_report_load1_noabort+0x20/0x30 [ 52.078539] kasan_alloca_oob_left+0x2b8/0x310 [ 52.078557] kunit_try_run_case+0x170/0x3f0 [ 52.078575] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 52.078597] kthread+0x328/0x630 [ 52.078611] ret_from_fork+0x10/0x20 [ 52.078629] [ 52.144556] The buggy address belongs to stack of task kunit_try_catch/360 [ 52.151530] [ 52.153059] The buggy address belongs to the virtual mapping at [ 52.153059] [ffff8000843b0000, ffff8000843b9000) created by: [ 52.153059] kernel_clone+0x150/0x7a8 [ 52.168523] [ 52.170051] The buggy address belongs to the physical page: [ 52.175692] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10463d [ 52.183796] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 52.190421] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 52.198267] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 52.206107] page dumped because: kasan: bad access detected [ 52.211749] [ 52.213273] Memory state around the buggy address: [ 52.218130] ffff8000843b7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 52.225438] ffff8000843b7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 52.232746] >ffff8000843b7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 52.240051] ^ [ 52.246221] ffff8000843b7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 52.253530] ffff8000843b7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 52.260836] ==================================================================
[ 33.239715] ================================================================== [ 33.239901] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 33.240026] Read of size 1 at addr ffff800080a87b5f by task kunit_try_catch/283 [ 33.240079] [ 33.240369] CPU: 0 UID: 0 PID: 283 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250703 #1 PREEMPT [ 33.240461] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.240517] Hardware name: linux,dummy-virt (DT) [ 33.240553] Call trace: [ 33.240579] show_stack+0x20/0x38 (C) [ 33.240632] dump_stack_lvl+0x8c/0xd0 [ 33.240773] print_report+0x310/0x608 [ 33.240966] kasan_report+0xdc/0x128 [ 33.241130] __asan_report_load1_noabort+0x20/0x30 [ 33.241191] kasan_alloca_oob_left+0x2b8/0x310 [ 33.241319] kunit_try_run_case+0x170/0x3f0 [ 33.241373] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 33.241432] kthread+0x328/0x630 [ 33.241478] ret_from_fork+0x10/0x20 [ 33.241743] [ 33.241786] The buggy address belongs to stack of task kunit_try_catch/283 [ 33.241966] [ 33.242003] The buggy address belongs to the virtual mapping at [ 33.242003] [ffff800080a80000, ffff800080a89000) created by: [ 33.242003] kernel_clone+0x150/0x7a8 [ 33.242089] [ 33.242405] The buggy address belongs to the physical page: [ 33.242554] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109b42 [ 33.242638] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 33.242719] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 33.242775] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 33.242819] page dumped because: kasan: bad access detected [ 33.242870] [ 33.243038] Memory state around the buggy address: [ 33.243369] ffff800080a87a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.243425] ffff800080a87a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.243514] >ffff800080a87b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 33.243663] ^ [ 33.243763] ffff800080a87b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 33.243937] ffff800080a87c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 33.243997] ==================================================================
[ 25.004412] ================================================================== [ 25.005088] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 25.005608] Read of size 1 at addr ffff8881060c7c3f by task kunit_try_catch/300 [ 25.005913] [ 25.006014] CPU: 1 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) [ 25.006061] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.006074] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.006097] Call Trace: [ 25.006109] <TASK> [ 25.006126] dump_stack_lvl+0x73/0xb0 [ 25.006388] print_report+0xd1/0x650 [ 25.006413] ? __virt_addr_valid+0x1db/0x2d0 [ 25.006438] ? kasan_alloca_oob_left+0x320/0x380 [ 25.006636] ? kasan_addr_to_slab+0x11/0xa0 [ 25.006671] ? kasan_alloca_oob_left+0x320/0x380 [ 25.006694] kasan_report+0x141/0x180 [ 25.006716] ? kasan_alloca_oob_left+0x320/0x380 [ 25.006742] __asan_report_load1_noabort+0x18/0x20 [ 25.006767] kasan_alloca_oob_left+0x320/0x380 [ 25.006788] ? __kasan_check_write+0x18/0x20 [ 25.006811] ? __pfx_sched_clock_cpu+0x10/0x10 [ 25.006833] ? irqentry_exit+0x2a/0x60 [ 25.006854] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 25.006877] ? trace_hardirqs_on+0x37/0xe0 [ 25.006901] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 25.006927] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 25.006953] kunit_try_run_case+0x1a5/0x480 [ 25.006979] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.007002] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 25.007023] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 25.007047] ? __kthread_parkme+0x82/0x180 [ 25.007069] ? preempt_count_sub+0x50/0x80 [ 25.007093] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.007117] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.007165] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 25.007207] kthread+0x337/0x6f0 [ 25.007227] ? trace_preempt_on+0x20/0xc0 [ 25.007249] ? __pfx_kthread+0x10/0x10 [ 25.007270] ? _raw_spin_unlock_irq+0x47/0x80 [ 25.007293] ? calculate_sigpending+0x7b/0xa0 [ 25.007317] ? __pfx_kthread+0x10/0x10 [ 25.007338] ret_from_fork+0x116/0x1d0 [ 25.007358] ? __pfx_kthread+0x10/0x10 [ 25.007378] ret_from_fork_asm+0x1a/0x30 [ 25.007410] </TASK> [ 25.007421] [ 25.017373] The buggy address belongs to stack of task kunit_try_catch/300 [ 25.017651] [ 25.017732] The buggy address belongs to the physical page: [ 25.017983] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1060c7 [ 25.018565] flags: 0x200000000000000(node=0|zone=2) [ 25.018816] raw: 0200000000000000 ffffea00041831c8 ffffea00041831c8 0000000000000000 [ 25.019116] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 25.019450] page dumped because: kasan: bad access detected [ 25.019657] [ 25.019745] Memory state around the buggy address: [ 25.019961] ffff8881060c7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.020296] ffff8881060c7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.020602] >ffff8881060c7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 25.020865] ^ [ 25.021049] ffff8881060c7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 25.021433] ffff8881060c7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 25.021730] ==================================================================