rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=0204/1/0x4000000000000000 softirq=76642/76643 fqs=0 (detected by 0, t=10506 jiffies, g=108461, q=69 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 28076 Comm: syz-executor.3 Not tainted 6.1.0-rc1-next-20221021-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x21/0x90 kernel/kcov.c:236 Code: 84 00 00 00 00 00 0f 1f 00 65 8b 05 91 06 87 7e 49 89 f1 89 c6 49 89 d2 81 e6 00 01 00 00 49 89 f8 65 48 8b 14 25 40 97 03 00 00 01 ff 00 74 0e 85 f6 74 59 8b 82 8c 15 00 00 85 c0 74 4f 8b RSP: 0018:ffffc900001e0de0 EFLAGS: 00000046 RAX: 0000000080010001 RBX: ffff88802ec67340 RCX: ffffffff816c415d RDX: ffff888074e53a80 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff8880b9b2a5c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880b9b2a4c0 R15: 0000000000000000 FS: 00007f10b3849700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6b96126000 CR3: 000000007a5f4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __remove_hrtimer+0xad/0x2a0 kernel/time/hrtimer.c:1116 __run_hrtimer kernel/time/hrtimer.c:1665 [inline] __hrtimer_run_queues+0x548/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x17c/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_x86_platform_ipi-0xa/0x20 RIP: 0010:unwind_get_return_address arch/x86/kernel/unwind_orc.c:342 [inline] RIP: 0010:unwind_get_return_address+0x46/0x90 arch/x86/kernel/unwind_orc.c:337 Code: 74 04 3c 03 7e 51 8b 03 85 c0 75 05 5b 31 c0 5d c3 48 8d 6b 48 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 <75> 32 48 8b 7b 48 e8 df d2 19 00 85 c0 74 d3 48 b8 00 00 00 00 00 RSP: 0018:ffffc9000499ed88 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffc9000499eda0 RCX: 0000000000000000 RDX: 1ffff92000933dbd RSI: ffffc9000499f7d0 RDI: ffffc9000499eda0 RBP: ffffc9000499ede8 R08: ffffffff8e53bff4 R09: ffffc9000499edd4 R10: fffff52000933dbf R11: ffffc9000499f7f8 R12: ffffc9000499ee58 R13: 0000000000000000 R14: ffff888074e53a80 R15: ffffea0000c40440 arch_stack_walk+0x93/0xe0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 save_stack+0x151/0x1e0 mm/page_owner.c:127 __set_page_owner+0x1b/0x60 mm/page_owner.c:190 prep_new_page mm/page_alloc.c:2538 [inline] get_page_from_freelist+0x10b5/0x2d50 mm/page_alloc.c:4287 __alloc_pages+0x1c7/0x5a0 mm/page_alloc.c:5546 alloc_pages+0x1a6/0x270 mm/mempolicy.c:2285 folio_alloc+0x1c/0x70 mm/mempolicy.c:2295 filemap_alloc_folio+0x306/0x3a0 mm/filemap.c:971 __filemap_get_folio+0x328/0xd90 mm/filemap.c:1965 pagecache_get_page+0x2a/0x280 mm/folio-compat.c:110 ext4_da_write_begin+0x450/0xab0 fs/ext4/inode.c:2995 generic_perform_write+0x252/0x570 mm/filemap.c:3771 ext4_buffered_write_iter+0x15b/0x460 fs/ext4/file.c:285 ext4_file_write_iter+0x8b8/0x16e0 fs/ext4/file.c:700 call_write_iter include/linux/fs.h:2191 [inline] do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735 do_iter_write+0x182/0x700 fs/read_write.c:861 vfs_iter_write+0x70/0xa0 fs/read_write.c:902 iter_file_splice_write+0x741/0xc90 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x110/0x180 fs/splice.c:931 splice_direct_to_actor+0x331/0x8a0 fs/splice.c:886 do_splice_direct+0x1a7/0x270 fs/splice.c:974 do_sendfile+0xb19/0x1270 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f10b2a8b5a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f10b3849168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f10b2babf80 RCX: 00007f10b2a8b5a9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f10b2ae67b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000017900 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcdaeaf2ff R14: 00007f10b3849300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g108461 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=115426 rcu: rcu_preempt kthread starved for 10506 jiffies! g108461 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28984 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6503 schedule+0xda/0x1b0 kernel/sched/core.c:6579 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1680 rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1879 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 28079 Comm: syz-executor.4 Not tainted 6.1.0-rc1-next-20221021-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x444/0x10a0 kernel/smp.c:987 Code: 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 53 e5 0a 00 f3 90 41 0f b6 45 00 <41> 38 c4 7c 08 84 c0 0f 85 4e 0a 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc9000524fa20 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9b40400 RCX: 0000000000000000 RDX: ffff88805a7457c0 RSI: ffffffff8171afdd RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000008c001 R12: 0000000000000003 R13: ffffed1017368081 R14: 0000000000000001 R15: dffffc0000000000 FS: 00005555566da400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f022000 CR3: 000000002dd64000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1386 [inline] text_poke_bp_batch+0x22e/0x6b0 arch/x86/kernel/alternative.c:1577 text_poke_flush arch/x86/kernel/alternative.c:1745 [inline] text_poke_flush arch/x86/kernel/alternative.c:1742 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1752 kvm_set_cpu_l1tf_flush_l1d-0xd/0x20 jump_label_update+0x32f/0x410 kernel/jump_label.c:801 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 __static_key_slow_dec_cpuslocked.part.0-0xa/0x60 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x632/0xc30 kernel/tracepoint.c:551 bpf_raw_tp_link_release+0x51/0xa0 kernel/bpf/syscall.c:3140 bpf_link_free+0xe6/0x1b0 kernel/bpf/syscall.c:2723 bpf_link_put+0x161/0x1b0 kernel/bpf/syscall.c:2749 bpf_link_put_deferred-0xd/0x20 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16b/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0e1083d37b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffd81649950 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f0e1083d37b RDX: 00007f0e104005f0 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007f0e109ad980 R08: 0000000000000000 R09: 00007f0e10400000 R10: 00007f0e104005f8 R11: 0000000000000293 R12: 00000000001a3521 R13: 00007ffd81649a50 R14: 00007f0e109abf80 R15: 0000000000000032