Date
April 20, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 | |
rk3399-rock-pi-4b |
[ 26.252889] ================================================================== [ 26.253126] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 26.253311] Read of size 1 at addr ffff800080a27b5f by task kunit_try_catch/253 [ 26.253436] [ 26.253514] CPU: 0 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 26.253701] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.253768] Hardware name: linux,dummy-virt (DT) [ 26.253842] Call trace: [ 26.253892] show_stack+0x20/0x38 (C) [ 26.254038] dump_stack_lvl+0x8c/0xd0 [ 26.254151] print_report+0x310/0x608 [ 26.254266] kasan_report+0xdc/0x128 [ 26.254390] __asan_report_load1_noabort+0x20/0x30 [ 26.254518] kasan_alloca_oob_left+0x2b8/0x310 [ 26.254681] kunit_try_run_case+0x170/0x3f0 [ 26.254806] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.254976] kthread+0x328/0x630 [ 26.255108] ret_from_fork+0x10/0x20 [ 26.255967] [ 26.256029] The buggy address belongs to stack of task kunit_try_catch/253 [ 26.256907] [ 26.256993] The buggy address belongs to the virtual mapping at [ 26.256993] [ffff800080a20000, ffff800080a29000) created by: [ 26.256993] kernel_clone+0x150/0x7a8 [ 26.257918] [ 26.258152] The buggy address belongs to the physical page: [ 26.258528] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10761b [ 26.258658] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 26.259838] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 26.259998] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 26.260816] page dumped because: kasan: bad access detected [ 26.260914] [ 26.261051] Memory state around the buggy address: [ 26.261207] ffff800080a27a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.261314] ffff800080a27a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.261415] >ffff800080a27b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 26.261510] ^ [ 26.261604] ffff800080a27b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 26.261714] ffff800080a27c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 26.261986] ==================================================================
[ 13.316530] ================================================================== [ 13.317050] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 13.317302] Read of size 1 at addr ffff888103aefc3f by task kunit_try_catch/271 [ 13.317537] [ 13.317625] CPU: 0 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT(voluntary) [ 13.317670] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.317682] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.317704] Call Trace: [ 13.317716] <TASK> [ 13.317732] dump_stack_lvl+0x73/0xb0 [ 13.317757] print_report+0xd1/0x650 [ 13.317783] ? __virt_addr_valid+0x1db/0x2d0 [ 13.317804] ? kasan_alloca_oob_left+0x320/0x380 [ 13.317826] ? kasan_addr_to_slab+0x11/0xa0 [ 13.317847] ? kasan_alloca_oob_left+0x320/0x380 [ 13.317869] kasan_report+0x141/0x180 [ 13.317890] ? kasan_alloca_oob_left+0x320/0x380 [ 13.317916] __asan_report_load1_noabort+0x18/0x20 [ 13.317935] kasan_alloca_oob_left+0x320/0x380 [ 13.317959] ? finish_task_switch.isra.0+0x153/0x700 [ 13.317982] ? rwsem_down_read_slowpath+0x64e/0xb90 [ 13.318003] ? trace_hardirqs_on+0x37/0xe0 [ 13.318027] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 13.318052] ? __schedule+0x10cc/0x2b30 [ 13.318074] ? __pfx_read_tsc+0x10/0x10 [ 13.318093] ? ktime_get_ts64+0x86/0x230 [ 13.318117] kunit_try_run_case+0x1a5/0x480 [ 13.318141] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.318161] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.318184] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.318206] ? __kthread_parkme+0x82/0x180 [ 13.318228] ? preempt_count_sub+0x50/0x80 [ 13.318251] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.318273] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.318295] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.318316] kthread+0x337/0x6f0 [ 13.318701] ? trace_preempt_on+0x20/0xc0 [ 13.318726] ? __pfx_kthread+0x10/0x10 [ 13.318748] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.318771] ? calculate_sigpending+0x7b/0xa0 [ 13.318792] ? __pfx_kthread+0x10/0x10 [ 13.319056] ret_from_fork+0x41/0x80 [ 13.319088] ? __pfx_kthread+0x10/0x10 [ 13.319111] ret_from_fork_asm+0x1a/0x30 [ 13.319159] </TASK> [ 13.319171] [ 13.335819] The buggy address belongs to stack of task kunit_try_catch/271 [ 13.336528] [ 13.336690] The buggy address belongs to the physical page: [ 13.336960] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103aef [ 13.337377] flags: 0x200000000000000(node=0|zone=2) [ 13.337883] raw: 0200000000000000 ffffea00040ebbc8 ffffea00040ebbc8 0000000000000000 [ 13.338605] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.339111] page dumped because: kasan: bad access detected [ 13.339283] [ 13.339366] Memory state around the buggy address: [ 13.339881] ffff888103aefb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.340627] ffff888103aefb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.341270] >ffff888103aefc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 13.341864] ^ [ 13.342033] ffff888103aefc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 13.342292] ffff888103aefd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.343111] ==================================================================
[ 23.400290] ================================================================== [ 23.401333] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 23.402050] Read of size 1 at addr ffff8000896f7b5f by task kunit_try_catch/305 [ 23.402730] [ 23.402895] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 23.402948] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.402964] Hardware name: Radxa ROCK Pi 4B (DT) [ 23.402983] Call trace: [ 23.402996] show_stack+0x20/0x38 (C) [ 23.403031] dump_stack_lvl+0x8c/0xd0 [ 23.403064] print_report+0x310/0x608 [ 23.403095] kasan_report+0xdc/0x128 [ 23.403123] __asan_report_load1_noabort+0x20/0x30 [ 23.403159] kasan_alloca_oob_left+0x2b8/0x310 [ 23.403195] kunit_try_run_case+0x170/0x3f0 [ 23.403231] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 23.403271] kthread+0x328/0x630 [ 23.403306] ret_from_fork+0x10/0x20 [ 23.403340] [ 23.408949] The buggy address belongs to stack of task kunit_try_catch/305 [ 23.409603] [ 23.409764] The buggy address belongs to the virtual mapping at [ 23.409764] [ffff8000896f0000, ffff8000896f9000) created by: [ 23.409764] kernel_clone+0x150/0x7a8 [ 23.411157] [ 23.411313] The buggy address belongs to the physical page: [ 23.411832] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xfe83 [ 23.412558] flags: 0x3fffe0000000000(node=0|zone=0|lastcpupid=0x1ffff) [ 23.413183] raw: 03fffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 23.413900] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 23.414608] page dumped because: kasan: bad access detected [ 23.415125] [ 23.415278] Memory state around the buggy address: [ 23.415728] ffff8000896f7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.416395] ffff8000896f7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.417063] >ffff8000896f7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 23.417726] ^ [ 23.418292] ffff8000896f7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 23.418960] ffff8000896f7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 23.419623] ==================================================================