rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=91985, q=53) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295019550-4295009048), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g91985 f0x2 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:28416 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4e90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1971 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2144 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8981 Comm: syz-executor.3 Not tainted 5.16.0-rc6-next-20211224-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x2/0x5470 kernel/locking/lockdep.c:4885 Code: 66 00 eb b6 48 c7 c7 28 65 93 8d e8 98 91 66 00 e9 46 ff ff ff 48 c7 c7 28 65 93 8d e8 87 91 66 00 e9 58 fe ff ff 66 90 41 57 <41> 89 cf 41 56 49 89 fe 41 55 41 54 41 89 f4 55 89 d5 53 48 81 ec RSP: 0018:ffffc90000dc0ad0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff920001b8162 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8bba2888 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1b2663a R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8bba2888 R15: 0000000000000000 FS: 00007ffbd9d17700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e736000 CR3: 000000007b3b8000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000b8fecd19 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline] timekeeping_get_delta kernel/time/timekeeping.c:252 [inline] timekeeping_get_ns kernel/time/timekeeping.c:386 [inline] ktime_get+0x147/0x470 kernel/time/timekeeping.c:829 hrtimer_forward_now include/linux/hrtimer.h:506 [inline] perf_swevent_hrtimer+0x246/0x3f0 kernel/events/core.c:10626 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xd/0x60 kernel/kcov.c:200 Code: 00 00 e9 76 c8 70 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 65 8b 05 39 6b 8a 7e 89 c1 48 8b 34 24 <81> e1 00 01 00 00 65 48 8b 14 25 00 70 02 00 a9 00 01 ff 00 74 0e RSP: 0018:ffffc9000766f500 EFLAGS: 00000282 RAX: 0000000080000000 RBX: 0000000000001000 RCX: 0000000080000000 RDX: 0000000003193000 RSI: ffffffff821afe99 RDI: ffff888071661900 RBP: ffff8880293bde80 R08: 0000000000001000 R09: ffffea00022f8500 R10: ffffffff83e7b2c8 R11: 0000000000000000 R12: 0000000000001000 R13: ffffea00022f8500 R14: 0000000003193000 R15: ffffc9000766fa58 ext4_da_write_end+0x29/0x990 fs/ext4/inode.c:3024 generic_perform_write+0x2c6/0x510 mm/filemap.c:3820 ext4_buffered_write_iter+0x1ac/0x3b0 fs/ext4/file.c:269 ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:681 call_write_iter include/linux/fs.h:2079 [inline] do_iter_readv_writev+0x47a/0x750 fs/read_write.c:725 do_iter_write+0x188/0x710 fs/read_write.c:851 vfs_iter_write+0x70/0xa0 fs/read_write.c:892 iter_file_splice_write+0x723/0xc70 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x110/0x180 fs/splice.c:936 splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xaf2/0x1250 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 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+0x44/0xae RIP: 0033:0x7ffbdb3a1e99 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffbd9d17168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007ffbdb4b4f60 RCX: 00007ffbdb3a1e99 RDX: 0000000000000000 RSI: 000000000000000e RDI: 0000000000000005 RBP: 00007ffbdb3fbff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec9b520ff R14: 00007ffbd9d17300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 66 00 eb data16 add %ch,%bl 3: b6 48 mov $0x48,%dh 5: c7 c7 28 65 93 8d mov $0x8d936528,%edi b: e8 98 91 66 00 callq 0x6691a8 10: e9 46 ff ff ff jmpq 0xffffff5b 15: 48 c7 c7 28 65 93 8d mov $0xffffffff8d936528,%rdi 1c: e8 87 91 66 00 callq 0x6691a8 21: e9 58 fe ff ff jmpq 0xfffffe7e 26: 66 90 xchg %ax,%ax 28: 41 57 push %r15 * 2a: 41 89 cf mov %ecx,%r15d <-- trapping instruction 2d: 41 56 push %r14 2f: 49 89 fe mov %rdi,%r14 32: 41 55 push %r13 34: 41 54 push %r12 36: 41 89 f4 mov %esi,%r12d 39: 55 push %rbp 3a: 89 d5 mov %edx,%ebp 3c: 53 push %rbx 3d: 48 rex.W 3e: 81 .byte 0x81 3f: ec in (%dx),%al