rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=130805, q=57) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295040081-4295029579), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g130805 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:28936 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128 kthread+0x405/0x4f0 kernel/kthread.c:327 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: 12698 Comm: syz-executor.3 Not tainted 5.16.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x7/0x60 kernel/kcov.c:200 Code: 45 00 5d be 03 00 00 00 e9 d6 39 64 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 f9 a7 8b 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 40 70 02 00 a9 RSP: 0018:ffffc90000fd8e38 EFLAGS: 00000002 RAX: 0000000000010001 RBX: ffff88805de20340 RCX: ffff88807cd8a240 RDX: 0000000000000000 RSI: ffff88807cd8a240 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81662fdf R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880b9d2a500 R14: ffff8880b9d2a400 R15: ffffffff875ef920 FS: 00007fa345785700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa346f23028 CR3: 000000005d07f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __preempt_count_add arch/x86/include/asm/preempt.h:80 [inline] rcu_read_lock_sched_notrace include/linux/rcupdate.h:788 [inline] trace_hrtimer_expire_entry include/trace/events/timer.h:232 [inline] __run_hrtimer kernel/time/hrtimer.c:1682 [inline] __hrtimer_run_queues+0x97e/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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 0a e6 14 f8 48 89 ef e8 c2 5b 15 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 53 26 08 f8 65 8b 05 4c 7a bb 76 85 c0 74 0a 5b 5d c3 e8 c0 12 RSP: 0018:ffffc90005237cb0 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1fef676 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880b9c2a400 R08: 0000000000000001 R09: ffffffff8ff7aa07 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000004 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 clock_was_set+0x56d/0x790 kernel/time/hrtimer.c:970 do_settimeofday64 kernel/time/timekeeping.c:1326 [inline] do_settimeofday64+0x3b9/0x5b0 kernel/time/timekeeping.c:1293 do_sys_settimeofday64 kernel/time/time.c:195 [inline] do_sys_settimeofday64+0x1de/0x260 kernel/time/time.c:169 __do_sys_clock_settime kernel/time/posix-timers.c:1079 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1067 [inline] __x64_sys_clock_settime+0x1a1/0x280 kernel/time/posix-timers.c:1067 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:0x7fa346e0fe99 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:00007fa345785168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fa346f22f60 RCX: 00007fa346e0fe99 RDX: 0000000000000000 RSI: 00000000200004c0 RDI: 0000000000000000 RBP: 00007fa346e69ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff07b270ef R14: 00007fa345785300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 45 00 5d be add %r11b,-0x42(%r13) 4: 03 00 add (%rax),%eax 6: 00 00 add %al,(%rax) 8: e9 d6 39 64 02 jmpq 0x26439e3 d: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 13: 48 8b be b0 01 00 00 mov 0x1b0(%rsi),%rdi 1a: e8 b4 ff ff ff callq 0xffffffd3 1f: 31 c0 xor %eax,%eax 21: c3 retq 22: 90 nop 23: 65 8b 05 f9 a7 8b 7e mov %gs:0x7e8ba7f9(%rip),%eax # 0x7e8ba823 * 2a: 89 c1 mov %eax,%ecx <-- trapping instruction 2c: 48 8b 34 24 mov (%rsp),%rsi 30: 81 e1 00 01 00 00 and $0x100,%ecx 36: 65 48 8b 14 25 40 70 mov %gs:0x27040,%rdx 3d: 02 00 3f: a9 .byte 0xa9