rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=889/1/0x4000000000000000 softirq=88218/88218 fqs=0 (detected by 0, t=10506 jiffies, g=127509, q=276) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 22912 Comm: udevd Not tainted 5.18.0-rc7-syzkaller-00121-g3d7285a335ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:382 [inline] RIP: 0010:__rcu_read_unlock+0x24/0x100 kernel/rcu/tree_plugin.h:421 Code: 00 0f 1f 44 00 00 55 41 57 41 56 41 55 41 54 53 49 bc 00 00 00 00 00 fc ff df 65 4c 8b 34 25 80 6f 02 00 4d 8d ae 3c 04 00 00 <4c> 89 eb 48 c1 eb 03 42 8a 04 23 84 c0 75 5e 41 8b 6d 00 ff cd 42 RSP: 0018:ffffc900001e0c48 EFLAGS: 00000046 RAX: ffffffff885f6fb3 RBX: ffff88807f0fb120 RCX: ffff88801c8e9d80 RDX: 0000000080010001 RSI: ffffffff8ae88f00 RDI: ffffffff8ae88ec0 RBP: 0000000140000002 R08: ffffffff88260dfb R09: ffffed100f06452c R10: ffffed100f06452c R11: 1ffff1100f06452b R12: dffffc0000000000 R13: ffff88801c8ea1bc R14: ffff88801c8e9d80 R15: 17c91ecfaf923d9f FS: 00007f6bfd8d2840(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4c1998000 CR3: 000000004d515000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:726 [inline] advance_sched+0x749/0x8c0 net/sched/sch_taprio.c:770 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:lock_acquire+0x21e/0x400 kernel/locking/lockdep.c:5645 Code: 23 00 74 08 4c 89 f7 e8 20 fe 6f 00 f6 44 24 61 02 0f 85 76 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 04 2c 00 00 00 00 43 c7 44 2c 09 00 00 00 00 43 c7 44 2c 11 RSP: 0018:ffffc900043dfd60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200087bfb8 RCX: ffff88801c8ea7d8 RDX: dffffc0000000000 RSI: ffffffff8a8d1720 RDI: ffffffff8ae88f20 RBP: ffffc900043dfeb8 R08: dffffc0000000000 R09: fffffbfff1f643fc R10: fffffbfff1f643fc R11: 1ffffffff1f643fb R12: dffffc0000000000 R13: 1ffff9200087bfb4 R14: ffffc900043dfdc0 R15: 0000000000000246 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] pick_file+0x2f/0x1f0 fs/file.c:643 close_fd+0x45/0x70 fs/file.c:667 __do_sys_close fs/open.c:1342 [inline] __se_sys_close fs/open.c:1340 [inline] __x64_sys_close+0x34/0x90 fs/open.c:1340 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6bfd52a467 Code: 44 00 00 48 8b 15 11 aa 0c 00 f7 d8 64 89 02 b8 ff ff ff ff eb bc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 e1 a9 0c 00 f7 d8 64 89 02 b8 RSP: 002b:00007ffe9e24a8e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 000055f0eb3d84d0 RCX: 00007f6bfd52a467 RDX: 00007f6bfd5f1780 RSI: 0000000000000000 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001000000 R11: 0000000000000202 R12: 00007f6bfd5f2380 R13: 000055f0ea41f180 R14: 00007ffe9e24ad38 R15: 000055f0ea434160 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g127509 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=62224 rcu: rcu_preempt kthread starved for 10506 jiffies! g127509 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:I stack:26424 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2b9/0xfb0 kernel/rcu/tree.c:1971 rcu_gp_kthread+0xa5/0x360 kernel/rcu/tree.c:2144 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 22912 Comm: udevd Not tainted 5.18.0-rc7-syzkaller-00121-g3d7285a335ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:preempt_count_add+0x4/0x180 kernel/sched/core.c:5524 Code: 20 00 74 08 4c 89 f7 e8 9a a2 7b 00 49 8b 06 49 39 c7 0f 85 37 ff ff ff e9 1e ff ff ff 66 0f 1f 84 00 00 00 00 00 41 57 41 56 <53> 89 fb 48 c7 c0 a0 d6 b8 90 48 c1 e8 03 49 bf 00 00 00 00 00 fc RSP: 0018:ffffc900001e0c58 EFLAGS: 00000046 RAX: 1ffff1100f064559 RBX: ffff888078322ae8 RCX: ffff88801c8e9d80 RDX: 0000000080010001 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc900001e0e78 R08: ffffffff8174692b R09: fffffbfff1c02e3e R10: fffffbfff1c02e3e R11: 1ffffffff1c02e3d R12: dffffc0000000000 R13: ffff888078322b40 R14: ffff888078322800 R15: ffff888078322b40 FS: 00007f6bfd8d2840(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4c1998000 CR3: 000000004d515000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock+0xe/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] advance_sched+0x49/0x8c0 net/sched/sch_taprio.c:715 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:lock_acquire+0x21e/0x400 kernel/locking/lockdep.c:5645 Code: 23 00 74 08 4c 89 f7 e8 20 fe 6f 00 f6 44 24 61 02 0f 85 76 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 04 2c 00 00 00 00 43 c7 44 2c 09 00 00 00 00 43 c7 44 2c 11 RSP: 0018:ffffc900043dfd60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200087bfb8 RCX: ffff88801c8ea7d8 RDX: dffffc0000000000 RSI: ffffffff8a8d1720 RDI: ffffffff8ae88f20 RBP: ffffc900043dfeb8 R08: dffffc0000000000 R09: fffffbfff1f643fc R10: fffffbfff1f643fc R11: 1ffffffff1f643fb R12: dffffc0000000000 R13: 1ffff9200087bfb4 R14: ffffc900043dfdc0 R15: 0000000000000246 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] pick_file+0x2f/0x1f0 fs/file.c:643 close_fd+0x45/0x70 fs/file.c:667 __do_sys_close fs/open.c:1342 [inline] __se_sys_close fs/open.c:1340 [inline] __x64_sys_close+0x34/0x90 fs/open.c:1340 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6bfd52a467 Code: 44 00 00 48 8b 15 11 aa 0c 00 f7 d8 64 89 02 b8 ff ff ff ff eb bc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 e1 a9 0c 00 f7 d8 64 89 02 b8 RSP: 002b:00007ffe9e24a8e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 000055f0eb3d84d0 RCX: 00007f6bfd52a467 RDX: 00007f6bfd5f1780 RSI: 0000000000000000 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001000000 R11: 0000000000000202 R12: 00007f6bfd5f2380 R13: 000055f0ea41f180 R14: 00007ffe9e24ad38 R15: 000055f0ea434160 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 5: 55 push %rbp 6: 41 57 push %r15 8: 41 56 push %r14 a: 41 55 push %r13 c: 41 54 push %r12 e: 53 push %rbx f: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 16: fc ff df 19: 65 4c 8b 34 25 80 6f mov %gs:0x26f80,%r14 20: 02 00 22: 4d 8d ae 3c 04 00 00 lea 0x43c(%r14),%r13 * 29: 4c 89 eb mov %r13,%rbx <-- trapping instruction 2c: 48 c1 eb 03 shr $0x3,%rbx 30: 42 8a 04 23 mov (%rbx,%r12,1),%al 34: 84 c0 test %al,%al 36: 75 5e jne 0x96 38: 41 8b 6d 00 mov 0x0(%r13),%ebp 3c: ff cd dec %ebp 3e: 42 rex.X