rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=691c/1/0x4000000000000000 softirq=28431/28433 fqs=40 rcu: (detected by 0, t=10502 jiffies, g=47105, q=678 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 9277 Comm: syz.4.1023 Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x20 kernel/kcov.c:313 Code: bf 03 00 00 00 e9 58 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 2a fe ff ff 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc90000a18e28 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 0000000000000001 RCX: ffffffff81779071 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 17f005bdec000000 R08: 0000000000000006 R09: 1bc16d674f002b4a R10: 17f005bdec000000 R11: ffffffff8b4f5100 R12: ffff8880b932cac0 R13: ffff8880600e3340 R14: ffff8880b932c9c0 R15: ffffffff8921f080 FS: 00007f305d5736c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2c6f90 CR3: 00000000798ce000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1655 [inline] __hrtimer_run_queues+0x461/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x1f2/0x560 kernel/locking/lockdep.c:5727 Code: c1 05 aa 11 9a 7e 83 f8 01 0f 85 ea 02 00 00 9c 58 f6 c4 02 0f 85 d5 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900035877b0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920006b0ef8 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffffff8b4cc800 RDI: ffffffff8bb08a80 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff28c5aec R10: ffffffff9462d767 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffff888056cdfe68 R15: 0000000000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] unix_dgram_sendmsg+0x698/0x1a60 net/unix/af_unix.c:2071 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0xab5/0xc90 net/socket.c:2597 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2651 __sys_sendmmsg+0x1a1/0x450 net/socket.c:2737 __do_sys_sendmmsg net/socket.c:2766 [inline] __se_sys_sendmmsg net/socket.c:2763 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2763 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f305c7779f9 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:00007f305d573038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f305c905f80 RCX: 00007f305c7779f9 RDX: 0000000000000651 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f305c7e58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f305c905f80 R15: 00007ffdd4a4f638 rcu: rcu_preempt kthread starved for 10419 jiffies! g47105 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:27584 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 9291 Comm: syz.3.1025 Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x20 kernel/kcov.c:312 Code: 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 58 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 2a fe ff ff RSP: 0018:ffffc90003987790 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b9344b80 RCX: ffffc900095d2000 RDX: 0000000000040000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017268971 R13: 0000000000000001 R14: ffff8880b9344b88 R15: ffff8880b923ffc0 FS: 00007f8d5bff86c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d918ff8 CR3: 00000000526fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:312 [inline] smp_call_function_many_cond+0x50b/0x1420 kernel/smp.c:856 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 __purge_vmap_area_lazy+0x4f5/0xc10 mm/vmalloc.c:2270 _vm_unmap_aliases+0x286/0x880 mm/vmalloc.c:2885 change_page_attr_set_clr+0x24c/0x490 arch/x86/mm/pat/set_memory.c:1881 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1929 [inline] set_memory_ro+0x7c/0xb0 arch/x86/mm/pat/set_memory.c:2115 bpf_prog_lock_ro include/linux/filter.h:1036 [inline] bpf_prog_select_runtime+0x59d/0x6f0 kernel/bpf/core.c:2421 bpf_migrate_filter+0x2eb/0x390 net/core/filter.c:1306 bpf_prepare_filter+0x183/0x380 net/core/filter.c:1354 bpf_prog_create_from_user+0x1e4/0x2d0 net/core/filter.c:1448 seccomp_prepare_filter kernel/seccomp.c:693 [inline] seccomp_prepare_user_filter kernel/seccomp.c:730 [inline] seccomp_set_mode_filter kernel/seccomp.c:1953 [inline] do_seccomp+0x7b6/0x2650 kernel/seccomp.c:2073 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8d5b1779f9 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:00007f8d5bff8038 EFLAGS: 00000246 ORIG_RAX: 000000000000013d RAX: ffffffffffffffda RBX: 00007f8d5b305f80 RCX: 00007f8d5b1779f9 RDX: 00000000200000c0 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 00007f8d5b1e58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8d5b305f80 R15: 00007fff0b9e5b48