rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=b89c/1/0x4000000000000000 softirq=14489/14491 fqs=9 (detected by 1, t=10506 jiffies, g=16457, q=338 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5117 Comm: syz.5.176 Not tainted 6.1.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lock_release+0x5d8/0xa20 kernel/locking/lockdep.c:5684 Code: 8b 64 24 08 4c 8b 6c 24 20 4c 8d b4 24 90 00 00 00 48 c7 c7 40 13 0c 8b e8 75 df 3c 09 b8 ff ff ff ff 65 0f c1 05 78 ab 97 7e <83> f8 01 0f 85 94 00 00 00 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 RSP: 0018:ffffc90000007ae0 EFLAGS: 00000057 RAX: 0000000000000001 RBX: ffff88801dbf8ad0 RCX: ffffc90000007b03 RDX: 0000000000000003 RSI: ffffffff8b0c1340 RDI: ffffffff8b5d7980 RBP: ffffc90000007c10 R08: dffffc0000000000 R09: fffffbfff1d3410e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f68 R13: 0000000000000046 R14: ffffc90000007b70 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe1eff8 CR3: 0000000020b46000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x75/0x130 kernel/locking/spinlock.c:194 debug_object_activate+0x2f9/0x4e0 lib/debugobjects.c:716 debug_hrtimer_activate kernel/time/hrtimer.c:421 [inline] debug_activate kernel/time/hrtimer.c:476 [inline] enqueue_hrtimer+0x30/0x410 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:215 Code: 00 0f 0b 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d b8 6e 0f 0d 48 89 de 5b e9 47 b2 56 00 cc cc cc cc cc cc cc 48 8b 04 24 <65> 48 8b 0d 44 d3 77 7e 65 8b 15 45 d3 77 7e 81 e2 00 01 ff 00 74 RSP: 0018:ffffc90003b0f318 EFLAGS: 00000246 RAX: ffffffff81cc5a23 RBX: 1ffff1100c0ae3ff RCX: ffff88801dbf8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003b0f510 R08: ffffffff81cc441b R09: fffff940002a0ad7 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888060571ff8 R13: ffff888060571ff8 R14: 00000000201ff000 R15: dffffc0000000000 zap_pte_range mm/memory.c:1507 [inline] zap_pmd_range mm/memory.c:1574 [inline] zap_pud_range mm/memory.c:1603 [inline] zap_p4d_range mm/memory.c:1624 [inline] unmap_page_range+0x2123/0x2740 mm/memory.c:1645 unmap_vmas+0x48b/0x640 mm/memory.c:1730 exit_mmap+0x249/0x980 mm/mmap.c:3234 __mmput+0x115/0x3c0 kernel/fork.c:1200 exit_mm+0x226/0x300 kernel/exit.c:565 do_exit+0x9f6/0x26a0 kernel/exit.c:858 do_group_exit+0x202/0x2b0 kernel/exit.c:1021 get_signal+0x16f7/0x17d0 kernel/signal.c:2871 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc85ad7e819 Code: Unable to access opcode bytes at 0x7fc85ad7e7ef. RSP: 002b:00007fc85bb480e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fc85af35fa8 RCX: 00007fc85ad7e819 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc85af35fa8 RBP: 00007fc85af35fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc85af35fac R13: 0000000000000000 R14: 00007ffe1f8a3e30 R15: 00007ffe1f8a3f18 rcu: rcu_preempt kthread starved for 10460 jiffies! g16457 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:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 4344 Comm: udevd Not tainted 6.1.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fae/0x3460 kernel/smp.c:998 Code: 2f 44 89 ee 83 e6 01 31 ff e8 ae 43 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 39 40 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:ffffc90004557860 EFLAGS: 00000293 RAX: ffffffff817f5bd9 RBX: 1ffff110171c8595 RCX: ffff888075478000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004557c28 R08: ffffffff817f5ba2 R09: fffffbfff2246258 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8e42ca8 FS: 00007f244451cc80(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f278f7619a0 CR3: 00000000748d3000 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+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f24441170a8 Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffee0fa5358 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f244451cae0 RCX: 00007f24441170a8 RDX: 00005636d4a8cf97 RSI: 00007ffee0fa4b58 RDI: 0000000000000008 RBP: 00005633b792df30 R08: 0000000000000006 R09: d9cc349af4a426a6 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 00005633b791e060 R14: 0000000000000008 R15: 00005633b790d910