rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=b85/1/0x4000000000000000 softirq=286343/286343 fqs=0 (detected by 0, t=10506 jiffies, g=439993, q=83) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 29833 Comm: syz-executor.2 Not tainted 5.17.0-syzkaller-14079-gbe2d3ecedd99 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_read_lock_sched_held+0xf/0x130 kernel/rcu/update.c:120 Code: 66 2e 0f 1f 84 00 00 00 00 00 90 e9 4b f4 20 00 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56 41 54 53 48 83 e4 e0 <48> 83 ec 60 65 48 8b 04 25 28 00 00 00 48 89 44 24 48 49 be 00 00 RSP: 0018:ffffc900001e0a40 EFLAGS: 00000082 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff816714db RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e2138e8 RBP: ffffc900001e0a68 R08: dffffc0000000000 R09: fffffbfff1c4271e R10: fffffbfff1c4271e R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff9200003c160 R14: 0000000000000000 R15: dffffc0000000000 FS: 00005555561d0400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f585259d090 CR3: 000000007e7ae000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire+0x59/0x190 include/trace/events/lock.h:13 lock_acquire+0xa5/0x4d0 kernel/locking/lockdep.c:5612 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x61/0x400 lib/debugobjects.c:735 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate kernel/time/hrtimer.c:481 [inline] __run_hrtimer kernel/time/hrtimer.c:1653 [inline] __hrtimer_run_queues+0x2f9/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:lock_acquire+0x21f/0x4d0 kernel/locking/lockdep.c:5645 Code: 08 4c 89 f7 e8 02 b8 70 00 f6 84 24 81 00 00 00 02 0f 85 13 02 00 00 41 f7 c4 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 04 2f 00 00 00 00 43 c7 44 2f 09 00 00 00 00 43 c7 44 2f 11 RSP: 0018:ffffc90004da7d60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920009b4fbc RCX: ffff88801fc86158 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004da7eb8 R08: dffffc0000000000 R09: fffffbfff1f86d84 R10: fffffbfff1f86d84 R11: 0000000000000000 R12: 0000000000000246 R13: 1ffff920009b4fb4 R14: ffffc90004da7de0 R15: dffffc0000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] pick_file+0x2f/0x1f0 fs/file.c:643 close_fd+0x45/0x70 fs/file.c:667 __do_sys_close fs/open.c:1342 [inline] __se_sys_close fs/open.c:1340 [inline] __x64_sys_close+0x34/0x90 fs/open.c:1340 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f585243bc8b 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:00007fff4e527d60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007f585243bc8b RDX: ffffffffffffffb8 RSI: ffffffffffffffff RDI: 0000000000000019 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f58525a01f0 R10: 00007fff4e527c80 R11: 0000000000000293 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff4e527e40 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g439993 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=297040 rcu: rcu_preempt kthread starved for 10506 jiffies! g439993 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26288 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x937/0x1090 kernel/sched/core.c:6382 schedule+0xeb/0x1b0 kernel/sched/core.c:6454 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1971 rcu_gp_kthread+0xa5/0x350 kernel/rcu/tree.c:2144 kthread+0x2a3/0x2d0 kernel/kthread.c:376 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: 29833 Comm: syz-executor.2 Not tainted 5.17.0-syzkaller-14079-gbe2d3ecedd99 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x5e/0x2f0 mm/kasan/generic.c:189 Code: 89 fc 49 c1 ec 03 49 b8 00 00 00 00 00 fc ff df 4f 8d 0c 04 4c 8d 54 37 ff 49 c1 ea 03 49 bd 01 00 00 00 00 fc ff df 4d 01 ea <4d> 89 d6 4d 29 ce 49 83 fe 10 7f 30 4d 85 f6 0f 84 ae 01 00 00 4c RSP: 0018:ffffc900001e06f0 EFLAGS: 00000086 RAX: 0000000000000001 RBX: 000000000001ffff RCX: ffffffff81679751 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fc36c00 RBP: ffffc900001e0910 R08: dffffc0000000000 R09: fffffbfff1f86d80 R10: fffffbfff1f86d81 R11: 0000000000000000 R12: 1ffffffff1f86d80 R13: dffffc0000000001 R14: ffff88801fc85700 R15: dffffc0000000000 FS: 00005555561d0400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f585259d090 CR3: 000000007e7ae000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 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:197 [inline] mark_lock+0x191/0x1e00 kernel/locking/lockdep.c:4585 mark_usage kernel/locking/lockdep.c:4499 [inline] __lock_acquire+0xbf5/0x2b00 kernel/locking/lockdep.c:4983 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5641 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x97/0x6a0 lib/debugobjects.c:661 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer kernel/time/hrtimer.c:1084 [inline] __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x594/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:lock_acquire+0x21f/0x4d0 kernel/locking/lockdep.c:5645 Code: 08 4c 89 f7 e8 02 b8 70 00 f6 84 24 81 00 00 00 02 0f 85 13 02 00 00 41 f7 c4 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 04 2f 00 00 00 00 43 c7 44 2f 09 00 00 00 00 43 c7 44 2f 11 RSP: 0018:ffffc90004da7d60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920009b4fbc RCX: ffff88801fc86158 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004da7eb8 R08: dffffc0000000000 R09: fffffbfff1f86d84 R10: fffffbfff1f86d84 R11: 0000000000000000 R12: 0000000000000246 R13: 1ffff920009b4fb4 R14: ffffc90004da7de0 R15: dffffc0000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] pick_file+0x2f/0x1f0 fs/file.c:643 close_fd+0x45/0x70 fs/file.c:667 __do_sys_close fs/open.c:1342 [inline] __se_sys_close fs/open.c:1340 [inline] __x64_sys_close+0x34/0x90 fs/open.c:1340 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f585243bc8b 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:00007fff4e527d60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007f585243bc8b RDX: ffffffffffffffb8 RSI: ffffffffffffffff RDI: 0000000000000019 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f58525a01f0 R10: 00007fff4e527c80 R11: 0000000000000293 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007fff4e527e40 ---------------- Code disassembly (best guess): 0: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 7: 00 00 00 a: 90 nop b: e9 4b f4 20 00 jmpq 0x20f45b 10: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 17: 00 00 00 1a: 90 nop 1b: 55 push %rbp 1c: 48 89 e5 mov %rsp,%rbp 1f: 41 57 push %r15 21: 41 56 push %r14 23: 41 54 push %r12 25: 53 push %rbx 26: 48 83 e4 e0 and $0xffffffffffffffe0,%rsp * 2a: 48 83 ec 60 sub $0x60,%rsp <-- trapping instruction 2e: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 35: 00 00 37: 48 89 44 24 48 mov %rax,0x48(%rsp) 3c: 49 rex.WB 3d: be .byte 0xbe