rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10502 jiffies, g=281973, q=1517) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295130882-4295120380), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g281973 f0x2 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:28688 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4984 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6265 schedule+0xd2/0x260 kernel/sched/core.c:6338 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 20193 Comm: syz-executor.4 Not tainted 5.15.0-next-20211103-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: 46 00 5d be 03 00 00 00 e9 76 9a 5e 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 a5 8a 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:ffffc90000007e98 EFLAGS: 00000086 RAX: 0000000000010002 RBX: 0000000000000001 RCX: 0000000000000001 RDX: ffff888027911d40 RSI: ffffffff8166fdf3 RDI: 0000000000000003 RBP: 0000000000000004 R08: 000000000000001f R09: 0000000000000000 R10: ffffffff8166fde1 R11: 0000000000000000 R12: ffff8880b9c2a500 R13: ffff8880b9c2a400 R14: 000001c3211ec322 R15: dffffc0000000000 FS: 00007f8338fcd700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020600000 CR3: 000000003e0dc000 CR4: 00000000003526f0 Call Trace: timerqueue_getnext include/linux/timerqueue.h:36 [inline] __hrtimer_next_event_base+0xb5/0x260 kernel/time/hrtimer.c:514 __hrtimer_get_next_event kernel/time/hrtimer.c:587 [inline] hrtimer_update_next_event+0xcd/0x2a0 kernel/time/hrtimer.c:612 hrtimer_interrupt+0x324/0x790 kernel/time/hrtimer.c:1814 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 2a 72 0b f8 48 89 ef e8 72 e8 0b 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 73 b1 fe f7 65 8b 05 6c 06 b1 76 85 c0 74 0a 5b 5d c3 e8 e0 a6 RSP: 0018:ffffc90016f47848 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1ffcc56 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88803be6ac70 R08: 0000000000000001 R09: ffffffff8ff63b5f R10: 0000000000000001 R11: 00000000fffffffd R12: ffff8880137dbd20 R13: 0000000000000246 R14: ffff88803be6ac65 R15: ffff8880137dbd2c spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] queue_access_lock sound/core/seq/seq_queue.c:361 [inline] snd_seq_control_queue+0x1df/0xaa0 sound/core/seq/seq_queue.c:706 snd_seq_deliver_single_event.constprop.0+0x42b/0x820 sound/core/seq/seq_clientmgr.c:640 snd_seq_deliver_event+0x4e7/0x970 sound/core/seq/seq_clientmgr.c:841 snd_seq_dispatch_event+0x112/0x580 sound/core/seq/seq_clientmgr.c:915 snd_seq_check_queue+0x18a/0x3f0 sound/core/seq/seq_queue.c:265 snd_seq_enqueue_event+0x1ed/0x3e0 sound/core/seq/seq_queue.c:334 snd_seq_client_enqueue_event.constprop.0+0x230/0x440 sound/core/seq/seq_clientmgr.c:976 snd_seq_write+0x388/0x690 sound/core/seq/seq_clientmgr.c:1096 vfs_write+0x28e/0xae0 fs/read_write.c:588 ksys_write+0x1ee/0x250 fs/read_write.c:643 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:0x7f833ba78ae9 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:00007f8338fcd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f833bb8c020 RCX: 00007f833ba78ae9 RDX: 00000000fffffee4 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f833bad2f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe722beb1f R14: 00007f8338fcd300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 46 00 5d be rex.RX add %r11b,-0x42(%rbp) 4: 03 00 add (%rax),%eax 6: 00 00 add %al,(%rax) 8: e9 76 9a 5e 02 jmpq 0x25e9a83 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 39 a5 8a 7e mov %gs:0x7e8aa539(%rip),%eax # 0x7e8aa563 * 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