rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=24d/1/0x4000000000000000 softirq=173146/173146 fqs=1 (t=10500 jiffies g=289633 q=33) rcu: rcu_preempt kthread starved for 10498 jiffies! g289633 f0x0 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:26544 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1957 rcu_gp_kthread+0xa5/0x350 kernel/rcu/tree.c:2130 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 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: 8835 Comm: syz-executor.4 Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_check_range+0x222/0x2f0 mm/kasan/generic.c:189 Code: 03 4d 89 cf 49 8d 5e 07 4d 85 f6 49 0f 49 de 48 83 e3 f8 49 29 de 74 11 45 0f b6 1f 45 84 db 75 64 49 ff c7 49 ff ce 75 ef 5b <41> 5c 41 5d 41 5e 41 5f c3 45 84 db 75 50 45 8a 59 01 45 84 db 0f RSP: 0018:ffffc90000dc0398 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 0000000000000042 RCX: ffffffff8165f508 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fd1aec8 RBP: ffffc90000dc06d0 R08: dffffc0000000000 R09: fffffbfff1fa35da R10: fffffbfff1fa35da R11: 0000000000000000 R12: 1ffffffff1fa35d9 R13: dffffc0000000001 R14: 0000000000000001 R15: b20fbda6538c2b94 FS: 00007f845eba8700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30a23000 CR3: 00000000422dd000 CR4: 00000000003526e0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3701 [inline] validate_chain+0x128/0x8240 kernel/locking/lockdep.c:3757 __lock_acquire+0x1382/0x2b00 kernel/locking/lockdep.c:5015 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 seqcount_lockdep_reader_access+0xfe/0x230 include/linux/seqlock.h:103 ktime_get+0x35/0x2b0 kernel/time/timekeeping.c:827 hrtimer_forward_now include/linux/hrtimer.h:506 [inline] perf_swevent_hrtimer+0x485/0x530 kernel/events/core.c:10572 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:__schedule+0xb7a/0x1460 kernel/sched/core.c:6295 Code: 40 0a 00 00 fc 4c 89 fe 48 8d 94 24 a0 00 00 00 e8 cb e1 5f f7 48 8b 7c 24 08 4c 89 fe e8 ae 64 04 f7 48 89 c7 e8 a6 26 5e f7 <48> c7 44 24 60 0e 36 e0 45 48 b8 00 00 00 00 00 fc ff df 48 8b 4c RSP: 0018:ffffc900055df4c0 EFLAGS: 00000282 RAX: 4afcf614cf774300 RBX: ffff8880b9d31558 RCX: ffffffff90932903 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900055df5e0 R08: ffffffff818a0680 R09: ffffed10173a62a9 R10: ffffed10173a62a9 R11: 0000000000000000 R12: 1ffff110173a6400 R13: 0000000000000000 R14: ffff8880b9d32000 R15: dffffc0000000000 schedule+0x14b/0x210 kernel/sched/core.c:6366 tty_open+0x9b0/0xdd0 drivers/tty/tty_io.c:2153 chrdev_open+0x5fb/0x680 fs/char_dev.c:414 do_dentry_open+0x7cb/0x1020 fs/open.c:822 do_open fs/namei.c:3428 [inline] path_openat+0x28b4/0x3670 fs/namei.c:3561 do_filp_open+0x277/0x4f0 fs/namei.c:3588 do_sys_openat2+0x13b/0x500 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_openat fs/open.c:1232 [inline] __se_sys_openat fs/open.c:1227 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1227 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8461632a39 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:00007f845eba8188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8461735f60 RCX: 00007f8461632a39 RDX: 0000000000000802 RSI: 0000000020000840 RDI: ffffffffffffff9c RBP: 00007f846168cc5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff79d3158f R14: 00007f845eba8300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 8832 Comm: syz-executor.2 Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x22d/0x390 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3880 [inline] rcu_sched_clock_irq+0x1e33/0x2bc0 kernel/rcu/tree.c:2599 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:__schedule+0xb7a/0x1460 kernel/sched/core.c:6295 Code: 40 0a 00 00 fc 4c 89 fe 48 8d 94 24 a0 00 00 00 e8 cb e1 5f f7 48 8b 7c 24 08 4c 89 fe e8 ae 64 04 f7 48 89 c7 e8 a6 26 5e f7 <48> c7 44 24 60 0e 36 e0 45 48 b8 00 00 00 00 00 fc ff df 48 8b 4c RSP: 0018:ffffc9000524f4c0 EFLAGS: 00000282 RAX: 9962234287b06500 RBX: ffff8880b9c31558 RCX: ffffffff90932903 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000524f5e0 R08: ffffffff818a0680 R09: ffffed10173862a9 R10: ffffed10173862a9 R11: 0000000000000000 R12: 1ffff11017386400 R13: 0000000000000000 R14: ffff8880b9c32000 R15: dffffc0000000000 schedule+0x14b/0x210 kernel/sched/core.c:6366 tty_open+0x9b0/0xdd0 drivers/tty/tty_io.c:2153 chrdev_open+0x5fb/0x680 fs/char_dev.c:414 do_dentry_open+0x7cb/0x1020 fs/open.c:822 do_open fs/namei.c:3428 [inline] path_openat+0x28b4/0x3670 fs/namei.c:3561 do_filp_open+0x277/0x4f0 fs/namei.c:3588 do_sys_openat2+0x13b/0x500 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_openat fs/open.c:1232 [inline] __se_sys_openat fs/open.c:1227 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1227 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f58f2369a39 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:00007f58ef8df188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f58f246cf60 RCX: 00007f58f2369a39 RDX: 0000000000000802 RSI: 0000000020000840 RDI: ffffffffffffff9c RBP: 00007f58f23c3c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffce55ce7af R14: 00007f58ef8df300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 03 4d 89 add -0x77(%rbp),%ecx 3: cf iret 4: 49 8d 5e 07 lea 0x7(%r14),%rbx 8: 4d 85 f6 test %r14,%r14 b: 49 0f 49 de cmovns %r14,%rbx f: 48 83 e3 f8 and $0xfffffffffffffff8,%rbx 13: 49 29 de sub %rbx,%r14 16: 74 11 je 0x29 18: 45 0f b6 1f movzbl (%r15),%r11d 1c: 45 84 db test %r11b,%r11b 1f: 75 64 jne 0x85 21: 49 ff c7 inc %r15 24: 49 ff ce dec %r14 27: 75 ef jne 0x18 29: 5b pop %rbx * 2a: 41 5c pop %r12 <-- trapping instruction 2c: 41 5d pop %r13 2e: 41 5e pop %r14 30: 41 5f pop %r15 32: c3 retq 33: 45 84 db test %r11b,%r11b 36: 75 50 jne 0x88 38: 45 8a 59 01 mov 0x1(%r9),%r11b 3c: 45 84 db test %r11b,%r11b 3f: 0f .byte 0xf