rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=ba1c/1/0x4000000000000000 softirq=78559/78560 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P27568/2:b..l rcu: (detected by 1, t=10502 jiffies, g=142285, q=67 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 23330 Comm: kworker/u4:13 Not tainted 6.7.0-rc6-syzkaller-00022-g55cb5f43689d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:hlock_class+0x58/0x130 kernel/locking/lockdep.c:240 Code: 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 80 fe f0 91 e8 c2 4b 76 00 48 0f a3 1d fa fa 8a 10 73 0f <48> 69 c3 d0 00 00 00 5b 48 05 a0 02 f1 91 c3 48 c7 c0 e0 e5 7f 92 RSP: 0018:ffffc900000079f0 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000020 RCX: ffffffff8166037e RDX: fffffbfff23e1fd1 RSI: 0000000000000008 RDI: ffffffff91f0fe80 RBP: ffffc90000007b40 R08: 0000000000000000 R09: fffffbfff23e1fd0 R10: ffffffff91f0fe87 R11: 0000000000000004 R12: ffff8880264400c0 R13: 0000000000000200 R14: 0000000000000009 R15: 1ffff92000000f46 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 000000004808d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock+0xb5/0xc50 kernel/locking/lockdep.c:4656 mark_usage kernel/locking/lockdep.c:4599 [inline] __lock_acquire+0x998/0x3b20 kernel/locking/lockdep.c:5091 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] advance_sched+0x67c/0xc60 net/sched/sch_taprio.c:996 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x1ef/0x520 kernel/locking/lockdep.c:5722 Code: c1 05 4d 95 9b 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 85 ed 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:ffffc90004807a98 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000900f55 RCX: 000000009ca22859 RDX: 0000000000000001 RSI: ffffffff8acca240 RDI: ffffffff8b2ed3e0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23e1fd0 R10: ffffffff91f0fe87 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8cfa7d60 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:754 [inline] batadv_iv_ogm_schedule_buff+0x5ac/0x14f0 net/batman-adv/bat_iv_ogm.c:825 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:868 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:861 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x31e/0x8c0 net/batman-adv/bat_iv_ogm.c:1712 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 task:syz-executor.0 state:R running task stack:26368 pid:27568 tgid:27566 ppid:5093 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6865 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __local_bh_enable_ip+0x103/0x120 kernel/softirq.c:388 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:817 [inline] __dev_queue_xmit+0x87c/0x3d60 net/core/dev.c:4373 dev_queue_xmit include/linux/netdevice.h:3134 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0x16a4/0x2550 net/ipv4/ip_output.c:235 __ip_finish_output net/ipv4/ip_output.c:313 [inline] __ip_finish_output+0x38b/0x650 net/ipv4/ip_output.c:295 ip_finish_output+0x31/0x310 net/ipv4/ip_output.c:323 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip_output+0x13b/0x2a0 net/ipv4/ip_output.c:433 dst_output include/net/dst.h:451 [inline] ip_local_out net/ipv4/ip_output.c:129 [inline] __ip_queue_xmit+0x7cb/0x1a50 net/ipv4/ip_output.c:535 __tcp_transmit_skb+0x1aa5/0x3d10 net/ipv4/tcp_output.c:1462 __tcp_send_ack.part.0+0x399/0x730 net/ipv4/tcp_output.c:4232 __tcp_send_ack net/ipv4/tcp_output.c:4238 [inline] tcp_send_ack+0x82/0xa0 net/ipv4/tcp_output.c:4238 tcp_send_challenge_ack+0x2a7/0x3d0 net/ipv4/tcp_input.c:3743 tcp_validate_incoming+0xff1/0x1ce0 net/ipv4/tcp_input.c:5963 tcp_rcv_established+0x5f7/0x20e0 net/ipv4/tcp_input.c:6162 tcp_v4_do_rcv+0x68c/0xa10 net/ipv4/tcp_ipv4.c:1906 sk_backlog_rcv include/net/sock.h:1121 [inline] __release_sock+0x132/0x3b0 net/core/sock.c:2968 release_sock+0x5a/0x1f0 net/core/sock.c:3534 mptcp_connect+0x7d0/0x960 net/mptcp/protocol.c:3719 __inet_stream_connect+0x3c5/0x1020 net/ipv4/af_inet.c:675 inet_stream_connect+0x57/0xa0 net/ipv4/af_inet.c:746 __sys_connect_file+0x15b/0x1a0 net/socket.c:2046 __sys_connect+0x145/0x170 net/socket.c:2063 __do_sys_connect net/socket.c:2073 [inline] __se_sys_connect net/socket.c:2070 [inline] __x64_sys_connect+0x72/0xb0 net/socket.c:2070 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f16d987cbe9 RSP: 002b:00007f16da6230c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f16d999bf80 RCX: 00007f16d987cbe9 RDX: 000000000000001c RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007f16d98c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f16d999bf80 R15: 00007ffe48bcbb68 rcu: rcu_preempt kthread starved for 10498 jiffies! g142285 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:27680 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x137/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x24b/0x380 kernel/rcu/tree.c:1830 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 27252 Comm: kworker/1:2 Not tainted 6.7.0-rc6-syzkaller-00022-g55cb5f43689d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events bpf_prog_free_deferred RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x12/0x80 kernel/kcov.c:236 Code: 04 25 00 bd 03 00 48 8b 80 f0 15 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 d2 49 89 f8 49 89 f1 65 48 8b 14 25 00 bd 03 00 <65> 8b 05 3f 61 7d 7e a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 fc RSP: 0018:ffffc90005207868 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b98414c0 RCX: ffffffff817aaaa8 RDX: ffff888029f40140 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000003 R12: ffffed1017308299 R13: 0000000000000001 R14: ffff8880b98414c8 R15: ffff8880b993d900 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31723000 CR3: 0000000044096000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:311 [inline] smp_call_function_many_cond+0x508/0x1550 kernel/smp.c:855 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 __purge_vmap_area_lazy+0x203/0x2170 mm/vmalloc.c:1749 _vm_unmap_aliases+0x693/0x9b0 mm/vmalloc.c:2306 vm_reset_perms mm/vmalloc.c:2753 [inline] vfree+0x533/0x7a0 mm/vmalloc.c:2832 bpf_prog_unlock_free include/linux/filter.h:924 [inline] bpf_jit_free include/linux/filter.h:1210 [inline] bpf_prog_free_deferred+0x534/0x720 kernel/bpf/core.c:2744 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242