rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6320/1:b..l (detected by 1, t=10502 jiffies, g=21041, q=266) task:syz-executor state:R running task stack:20888 pid: 6320 ppid: 6318 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6549 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6574 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 vprintk_emit+0x146/0x150 kernel/printk/printk.c:2275 _printk+0xd1/0x120 kernel/printk/printk.c:2299 batadv_check_known_mac_addr+0x296/0x3d0 net/batman-adv/hard-interface.c:524 batadv_hard_if_event+0x300/0x17a0 net/batman-adv/hard-interface.c:986 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2018 [inline] call_netdevice_notifiers_extack net/core/dev.c:2030 [inline] call_netdevice_notifiers net/core/dev.c:2044 [inline] dev_set_mac_address+0x325/0x470 net/core/dev.c:9074 dev_set_mac_address_user+0x2d/0x50 net/core/dev.c:9088 do_setlink+0x7f0/0x3d80 net/core/rtnetlink.c:2702 __rtnl_newlink net/core/rtnetlink.c:3418 [inline] rtnl_newlink+0x17d6/0x2070 net/core/rtnetlink.c:3540 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5618 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1352 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] __sys_sendto+0x564/0x720 net/socket.c:2058 __do_sys_sendto net/socket.c:2070 [inline] __se_sys_sendto net/socket.c:2066 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2066 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f7b0ef91d0c RSP: 002b:00007ffddd6ff990 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7b0fc5a620 RCX: 00007f7b0ef91d0c RDX: 000000000000002c RSI: 00007f7b0fc5a670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffddd6ff9e4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f7b0fc5a670 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10408 jiffies! g21041 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=16313 rcu: rcu_preempt kthread starved for 10409 jiffies! g21041 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27256 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 6441 Comm: syz.4.704 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:lock_is_held_type+0x0/0x180 kernel/locking/lockdep.c:5651 Code: 00 75 d6 48 c7 c7 c0 28 8b 8a 48 c7 c6 00 29 8b 8a e8 a4 b4 18 f7 0f 0b eb bf e8 ab fd ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 RSP: 0018:ffffc90000007cb8 EFLAGS: 00000002 RAX: 0000000000010000 RBX: 0000000000000001 RCX: ffff888024ea0000 RDX: ffff888024ea0000 RSI: 00000000ffffffff RDI: ffff888061fb9300 RBP: ffff888061fb92e8 R08: ffffffff888134db R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888061fb9000 R13: ffff888061fb9340 R14: dffffc0000000000 R15: ffff888061fb9328 FS: 00007f3c40acd6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003c80 CR3: 000000006301a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:287 [inline] advance_sched+0x13d/0x940 net/sched/sch_taprio.c:721 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 22 46 8d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 77 88 1a f7 65 8b 05 58 8b c5 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002df7b60 EFLAGS: 00000206 RAX: f5199f163c623500 RBX: 1ffff920005bef70 RCX: ffffffff81631a88 RDX: dffffc0000000000 RSI: ffffffff8a8b2a20 RDI: 0000000000000001 RBP: ffffc90002df7bf0 R08: dffffc0000000000 R09: fffffbfff1f8e219 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920005bef6c R14: ffffc90002df7b80 R15: 0000000000000246 clock_was_set+0x67d/0x880 kernel/time/hrtimer.c:970 do_settimeofday64+0x673/0x7e0 kernel/time/timekeeping.c:1328 __do_sys_clock_settime kernel/time/posix-timers.c:1124 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1112 [inline] __x64_sys_clock_settime+0x232/0x270 kernel/time/posix-timers.c:1112 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3c42671e79 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3c40acd038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f3c4280e058 RCX: 00007f3c42671e79 RDX: 0000000000000000 RSI: 0000000020003c80 RDI: 0000000000000000 RBP: 00007f3c426df916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3c4280e058 R15: 00007ffc8c58f468