------------[ cut here ]------------ WARNING: CPU: 0 PID: 22186 at kernel/events/core.c:2781 __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 Modules linked in: CPU: 0 PID: 22186 Comm: syz-executor.1 Not tainted 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 ra : __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 epc : ffffffe00027d7ba ra : ffffffe00027d7ba sp : ffffffe01ccafaf0 gp : ffffffe0045883c0 tp : ffffffe0229097c0 t0 : ffffffc400f74706 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe01ccafb50 s1 : ffffffe01cc84000 a0 : ffffffe066d5c118 a1 : 00000000000f0000 a2 : ffffffd012ceb000 a3 : ffffffe00027d7ba a4 : ffffffd012cf2408 a5 : 0000000000000e81 a6 : 0000000000f00000 a7 : ffffffe00027d6ba s2 : ffffffe066d5bf70 s3 : ffffffe01cc840a8 s4 : ffffffe0084b9400 s5 : ffffffe0229097c0 s6 : ffffffe066d5bf78 s7 : ffffffe0084bac00 s8 : ffffffe0229097c0 s9 : ffffffe00458c0d0 s10: 0000000000000000 s11: 0000000000000000 t3 : 6c6ee61cd6695500 t4 : ffffffc403995f97 t5 : ffffffc403995f99 t6 : ffffffe022236c3c status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] __perf_install_in_context+0x1c0/0x47c kernel/events/core.c:2781 [] remote_function kernel/events/core.c:91 [inline] [] remote_function+0xa8/0xc0 kernel/events/core.c:71 [] generic_exec_single+0x1a6/0x212 kernel/smp.c:293 [] smp_call_function_single+0x134/0x2ba kernel/smp.c:513 [] task_function_call+0x90/0xee kernel/events/core.c:119 [] perf_install_in_context+0x174/0x2e6 kernel/events/core.c:2902 [] __do_sys_perf_event_open+0x10ea/0x199e kernel/events/core.c:12169 [] sys_perf_event_open+0x34/0x46 kernel/events/core.c:11775 [] ret_from_syscall+0x0/0x2 irq event stamp: 98 hardirqs last enabled at (97): [] mod_memcg_lruvec_state include/linux/memcontrol.h:979 [inline] hardirqs last enabled at (97): [] mod_objcg_state mm/slab.h:296 [inline] hardirqs last enabled at (97): [] memcg_slab_post_alloc_hook+0x2ea/0x46a mm/slab.h:327 hardirqs last disabled at (98): [] generic_exec_single+0x1a2/0x212 kernel/smp.c:292 softirqs last enabled at (60): [] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372 softirqs last disabled at (49): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (49): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (49): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (49): [] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446 ---[ end trace a72ebc8d208276e5 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 22186 at kernel/events/core.c:3210 ctx_sched_out+0x312/0x548 kernel/events/core.c:3210 Modules linked in: CPU: 0 PID: 22186 Comm: syz-executor.1 Tainted: G W 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : ctx_sched_out+0x312/0x548 kernel/events/core.c:3210 ra : ctx_sched_out+0x312/0x548 kernel/events/core.c:3210 epc : ffffffe00027ca5e ra : ffffffe00027ca5e sp : ffffffe01ccafa90 gp : ffffffe0045883c0 tp : ffffffe0229097c0 t0 : ffffffc400f74706 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe01ccafaf0 s1 : ffffffe0084b9400 a0 : ffffffe066d5c118 a1 : 00000000000f0000 a2 : ffffffd012ceb000 a3 : ffffffe00027ca5e a4 : ffffffd012eaf928 a5 : 0000000000038925 a6 : 0000000000f00000 a7 : ffffffe00027d6ba s2 : ffffffe066d5bf70 s3 : 0000000000000004 s4 : 0000000000000000 s5 : 0000000000000000 s6 : ffffffe0084b9540 s7 : 0000000000000000 s8 : ffffffe0229097c0 s9 : ffffffe00458c0d0 s10: 0000000000000000 s11: 0000000000000000 t3 : 6c6ee61cd6695500 t4 : ffffffc403995f97 t5 : ffffffc403995f99 t6 : ffffffe022236c3c status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] ctx_sched_out+0x312/0x548 kernel/events/core.c:3210 [] __perf_install_in_context+0x1f4/0x47c kernel/events/core.c:2799 [] remote_function kernel/events/core.c:91 [inline] [] remote_function+0xa8/0xc0 kernel/events/core.c:71 [] generic_exec_single+0x1a6/0x212 kernel/smp.c:293 [] smp_call_function_single+0x134/0x2ba kernel/smp.c:513 [] task_function_call+0x90/0xee kernel/events/core.c:119 [] perf_install_in_context+0x174/0x2e6 kernel/events/core.c:2902 [] __do_sys_perf_event_open+0x10ea/0x199e kernel/events/core.c:12169 [] sys_perf_event_open+0x34/0x46 kernel/events/core.c:11775 [] ret_from_syscall+0x0/0x2 irq event stamp: 98 hardirqs last enabled at (97): [] mod_memcg_lruvec_state include/linux/memcontrol.h:979 [inline] hardirqs last enabled at (97): [] mod_objcg_state mm/slab.h:296 [inline] hardirqs last enabled at (97): [] memcg_slab_post_alloc_hook+0x2ea/0x46a mm/slab.h:327 hardirqs last disabled at (98): [] generic_exec_single+0x1a2/0x212 kernel/smp.c:292 softirqs last enabled at (60): [] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372 softirqs last disabled at (49): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (49): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (49): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (49): [] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446 ---[ end trace a72ebc8d208276e6 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 22186 at kernel/events/core.c:2668 task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668 Modules linked in: CPU: 0 PID: 22186 Comm: syz-executor.1 Tainted: G W 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668 ra : task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668 epc : ffffffe00027ccf0 ra : ffffffe00027ccf0 sp : ffffffe01ccafa70 gp : ffffffe0045883c0 tp : ffffffe0229097c0 t0 : ffffffc400f74706 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe01ccafaa0 s1 : ffffffe066d5bf70 a0 : ffffffe066d5c118 a1 : 00000000000f0000 a2 : ffffffd012ceb000 a3 : ffffffe00027ccf0 a4 : 0000000000040000 a5 : 0000000000040000 a6 : 0000000000f00000 a7 : ffffffe00027d6ba s2 : ffffffe0084b9400 s3 : 0000000000000001 s4 : ffffffe0084bac00 s5 : ffffffe0050495a8 s6 : ffffffe0084b9400 s7 : ffffffe00423cdc8 s8 : 0000000000000000 s9 : ffffffe00458c0d0 s10: 0000000000000000 s11: 0000000000000000 t3 : 6c6ee61cd6695500 t4 : ffffffc403995f97 t5 : ffffffc403995f99 t6 : ffffffe022236c3c status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] task_ctx_sched_out+0x5c/0x60 kernel/events/core.c:2668 [] ctx_resched+0xd6/0x1ba kernel/events/core.c:2719 [] __perf_install_in_context+0x214/0x47c kernel/events/core.c:2801 [] remote_function kernel/events/core.c:91 [inline] [] remote_function+0xa8/0xc0 kernel/events/core.c:71 [] generic_exec_single+0x1a6/0x212 kernel/smp.c:293 [] smp_call_function_single+0x134/0x2ba kernel/smp.c:513 [] task_function_call+0x90/0xee kernel/events/core.c:119 [] perf_install_in_context+0x174/0x2e6 kernel/events/core.c:2902 [] __do_sys_perf_event_open+0x10ea/0x199e kernel/events/core.c:12169 [] sys_perf_event_open+0x34/0x46 kernel/events/core.c:11775 [] ret_from_syscall+0x0/0x2 irq event stamp: 98 hardirqs last enabled at (97): [] mod_memcg_lruvec_state include/linux/memcontrol.h:979 [inline] hardirqs last enabled at (97): [] mod_objcg_state mm/slab.h:296 [inline] hardirqs last enabled at (97): [] memcg_slab_post_alloc_hook+0x2ea/0x46a mm/slab.h:327 hardirqs last disabled at (98): [] generic_exec_single+0x1a2/0x212 kernel/smp.c:292 softirqs last enabled at (60): [] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372 softirqs last disabled at (49): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (49): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (49): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (49): [] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446 ---[ end trace a72ebc8d208276e7 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 22186 at kernel/events/core.c:3752 ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 Modules linked in: CPU: 1 PID: 22186 Comm: syz-executor.1 Tainted: G W 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 ra : ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 epc : ffffffe00027a674 ra : ffffffe00027a674 sp : ffffffe01ccaf910 gp : ffffffe0045883c0 tp : ffffffe0229097c0 t0 : 0000000000000000 t1 : 0000000000006000 t2 : 00000000000f4240 s0 : ffffffe01ccaf980 s1 : ffffffe0084b9400 a0 : ffffffe066d79118 a1 : 00000000000f0000 a2 : 0000000000000002 a3 : ffffffe00027a674 a4 : ffffffe02290a7c0 a5 : 0000000040000002 a6 : 0000000000f00000 a7 : 0000000054494d45 s2 : 0000000000000007 s3 : ffffffe0084b9540 s4 : ffffffe0229097c0 s5 : 0000000000000002 s6 : ffffffe00458c0d0 s7 : ffffffe066d78f70 s8 : 0000000000000007 s9 : ffffffe066d79118 s10: ffffffe0084b9400 s11: ffffffe0084b9408 t3 : 000000000000143d t4 : ffffffc403eba7b2 t5 : ffffffc403eba7ba t6 : 0000000000040000 status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] ctx_sched_in+0x12e/0x3ee kernel/events/core.c:3752 [] perf_event_sched_in+0x38/0x74 kernel/events/core.c:2680 [] perf_event_context_sched_in kernel/events/core.c:3817 [inline] [] __perf_event_task_sched_in+0x4ea/0x680 kernel/events/core.c:3860 [] perf_event_task_sched_in include/linux/perf_event.h:1210 [inline] [] finish_task_switch.isra.0+0x284/0x318 kernel/sched/core.c:4189 [] context_switch kernel/sched/core.c:4325 [inline] [] __schedule+0x484/0xe8c kernel/sched/core.c:5073 [] preempt_schedule_common+0x4e/0xde kernel/sched/core.c:5233 [] preempt_schedule+0x34/0x36 kernel/sched/core.c:5258 [] smp_call_function_single+0x2a0/0x2ba kernel/smp.c:518 [] task_function_call+0x90/0xee kernel/events/core.c:119 [] perf_install_in_context+0x174/0x2e6 kernel/events/core.c:2902 [] __do_sys_perf_event_open+0x10ea/0x199e kernel/events/core.c:12169 [] sys_perf_event_open+0x34/0x46 kernel/events/core.c:11775 [] ret_from_syscall+0x0/0x2 irq event stamp: 98 hardirqs last enabled at (97): [] mod_memcg_lruvec_state include/linux/memcontrol.h:979 [inline] hardirqs last enabled at (97): [] mod_objcg_state mm/slab.h:296 [inline] hardirqs last enabled at (97): [] memcg_slab_post_alloc_hook+0x2ea/0x46a mm/slab.h:327 hardirqs last disabled at (98): [] generic_exec_single+0x1a2/0x212 kernel/smp.c:292 softirqs last enabled at (60): [] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372 softirqs last disabled at (49): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (49): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (49): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (49): [] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446 ---[ end trace a72ebc8d208276e8 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 22186 at kernel/events/core.c:3219 ctx_sched_out+0x544/0x548 kernel/events/core.c:3219 Modules linked in: CPU: 1 PID: 22186 Comm: syz-executor.1 Tainted: G W 5.12.0-rc8-syzkaller-00011-g18a3c5f7abfd #0 Hardware name: riscv-virtio,qemu (DT) epc : ctx_sched_out+0x544/0x548 kernel/events/core.c:3219 ra : ctx_sched_out+0x544/0x548 kernel/events/core.c:3219 epc : ffffffe00027cc90 ra : ffffffe00027cc90 sp : ffffffe01ccafa90 gp : ffffffe0045883c0 tp : ffffffe0229097c0 t0 : ffffffc400fad9a0 t1 : ffffffc403995f98 t2 : 0000000000000000 s0 : ffffffe01ccafaf0 s1 : ffffffe0084b9400 a0 : ffffffe066d79118 a1 : 00000000000f0000 a2 : ffffffd012ceb000 a3 : ffffffe00027cc90 a4 : ffffffd012ced4d8 a5 : 000000000000049b a6 : 0000000000f00000 a7 : ffffffe01ccafcc7 s2 : ffffffe066d78f70 s3 : 0000000000000003 s4 : ffffffe066d79118 s5 : 0000000000000001 s6 : ffffffe0084b9540 s7 : 0000000000000007 s8 : ffffffe0229097c0 s9 : ffffffe00458c0d0 s10: 0000000000000000 s11: 0000000000000000 t3 : 000000004fb00000 t4 : ffffffc403995f97 t5 : ffffffc403995f99 t6 : ffffffe0222c7394 status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003 Call Trace: [] ctx_sched_out+0x544/0x548 kernel/events/core.c:3219 [] __perf_install_in_context+0x1f4/0x47c kernel/events/core.c:2799 [] remote_function kernel/events/core.c:91 [inline] [] remote_function+0xa8/0xc0 kernel/events/core.c:71 [] generic_exec_single+0x1a6/0x212 kernel/smp.c:293 [] smp_call_function_single+0x134/0x2ba kernel/smp.c:513 [] task_function_call+0x90/0xee kernel/events/core.c:119 [] perf_install_in_context+0x174/0x2e6 kernel/events/core.c:2902 [] __do_sys_perf_event_open+0x10ea/0x199e kernel/events/core.c:12169 [] sys_perf_event_open+0x34/0x46 kernel/events/core.c:11775 [] ret_from_syscall+0x0/0x2 irq event stamp: 98 hardirqs last enabled at (97): [] mod_memcg_lruvec_state include/linux/memcontrol.h:979 [inline] hardirqs last enabled at (97): [] mod_objcg_state mm/slab.h:296 [inline] hardirqs last enabled at (97): [] memcg_slab_post_alloc_hook+0x2ea/0x46a mm/slab.h:327 hardirqs last disabled at (98): [] generic_exec_single+0x1a2/0x212 kernel/smp.c:292 softirqs last enabled at (60): [] __do_softirq+0x5e0/0x8c4 kernel/softirq.c:372 softirqs last disabled at (49): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (49): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (49): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (49): [] irq_exit+0x1a0/0x1b6 kernel/softirq.c:446 ---[ end trace a72ebc8d208276e9 ]---