rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5382/1:b..l rcu: (detected by 1, t=10502 jiffies, g=10013, q=1224 ncpus=2) task:syz-executor.4 state:R running task stack:19752 pid:5382 ppid:5374 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 preempt_schedule_common+0x83/0xc0 kernel/sched/core.c:6879 preempt_schedule+0xdd/0xf0 kernel/sched/core.c:6903 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 vprintk_emit+0x1be/0x1f0 kernel/printk/printk.c:2308 _printk+0xd5/0x120 kernel/printk/printk.c:2328 batadv_check_known_mac_addr+0x28a/0x3d0 net/batman-adv/hard-interface.c:525 batadv_hard_if_event+0x39d/0x15a0 net/batman-adv/hard-interface.c:992 notifier_call_chain+0x18c/0x3a0 kernel/notifier.c:93 call_netdevice_notifiers_info net/core/dev.c:1962 [inline] call_netdevice_notifiers_extack net/core/dev.c:2000 [inline] call_netdevice_notifiers net/core/dev.c:2014 [inline] dev_set_mac_address+0x3c8/0x520 net/core/dev.c:8793 dev_set_mac_address_user+0x31/0x50 net/core/dev.c:8807 do_setlink+0x8ef/0x4340 net/core/rtnetlink.c:2829 __rtnl_newlink net/core/rtnetlink.c:3672 [inline] rtnl_newlink+0x17f6/0x2070 net/core/rtnetlink.c:3719 rtnetlink_rcv_msg+0x82b/0xf50 net/core/rtnetlink.c:6445 netlink_rcv_skb+0x1df/0x430 net/netlink/af_netlink.c:2549 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x7c3/0x990 net/netlink/af_netlink.c:1365 netlink_sendmsg+0xa2a/0xd60 net/netlink/af_netlink.c:1914 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg net/socket.c:748 [inline] __sys_sendto+0x484/0x640 net/socket.c:2134 __do_sys_sendto net/socket.c:2146 [inline] __se_sys_sendto net/socket.c:2142 [inline] __x64_sys_sendto+0xde/0xf0 net/socket.c:2142 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6b4e27e64c RSP: 002b:00007fff6186f580 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f6b4eec4620 RCX: 00007f6b4e27e64c RDX: 000000000000002c RSI: 00007f6b4eec4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff6186f5d4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f6b4eec4670 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10540 jiffies! g10013 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:26952 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 76 Comm: kworker/u4:4 Not tainted 6.5.0-rc7-syzkaller-00144-g4942fed84b98 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x60 kernel/kcov.c:207 Code: 00 fd 77 7e 65 8b 15 01 fd 77 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 04 16 00 00 00 74 2c 8b 91 e0 15 00 00 <83> fa 02 75 21 48 8b 91 e8 15 00 00 48 8b 32 48 8d 7e 01 8b 89 e4 RSP: 0018:ffffc900020bf778 EFLAGS: 00000246 RAX: ffffffff8180a437 RBX: 1ffff1101732857d RCX: ffff888013780000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900020bf980 R08: ffffffff8180a402 R09: 1ffffffff20f6860 R10: dffffc0000000000 R11: fffffbfff20f6861 R12: ffff8880b9942be8 R13: ffff8880b983d0c8 R14: ffff8880b983d0c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000efc000 CR3: 000000000d130000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:296 [inline] smp_call_function_many_cond+0x1877/0x27d0 kernel/smp.c:835 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1997 [inline] text_poke_bp_batch+0x2d7/0x960 arch/x86/kernel/alternative.c:2207 text_poke_flush arch/x86/kernel/alternative.c:2398 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2405 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x250 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:831 process_one_work+0x92c/0x12c0 kernel/workqueue.c:2600 worker_thread+0xa63/0x1210 kernel/workqueue.c:2751 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304