rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=6114/1/0x4000000000000000 softirq=68111/68112 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5138/1:b..l (detected by 1, t=10502 jiffies, g=95917, q=106 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5115 Comm: syz-executor.0 Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:do_raw_spin_lock+0x1d/0x2b0 kernel/locking/spinlock_debug.c:113 Code: 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 41 56 41 55 41 54 55 48 89 fd 48 83 c7 04 53 <48> 83 ec 68 48 c7 44 24 08 b3 8a b5 41 48 8d 5c 24 08 48 c7 44 24 RSP: 0018:ffffc90000007cf0 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: 000000000011c7c0 RCX: ffffffff8162c37e RDX: 1ffff11004d70d56 RSI: 0000000000010003 RDI: ffffffff91eb0fec RBP: ffffffff91eb0fe8 R08: 0000000000000000 R09: ffffffff9132cac7 R10: fffffbfff2265958 R11: 0000000000000000 R12: 0000000000000006 R13: ffffffff8a4eab80 R14: 1ffff92000000faa R15: ffff88801cd42340 FS: 00005555560cb400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbd011ad988 CR3: 000000003a1f6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x45/0x60 kernel/locking/spinlock.c:162 debug_object_deactivate lib/debugobjects.c:739 [inline] debug_object_deactivate+0x105/0x300 lib/debugobjects.c:727 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+0x422/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 06 67 5a f7 48 89 ef e8 ae d3 5a f7 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 af 37 4d f7 65 8b 05 80 03 fb 75 85 c0 74 0a 5b 5d c3 e8 fc 4c RSP: 0018:ffffc9000370fbd0 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1ce3d41 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffffff91e1b5e8 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff23c36bd R11: 0000000000000000 R12: ffff888088b31138 R13: 1ffff920006e1f8c R14: ffffffff91e1b5e8 R15: ffffffff91e1b5e0 __debug_object_init+0x4a9/0xd10 lib/debugobjects.c:609 debug_timer_init kernel/time/timer.c:777 [inline] debug_init kernel/time/timer.c:825 [inline] init_timer_key+0x36/0x3e0 kernel/time/timer.c:869 inet_csk_init_xmit_timers+0x78/0xf0 net/ipv4/inet_connection_sock.c:714 tcp_init_xmit_timers+0x2a/0xc0 net/ipv4/tcp_timer.c:782 tcp_init_sock+0x76/0x970 net/ipv4/tcp.c:419 tcp_v4_init_sock+0x15/0x80 net/ipv4/tcp_ipv4.c:2277 inet_create net/ipv4/af_inet.c:377 [inline] inet_create+0x8a9/0xea0 net/ipv4/af_inet.c:245 __sock_create+0x359/0x790 net/socket.c:1515 sock_create net/socket.c:1566 [inline] __sys_socket_create net/socket.c:1603 [inline] __sys_socket_create net/socket.c:1588 [inline] __sys_socket+0x133/0x250 net/socket.c:1636 __do_sys_socket net/socket.c:1649 [inline] __se_sys_socket net/socket.c:1647 [inline] __x64_sys_socket+0x73/0xb0 net/socket.c:1647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0873a8d727 Code: f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 29 00 00 00 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:00007ffddaf03648 EFLAGS: 00000206 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007ffddaf03db0 RCX: 00007f0873a8d727 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffddaf03bc0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000032 R13: 00000000000eab53 R14: 0000000000000016 R15: 00007ffddaf03df0 task:kworker/u4:5 state:R running task stack:26624 pid:5138 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 preempt_schedule_irq+0x52/0xa0 kernel/sched/core.c:6867 irqentry_exit+0x35/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x227/0x630 kernel/locking/lockdep.c:5636 Code: 6f 9f 7e 83 f8 01 0f 85 3a 03 00 00 9c 58 f6 c4 02 0f 85 25 03 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:ffffc90003c7fb90 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff9200078ff75 RCX: 6fe7bacdd107675f RDX: 1ffff1100783fd5e RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff9132cac7 R10: fffffbfff2265958 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8c78eac0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:325 [inline] rcu_read_lock include/linux/rcupdate.h:764 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x131/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread starved for 10502 jiffies! g95917 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:28688 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1656 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1855 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 419 Comm: syz-executor.4 Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x43f/0x10a0 kernel/smp.c:987 Code: e6 e8 05 fb 0a 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 33 fe 0a 00 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 4e 0a 00 00 8b 43 08 31 RSP: 0018:ffffc900151dfb98 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffffe8ffffc0bee0 RCX: ffffc9000b769000 RDX: 0000000000040000 RSI: ffffffff8175755d RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: fffff91ffff817dd R14: 0000000000000001 R15: dffffc0000000000 FS: 00007fbd01d4f700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffda8c9ee68 CR3: 000000008e60f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: clock_was_set+0x615/0x870 kernel/time/hrtimer.c:974 do_settimeofday64 kernel/time/timekeeping.c:1345 [inline] do_settimeofday64+0x3c4/0x5d0 kernel/time/timekeeping.c:1312 do_sys_settimeofday64 kernel/time/time.c:195 [inline] do_sys_settimeofday64+0x1e2/0x270 kernel/time/time.c:169 __do_sys_clock_settime kernel/time/posix-timers.c:1088 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1076 [inline] __x64_sys_clock_settime+0x1a5/0x280 kernel/time/posix-timers.c:1076 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbd0108c0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007fbd01d4f168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fbd011abf80 RCX: 00007fbd0108c0a9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fbd010e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdc201395f R14: 00007fbd01d4f300 R15: 0000000000022000