rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=ae6/1/0x4000000000000004 softirq=354970/354971 fqs=12 rcu: (t=10500 jiffies g=416305 q=974) rcu: rcu_preempt kthread starved for 10473 jiffies! g416305 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: RCU grace-period kthread stack dump: rcu_preempt R running task 29104 10 2 0x80000000 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3515 schedule+0x92/0x1c0 kernel/sched/core.c:3559 schedule_timeout+0x4db/0xfc0 kernel/time/timer.c:1806 rcu_gp_kthread+0xd5c/0x2190 kernel/rcu/tree.c:2202 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 NMI backtrace for cpu 0 CPU: 0 PID: 17081 Comm: syz-executor.3 Not tainted 4.19.101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x189/0x1d5 kernel/rcu/tree.c:1340 print_cpu_stall kernel/rcu/tree.c:1478 [inline] check_cpu_stall kernel/rcu/tree.c:1550 [inline] __rcu_pending kernel/rcu/tree.c:3293 [inline] rcu_pending kernel/rcu/tree.c:3336 [inline] rcu_check_callbacks.cold+0x5e3/0xd90 kernel/rcu/tree.c:2682 update_process_times+0x32/0x80 kernel/time/timer.c:1638 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:168 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1278 __run_hrtimer kernel/time/hrtimer.c:1401 [inline] __hrtimer_run_queues+0x33b/0xdc0 kernel/time/hrtimer.c:1463 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1521 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline] smp_apic_timer_interrupt+0x111/0x550 arch/x86/kernel/apic/apic.c:1092 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x95/0xe0 kernel/locking/spinlock.c:184 Code: 48 c7 c0 48 57 f2 88 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 39 48 83 3d 6a 5a 9d 01 00 74 24 48 89 df 57 9d <0f> 1f 44 00 00 bf 01 00 00 00 e8 2c d2 f3 f9 65 8b 05 d5 f0 ac 78 RSP: 0018:ffff8880ae807bc8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff11e4ae9 RBX: 0000000000000286 RCX: 1ffff1100af3a1de RDX: dffffc0000000000 RSI: ffff8880579d0ed0 RDI: 0000000000000286 RBP: ffff8880ae807bd8 R08: ffff8880579d0600 R09: ffff8880579d0ef0 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ae823a00 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880ae823a00 __mod_timer kernel/time/timer.c:1059 [inline] mod_timer+0x571/0x1030 kernel/time/timer.c:1102 mrp_join_timer_arm+0x5e/0x80 net/802/mrp.c:586 mrp_join_timer+0x79/0x80 net/802/mrp.c:599 call_timer_fn+0x18d/0x720 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers kernel/time/timer.c:1684 [inline] __run_timers kernel/time/timer.c:1652 [inline] run_timer_softirq+0x64f/0x16a0 kernel/time/timer.c:1697 __do_softirq+0x25c/0x921 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x13b/0x550 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_is_held_type+0x17e/0x210 kernel/locking/lockdep.c:3943 Code: 00 00 00 fc ff df 41 c7 85 7c 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 75 63 48 83 3d e1 e2 a0 07 00 74 30 48 89 df 57 9d <0f> 1f 44 00 00 48 83 c4 08 44 89 e0 5b 41 5c 41 5d 5d c3 48 83 c4 RSP: 0018:ffff8881cbbc77a8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff11e4ae9 RBX: 0000000000000286 RCX: ffff8880579d0e80 RDX: dffffc0000000000 RSI: ffffffff8907d4c0 RDI: 0000000000000286 RBP: ffff8881cbbc77c8 R08: ffff8880579d0600 R09: fffffbfff120fa8d R10: ffff8881cbbc77f0 R11: ffffffff8907d467 R12: 0000000000000001 R13: ffff8880579d0600 R14: 0000000000000000 R15: ffff88803100b380 lock_is_held include/linux/lockdep.h:344 [inline] kernfs_next_descendant_post+0x1a1/0x2d0 fs/kernfs/dir.c:1222 kernfs_activate+0x44/0x1f0 fs/kernfs/dir.c:1261 kernfs_add_one+0x377/0x4d0 fs/kernfs/dir.c:811 __kernfs_create_file+0x28f/0x33b fs/kernfs/file.c:1021 sysfs_add_file_mode_ns+0x222/0x560 fs/sysfs/file.c:306 sysfs_merge_group+0x1a0/0x340 fs/sysfs/group.c:317 dpm_sysfs_add+0x164/0x210 drivers/base/power/sysfs.c:656 device_add+0xa47/0x1760 drivers/base/core.c:1994 input_register_device+0x6d2/0xc30 drivers/input/input.c:2148 uinput_create_device drivers/input/misc/uinput.c:377 [inline] uinput_ioctl_handler.isra.0+0x1035/0x1c50 drivers/input/misc/uinput.c:882 uinput_ioctl+0x4a/0x60 drivers/input/misc/uinput.c:1053 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b399 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1463264c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f14632656d4 RCX: 000000000045b399 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000006 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000005b6 R14: 00000000004c70c4 R15: 000000000075bf2c input: syz1 as /devices/virtual/input/input17