rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=89b4/1/0x4000000000000000 softirq=48149/48150 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12152/1:b..l rcu: (detected by 0, t=10505 jiffies, g=48241, q=448 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 14205 Comm: syz.6.2043 Not tainted 6.13.0-rc7-syzkaller-00149-g9bffa1ad25b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:19 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:147 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x8f/0x140 kernel/locking/spinlock.c:194 Code: f3 f3 4b 89 44 25 00 48 83 c7 18 48 8b 75 08 e8 37 ea b6 f5 48 89 df e8 6f 31 b8 f5 41 f7 c7 00 02 00 00 74 05 e8 01 40 e3 f5 <4c> 89 f3 48 c1 eb 03 42 80 3c 23 00 74 08 4c 89 f7 e8 1b 65 3f f6 RSP: 0018:ffffc90000a18ca0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff8880b872c880 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b872c880 RBP: ffffc90000a18d30 R08: ffff8880b872c883 R09: 1ffff110170e5910 R10: dffffc0000000000 R11: ffffed10170e5911 R12: dffffc0000000000 R13: 1ffff92000143194 R14: ffffc90000a18cc0 R15: 0000000000000046 FS: 00007f747c22f6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f747c22ef98 CR3: 000000007ca04000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1735 [inline] __hrtimer_run_queues+0x477/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 0e 64 3f f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 43 96 a9 f5 65 8b 05 84 e7 3f 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9000bedfba0 EFLAGS: 00000206 RAX: ff532f613f731000 RBX: 1ffff920017dbf78 RCX: ffffffff817b282a RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: 0000000000000001 RBP: ffffc9000bedfc30 R08: ffffffff94271887 R09: 1ffffffff284e310 R10: dffffc0000000000 R11: fffffbfff284e311 R12: dffffc0000000000 R13: 1ffff920017dbf74 R14: ffffc9000bedfbc0 R15: 0000000000000246 clock_was_set+0x686/0x810 kernel/time/hrtimer.c:959 do_settimeofday64+0x343/0x5e0 kernel/time/timekeeping.c:1442 __do_sys_clock_settime kernel/time/posix-timers.c:1135 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1119 [inline] __x64_sys_clock_settime+0x23a/0x280 kernel/time/posix-timers.c:1119 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f747b385d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f747c22f038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f747b575fa0 RCX: 00007f747b385d29 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f747b401b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f747b575fa0 R15: 00007fffc294bc78 task:kworker/u8:12 state:R running task stack:20152 pid:12152 tgid:12152 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5853 Code: 2b 00 74 08 4c 89 f7 e8 9a 9f 88 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90002e079e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920005c0f48 RCX: ffff888021300ad8 RDX: dffffc0000000000 RSI: ffffffff8c0aaae0 RDI: ffffffff8c5edee0 RBP: ffffc90002e07b40 R08: ffffffff94271887 R09: 1ffffffff284e310 R10: dffffc0000000000 R11: fffffbfff284e311 R12: 1ffff920005c0f44 R13: dffffc0000000000 R14: ffffc90002e07a40 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 10495 jiffies! g48241 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 14202 Comm: syz.4.2044 Not tainted 6.13.0-rc7-syzkaller-00149-g9bffa1ad25b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_single+0x45f/0x1990 kernel/smp.c:679 Code: 87 24 0c 00 41 83 e4 01 75 16 e8 3c 20 0c 00 4d 89 fc 44 8b 7c 24 24 eb 46 e8 2d 20 0c 00 eb 3f 4d 89 fc 44 8b 7c 24 24 f3 90 <42> 0f b6 04 2b 84 c0 75 10 41 f7 06 01 00 00 00 74 1e e8 0a 20 0c RSP: 0018:ffffc900030f79e0 EFLAGS: 00000293 RAX: ffffffff81935216 RBX: 1ffff9200061ef59 RCX: ffff888049341e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900030f7b80 R08: ffffffff819351d9 R09: 1ffff9200061ef08 R10: dffffc0000000000 R11: fffff5200061ef09 R12: 1ffff9200061ef54 R13: dffffc0000000000 R14: ffffc900030f7ac8 R15: 0000000000000000 FS: 000055557da93500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000203be030 CR3: 000000004b068000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_barrier+0x327/0x530 kernel/rcu/tree.c:4617 kvm_mmu_uninit_vm+0x2f/0x60 arch/x86/kvm/mmu/mmu.c:6502 kvm_arch_destroy_vm+0x3a8/0x430 arch/x86/kvm/x86.c:12877 kvm_destroy_vm virt/kvm/kvm_main.c:1304 [inline] kvm_put_kvm+0xb75/0xf60 virt/kvm/kvm_main.c:1340 kvm_vm_release+0x43/0x50 virt/kvm/kvm_main.c:1363 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc141385d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe4e820588 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fc141577ba0 RCX: 00007fc141385d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fc141577ba0 R08: 0000000000000100 R09: 00007ffe4e82087f R10: 00000000003ffcdc R11: 0000000000000246 R12: 00000000000ba0e8 R13: 00007fc141576160 R14: 0000000000000032 R15: ffffffffffffffff