rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=697/1/0x4000000000000000 softirq=60988/60988 fqs=0 (detected by 0, t=10506 jiffies, g=95797, q=126) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 15727 Comm: syz-executor.4 Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_release kernel/locking/lockdep.c:5325 [inline] RIP: 0010:lock_release+0x265/0x720 kernel/locking/lockdep.c:5659 Code: 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 47 04 00 00 <66> f7 43 22 f0 ff 74 36 48 8d 7b 20 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000dc0c78 EFLAGS: 00000046 RAX: 0000000000000003 RBX: ffff88807c964510 RCX: ffffc90000dc0cc8 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807c964532 RBP: 1ffff920001b8191 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff904fa3d0 R13: 0000000000000002 R14: ffff88807c9644e0 R15: ffff88807c963a80 FS: 0000555555dc2400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 0000000027a5d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000028 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x16/0x70 kernel/locking/spinlock.c:194 debug_object_deactivate lib/debugobjects.c:757 [inline] debug_object_deactivate+0x264/0x300 lib/debugobjects.c:723 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+0x3f8/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:preempt_count_sub+0x0/0x150 kernel/sched/core.c:5488 Code: 89 ef e8 63 a0 73 00 eb 82 e8 dc a0 73 00 eb e4 48 89 df e8 d2 a0 73 00 eb 90 e8 cb a0 73 00 eb ac 66 0f 1f 84 00 00 00 00 00 <48> c7 c0 40 f9 34 90 53 89 fb 48 ba 00 00 00 00 00 fc ff df 48 89 RSP: 0018:ffffc90008c078c8 EFLAGS: 00000287 RAX: ffffc90008c08001 RBX: 1ffff92001180f22 RCX: 1ffff92001180f01 RDX: ffffc90008c07e18 RSI: ffffc90008c07de0 RDI: 0000000000000001 RBP: ffffc90008c07e10 R08: ffffffff8e164b8e R09: 0000000000000001 R10: fffff52001180f40 R11: 0000000000088078 R12: ffffc90008c00000 R13: ffffc90008c079dd R14: ffffc90008c079a8 R15: ffffc90008c079dc unwind_next_frame+0xee1/0x1ce0 arch/x86/kernel/unwind_orc.c:624 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:469 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slab.h:732 [inline] slab_alloc_node mm/slub.c:3230 [inline] slab_alloc mm/slub.c:3238 [inline] kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3243 kmem_cache_zalloc include/linux/slab.h:705 [inline] taskstats_tgid_alloc kernel/taskstats.c:561 [inline] taskstats_exit+0x5c6/0xb40 kernel/taskstats.c:600 do_exit+0x882/0x2aa0 kernel/exit.c:791 do_group_exit+0xd2/0x2f0 kernel/exit.c:935 __do_sys_exit_group kernel/exit.c:946 [inline] __se_sys_exit_group kernel/exit.c:944 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:944 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:0x7f0bbb497059 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffde0ef4208 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f0bbb497059 RDX: 00007f0bbb449c9b RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00007f0bbb5ae340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffde0ef42f0 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g95797 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=40348 rcu: rcu_preempt kthread starved for 10506 jiffies! g95797 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:28752 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2145 kthread+0x2e9/0x3a0 kernel/kthread.c:377 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: 15727 Comm: syz-executor.4 Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_check_range+0x15/0x180 mm/kasan/generic.c:188 Code: e3 ff ff 89 43 08 5b 5d 41 5c c3 66 2e 0f 1f 84 00 00 00 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 RSP: 0018:ffffc90000dc0aa0 EFLAGS: 00000096 RAX: 0000000000000001 RBX: 1ffff920001b815d RCX: ffffffff815cd92f RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fe01988 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8fe01990 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807c9644e8 R14: 000000000000005d R15: ffff88807c964508 FS: 0000555555dc2400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 0000000027a5d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000028 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:199 [inline] mark_lock+0xef/0x17b0 kernel/locking/lockdep.c:4583 mark_usage kernel/locking/lockdep.c:4497 [inline] __lock_acquire+0x149d/0x54d0 kernel/locking/lockdep.c:4981 lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x32/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x243/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:preempt_count_sub+0x0/0x150 kernel/sched/core.c:5488 Code: 89 ef e8 63 a0 73 00 eb 82 e8 dc a0 73 00 eb e4 48 89 df e8 d2 a0 73 00 eb 90 e8 cb a0 73 00 eb ac 66 0f 1f 84 00 00 00 00 00 <48> c7 c0 40 f9 34 90 53 89 fb 48 ba 00 00 00 00 00 fc ff df 48 89 RSP: 0018:ffffc90008c078c8 EFLAGS: 00000287 RAX: ffffc90008c08001 RBX: 1ffff92001180f22 RCX: 1ffff92001180f01 RDX: ffffc90008c07e18 RSI: ffffc90008c07de0 RDI: 0000000000000001 RBP: ffffc90008c07e10 R08: ffffffff8e164b8e R09: 0000000000000001 R10: fffff52001180f40 R11: 0000000000088078 R12: ffffc90008c00000 R13: ffffc90008c079dd R14: ffffc90008c079a8 R15: ffffc90008c079dc unwind_next_frame+0xee1/0x1ce0 arch/x86/kernel/unwind_orc.c:624 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:469 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slab.h:732 [inline] slab_alloc_node mm/slub.c:3230 [inline] slab_alloc mm/slub.c:3238 [inline] kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3243 kmem_cache_zalloc include/linux/slab.h:705 [inline] taskstats_tgid_alloc kernel/taskstats.c:561 [inline] taskstats_exit+0x5c6/0xb40 kernel/taskstats.c:600 do_exit+0x882/0x2aa0 kernel/exit.c:791 do_group_exit+0xd2/0x2f0 kernel/exit.c:935 __do_sys_exit_group kernel/exit.c:946 [inline] __se_sys_exit_group kernel/exit.c:944 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:944 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:0x7f0bbb497059 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffde0ef4208 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f0bbb497059 RDX: 00007f0bbb449c9b RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00007f0bbb5ae340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffde0ef42f0 ---------------- Code disassembly (best guess): 0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 48 89 fa mov %rdi,%rdx d: 48 c1 ea 03 shr $0x3,%rdx 11: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx 15: 48 89 f8 mov %rdi,%rax 18: 83 e0 07 and $0x7,%eax 1b: 83 c0 01 add $0x1,%eax 1e: 38 d0 cmp %dl,%al 20: 7c 08 jl 0x2a 22: 84 d2 test %dl,%dl 24: 0f 85 47 04 00 00 jne 0x471 * 2a: 66 f7 43 22 f0 ff testw $0xfff0,0x22(%rbx) <-- trapping instruction 30: 74 36 je 0x68 32: 48 8d 7b 20 lea 0x20(%rbx),%rdi 36: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3d: fc ff df