rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=da74/1/0x4000000000000000 softirq=18505/18507 fqs=12 (detected by 1, t=10505 jiffies, g=21349, q=1354 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6982 Comm: syz-executor.0 Not tainted 6.1.73-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__netif_schedule+0x2ad/0x310 net/core/dev.c:3113 Code: 4d 85 e4 75 16 e8 e3 17 0b f9 eb 15 e8 dc 17 0b f9 e8 27 1d 0b 02 4d 85 e4 74 ea e8 cd 17 0b f9 fb 48 c7 44 24 20 0e 36 e0 45 <4b> c7 44 35 00 00 00 00 00 66 43 c7 44 35 09 00 00 43 c6 44 35 0b RSP: 0018:ffffc90000007be0 EFLAGS: 00000046 RAX: ffffffff887f5910 RBX: 0000000000000001 RCX: ffff888077aa5940 RDX: 0000000000010001 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000007cb0 R08: ffffffff887f5906 R09: ffffed100f026c2c R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888078136000 R13: dffffc0000000000 R14: 1ffff92000000f80 R15: 17b327336c000000 FS: 00007f977d0bf6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d56f78198 CR3: 000000004e0c2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: advance_sched+0x772/0x970 net/sched/sch_taprio.c:754 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 c2 02 4d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 67 76 c9 f6 65 8b 05 f8 ae 6d 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90009a37b60 EFLAGS: 00000206 RAX: acedced52d0de100 RBX: 1ffff92001346f70 RCX: ffffffff816ab1fa RDX: dffffc0000000000 RSI: ffffffff8aebe640 RDI: 0000000000000001 RBP: ffffc90009a37bf0 R08: dffffc0000000000 R09: fffffbfff2092245 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92001346f6c R14: ffffc90009a37b80 R15: 0000000000000246 clock_was_set+0x179/0x900 kernel/time/hrtimer.c:970 do_settimeofday64+0x673/0x7e0 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1119 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1107 [inline] __x64_sys_clock_settime+0x232/0x270 kernel/time/posix-timers.c:1107 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f977c27cda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f977d0bf0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f977c3abf80 RCX: 00007f977c27cda9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000000 RBP: 00007f977c2c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f977c3abf80 R15: 00007fffda21c6a8 rcu: rcu_preempt kthread starved for 10445 jiffies! g21349 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1674 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1873 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 6989 Comm: syz-executor.4 Not tainted 6.1.73-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fb0/0x3460 kernel/smp.c:998 Code: 2f 44 89 ee 83 e6 01 31 ff e8 0c 43 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 97 3f 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc90009a87860 EFLAGS: 00000246 RAX: ffffffff817f334b RBX: 1ffff1101730841d RCX: 0000000000040000 RDX: ffffc90013b32000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90009a87c30 R08: ffffffff817f3314 R09: fffffbfff2092250 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b98420e8 FS: 00007f5d57cc16c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e71173e0b8 CR3: 0000000060762000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 kill_bdev block/bdev.c:75 [inline] blkdev_flush_mapping+0x14a/0x2b0 block/bdev.c:664 blkdev_put_whole block/bdev.c:695 [inline] blkdev_put+0x4c0/0x750 block/bdev.c:955 blkdev_close+0x56/0x80 block/fops.c:514 __fput+0x3b7/0x890 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5d56e7bc9a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007f5d57cc0ee0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f5d57cc0f80 RCX: 00007f5d56e7bc9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000020000040 R08: 0000000000000000 R09: 00000000000014ff R10: 0000000000000000 R11: 0000000000000293 R12: 00000000200000c0 R13: 00007f5d57cc0f40 R14: 0000000000001505 R15: 0000000020000000 vkms_vblank_simulate: vblank timer overrun