rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=e564/1/0x4000000000000000 softirq=82316/82316 fqs=0 rcu: (detected by 0, t=10506 jiffies, g=139081, q=195 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5051 Comm: syz-executor.3 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:rb_link_node include/linux/rbtree.h:62 [inline] RIP: 0010:rb_add_cached include/linux/rbtree.h:182 [inline] RIP: 0010:timerqueue_add+0x1dc/0x330 lib/timerqueue.c:40 Code: 8b 34 24 48 89 ef e8 73 91 ff ff e8 1e 09 81 f7 44 89 f0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 07 09 81 f7 48 89 ea <48> b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 f9 00 RSP: 0018:ffffc900001e0dd0 EFLAGS: 00000046 RAX: 0000000080010003 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88803e7fd340 RSI: ffffffff8a031aa9 RDI: 0000000000000006 RBP: ffff88803e7fd340 R08: 0000000000000006 R09: ffff88803e7fd340 R10: ffff88803e7fd340 R11: 0000000000000000 R12: ffff8880b992b880 R13: 0000000000000000 R14: ffff8880b992b880 R15: 0000000000000001 FS: 00005555569cd400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb27c8ba718 CR3: 00000000366bb000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: enqueue_hrtimer+0x171/0x320 kernel/time/hrtimer.c:1091 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x8d9/0xa30 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 36 83 51 f7 48 89 ef e8 1e f1 51 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 8f bb 43 f7 65 8b 05 20 74 ef 75 85 c0 74 0a 5b 5d c3 e8 3c 76 RSP: 0018:ffffc9000407fa40 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff22aea9e RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff88802a97e250 R08: 0000000000000001 R09: fffffbfff22a75b3 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] __wake_up_common_lock+0xe2/0x140 kernel/sched/wait.c:140 __jbd2_log_start_commit+0x21d/0x270 fs/jbd2/journal.c:503 jbd2_log_start_commit+0x2e/0x50 fs/jbd2/journal.c:522 jbd2_journal_stop+0x501/0xe50 fs/jbd2/transaction.c:1940 __ext4_journal_stop+0xe2/0x1f0 fs/ext4/ext4_jbd2.c:133 ext4_evict_inode+0x8c5/0x1860 fs/ext4/inode.c:304 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1747 [inline] iput fs/inode.c:1773 [inline] iput+0x4a7/0x7a0 fs/inode.c:1759 do_unlinkat+0x432/0x680 fs/namei.c:4400 __do_sys_unlink fs/namei.c:4441 [inline] __se_sys_unlink fs/namei.c:4439 [inline] __x64_sys_unlink+0xca/0x110 fs/namei.c:4439 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7f84c8bad7 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc6588d878 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7f84c8bad7 RDX: 00007ffc6588d8b0 RSI: 00007ffc6588d8b0 RDI: 00007ffc6588d940 RBP: 00007ffc6588d940 R08: 0000000000000001 R09: 00007ffc6588d710 R10: 00005555569ce8b3 R11: 0000000000000206 R12: 00007f7f84ce6cdc R13: 00007ffc6588ea00 R14: 00005555569ce810 R15: 00007ffc6588ea40 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g139081 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=121288 rcu: rcu_preempt kthread starved for 10506 jiffies! g139081 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:27976 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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: 5051 Comm: syz-executor.3 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:lock_is_held_type+0x6/0x140 kernel/locking/lockdep.c:5761 Code: 8a 48 c7 c7 20 68 4c 8a 89 44 24 04 e8 03 0e 3b f7 0f 0b 8b 44 24 04 eb bd 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 41 57 <41> 56 41 55 41 bd ff ff ff ff 41 54 55 53 48 83 ec 08 8b 0d 02 69 RSP: 0018:ffffc900001e0e30 EFLAGS: 00000046 RAX: 0000000080010003 RBX: ffff88803e7fd340 RCX: 0000000000000000 RDX: ffff888024868000 RSI: 00000000ffffffff RDI: ffff8880b992b898 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 1825f2a9304be552 R13: ffff8880b992b980 R14: ffff8880b992b880 R15: 0000000000000001 FS: 00005555569cd400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb27c8ba718 CR3: 00000000366bb000 CR4: 00000000003506e0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:288 [inline] __run_hrtimer kernel/time/hrtimer.c:1651 [inline] __hrtimer_run_queues+0x7f3/0xa30 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 36 83 51 f7 48 89 ef e8 1e f1 51 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 8f bb 43 f7 65 8b 05 20 74 ef 75 85 c0 74 0a 5b 5d c3 e8 3c 76 RSP: 0018:ffffc9000407fa40 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff22aea9e RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff88802a97e250 R08: 0000000000000001 R09: fffffbfff22a75b3 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] __wake_up_common_lock+0xe2/0x140 kernel/sched/wait.c:140 __jbd2_log_start_commit+0x21d/0x270 fs/jbd2/journal.c:503 jbd2_log_start_commit+0x2e/0x50 fs/jbd2/journal.c:522 jbd2_journal_stop+0x501/0xe50 fs/jbd2/transaction.c:1940 __ext4_journal_stop+0xe2/0x1f0 fs/ext4/ext4_jbd2.c:133 ext4_evict_inode+0x8c5/0x1860 fs/ext4/inode.c:304 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1747 [inline] iput fs/inode.c:1773 [inline] iput+0x4a7/0x7a0 fs/inode.c:1759 do_unlinkat+0x432/0x680 fs/namei.c:4400 __do_sys_unlink fs/namei.c:4441 [inline] __se_sys_unlink fs/namei.c:4439 [inline] __x64_sys_unlink+0xca/0x110 fs/namei.c:4439 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7f84c8bad7 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc6588d878 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7f84c8bad7 RDX: 00007ffc6588d8b0 RSI: 00007ffc6588d8b0 RDI: 00007ffc6588d940 RBP: 00007ffc6588d940 R08: 0000000000000001 R09: 00007ffc6588d710 R10: 00005555569ce8b3 R11: 0000000000000206 R12: 00007f7f84ce6cdc R13: 00007ffc6588ea00 R14: 00005555569ce810 R15: 00007ffc6588ea40