rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=547/1/0x4000000000000000 softirq=50919/50919 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P21543/1:b..l (detected by 0, t=10502 jiffies, g=80093, q=49) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21545 Comm: syz-executor.1 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lookup_object lib/debugobjects.c:198 [inline] RIP: 0010:debug_object_activate+0x172/0x3e0 lib/debugobjects.c:663 Code: 8b ab e0 d3 65 90 31 db 48 85 ed 74 48 49 bd 00 00 00 00 00 fc ff df 48 8d 7d 18 83 c3 01 48 89 f8 48 c1 e8 03 42 80 3c 28 00 <0f> 85 c6 01 00 00 4c 3b 65 18 0f 84 bf 00 00 00 48 89 e8 48 c1 e8 RSP: 0018:ffffc90000fd8d28 EFLAGS: 00000046 RAX: 1ffff11003d17cb2 RBX: 0000000000000001 RCX: ffffffff815c4e40 RDX: 1ffffffff20d3ce4 RSI: 0000000000000006 RDI: ffff88801e8be590 RBP: ffff88801e8be578 R08: ffffffff9069e710 R09: 0000000000000003 R10: fffff520001fb193 R11: 0000000000000001 R12: ffff888070941b40 R13: dffffc0000000000 R14: 1ffff920001fb1a7 R15: ffffffff89adee60 FS: 00007fbd701f2700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e62e000 CR3: 000000001ef7c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x3e0 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xb02/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 ea f5 14 f8 48 89 ef e8 a2 6b 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 33 36 08 f8 65 8b 05 2c 8a bb 76 85 c0 74 0a 5b 5d c3 e8 a0 22 RSP: 0018:ffffc900035a7cb0 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:0x7fbd7187ce99 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:00007fbd701f2168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fbd7198ff60 RCX: 00007fbd7187ce99 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 00007fbd718d6ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff679eddbf R14: 00007fbd701f2300 R15: 0000000000022000 task:syz-executor.5 state:R running task stack:28280 pid:21543 ppid: 3634 flags:0x00024000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6668 irqentry_exit+0x31/0x80 kernel/entry/common.c:425 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:629 RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5605 Code: 96 a6 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900035979c8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920006b2f3b RCX: ec11fb64007d6eed RDX: 1ffff1101020f16b RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ff7aa07 R10: fffffbfff1fef540 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8bb812a0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:688 [inline] percpu_ref_get_many include/linux/percpu-refcount.h:202 [inline] percpu_ref_get include/linux/percpu-refcount.h:222 [inline] obj_cgroup_get include/linux/memcontrol.h:825 [inline] memcg_slab_post_alloc_hook+0xfa/0x3e0 mm/slab.h:320 slab_post_alloc_hook mm/slab.h:526 [inline] kmem_cache_alloc_bulk+0x34a/0x480 mm/slab.c:3554 __io_alloc_req_refill fs/io_uring.c:2015 [inline] io_alloc_req_refill fs/io_uring.c:2041 [inline] io_submit_sqes.cold+0x1fe/0x444 fs/io_uring.c:7360 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10076 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:0x7f0f24b54e99 RSP: 002b:00007f0f234ca168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f0f24c67f60 RCX: 00007f0f24b54e99 RDX: 0000000000000000 RSI: 0000000000002a71 RDI: 0000000000000003 RBP: 00007f0f24baeff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffed52f8bf R14: 00007f0f234ca300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g80093 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=39539 rcu: rcu_preempt kthread starved for 10502 jiffies! g80093 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:28888 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: 21545 Comm: syz-executor.1 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_check_range+0x16/0x180 mm/kasan/generic.c:188 Code: 01 48 0f 45 c1 48 89 c7 e8 a7 c8 ec ff 0f 0b 0f 1f 44 00 00 48 85 f6 0f 84 3c 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 55 <53> 0f 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 RSP: 0018:ffffc90000fd8ac0 EFLAGS: 00000082 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff815b91b5 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff7aa00 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ff7aa08 R10: fffffbfff1fef540 R11: 0000000000000001 R12: ffff888020ba6bb0 R13: ffff888020ba6100 R14: ffffffff8d9153a8 R15: 0000000000000000 FS: 00007fbd701f2700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e62e000 CR3: 000000001ef7c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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:199 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3713 [inline] validate_chain kernel/locking/lockdep.c:3769 [inline] __lock_acquire+0x1655/0x5470 kernel/locking/lockdep.c:5027 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x3e0 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xb02/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 ea f5 14 f8 48 89 ef e8 a2 6b 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 33 36 08 f8 65 8b 05 2c 8a bb 76 85 c0 74 0a 5b 5d c3 e8 a0 22 RSP: 0018:ffffc900035a7cb0 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:0x7fbd7187ce99 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:00007fbd701f2168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fbd7198ff60 RCX: 00007fbd7187ce99 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 00007fbd718d6ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff679eddbf R14: 00007fbd701f2300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 8b ab e0 d3 65 90 mov -0x6f9a2c20(%rbx),%ebp 6: 31 db xor %ebx,%ebx 8: 48 85 ed test %rbp,%rbp b: 74 48 je 0x55 d: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 14: fc ff df 17: 48 8d 7d 18 lea 0x18(%rbp),%rdi 1b: 83 c3 01 add $0x1,%ebx 1e: 48 89 f8 mov %rdi,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) * 2a: 0f 85 c6 01 00 00 jne 0x1f6 <-- trapping instruction 30: 4c 3b 65 18 cmp 0x18(%rbp),%r12 34: 0f 84 bf 00 00 00 je 0xf9 3a: 48 89 e8 mov %rbp,%rax 3d: 48 rex.W 3e: c1 .byte 0xc1 3f: e8 .byte 0xe8