rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8713/1:b..l P8411/1:b..l P5230/1:b..l P4677/1:b..l rcu: (detected by 1, t=10502 jiffies, g=35997, q=634 ncpus=2) task:udevd state:R running task stack:21664 pid:4677 tgid:4677 ppid:1 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6708 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6732 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 fast_dput+0x1e1/0x420 dput+0xe8/0x2b0 fs/dcache.c:851 step_into+0x355/0x1080 fs/namei.c:1906 walk_component fs/namei.c:2059 [inline] link_path_walk+0x7b7/0xea0 fs/namei.c:2418 path_openat+0x266/0x3590 fs/namei.c:3929 do_filp_open+0x235/0x490 fs/namei.c:3960 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8cdcd9f9a4 RSP: 002b:00007ffdb799f5c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8cdcd9f9a4 RDX: 0000000000080141 RSI: 00005584befa80d8 RDI: 00000000ffffff9c RBP: 00005584befa80d8 R08: 00000000ffffffff R09: 0000000000000000 R10: 00000000000001a4 R11: 0000000000000246 R12: 0000000000080141 R13: ffffffffffffffff R14: 00000000ffffffff R15: 00000000ffffffff task:syz-executor state:R running task stack:20888 pid:5230 tgid:5230 ppid:5217 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6708 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6732 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] copy_pte_range mm/memory.c:1191 [inline] copy_pmd_range+0x7ad5/0x8500 mm/memory.c:1252 copy_pud_range mm/memory.c:1289 [inline] copy_p4d_range mm/memory.c:1313 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1411 dup_mmap kernel/fork.c:749 [inline] dup_mm kernel/fork.c:1672 [inline] copy_mm+0x11e2/0x1f30 kernel/fork.c:1721 copy_process+0x1854/0x3d80 kernel/fork.c:2373 kernel_clone+0x223/0x880 kernel/fork.c:2780 __do_sys_clone kernel/fork.c:2923 [inline] __se_sys_clone kernel/fork.c:2907 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2907 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4dfd174753 RSP: 002b:00007ffc9a010928 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4dfd174753 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 00005555824ae7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000525a3 R14: 0000000000052434 R15: 00007ffc9a010ab0 task:syz-executor state:R running task stack:20208 pid:8411 tgid:8411 ppid:8400 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6708 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6732 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 vprintk_emit+0x84c/0xa10 kernel/printk/printk.c:2408 _printk+0xd5/0x120 kernel/printk/printk.c:2432 batadv_check_known_mac_addr+0x2b1/0x410 net/batman-adv/hard-interface.c:526 batadv_hard_if_event+0x3a5/0x1620 net/batman-adv/hard-interface.c:998 notifier_call_chain+0x19f/0x3e0 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] dev_set_mac_address+0x3d9/0x510 net/core/dev.c:9100 dev_set_mac_address_user+0x31/0x50 net/core/dev.c:9114 do_setlink+0x8b6/0x41f0 net/core/rtnetlink.c:2855 __rtnl_newlink net/core/rtnetlink.c:3696 [inline] rtnl_newlink+0x180d/0x20a0 net/core/rtnetlink.c:3743 rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6646 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x398/0x4f0 net/socket.c:2210 __do_sys_sendto net/socket.c:2222 [inline] __se_sys_sendto net/socket.c:2218 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2218 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f212117fd8c RSP: 002b:00007ffd228da300 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f2121e64620 RCX: 00007f212117fd8c RDX: 000000000000002c RSI: 00007f2121e64670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd228da354 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f2121e64670 R15: 0000000000000000 task:rm state:R running task stack:24992 pid:8713 tgid:8713 ppid:8686 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5826 Code: 2b 00 74 08 4c 89 f7 e8 0a 56 88 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90003ca7ce0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000794fa8 RCX: af2fd8a314874800 RDX: dffffc0000000000 RSI: ffffffff8c0aea80 RDI: ffffffff8c5fea80 RBP: ffffc90003ca7e28 R08: ffffffff94211887 R09: 1ffffffff2842310 R10: dffffc0000000000 R11: fffffbfff2842311 R12: 1ffff92000794fa4 R13: dffffc0000000000 R14: ffffc90003ca7d40 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] __fget_files+0x4a/0x470 fs/file.c:1031 ksys_mmap_pgoff+0x23b/0x720 mm/mmap.c:1485 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f20451bcb74 RSP: 002b:00007ffef5bc10a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffef5bc1120 RCX: 00007f20451bcb74 RDX: 0000000000000001 RSI: 0000000000028000 RDI: 00007f204516d000 RBP: 00007ffef5bc1410 R08: 0000000000000003 R09: 0000000000097000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007f20451990c0 R13: 00007ffef5bc1498 R14: 0000000000096066 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10628 jiffies! g35997 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:25552 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.11.0-syzkaller-05319-g4a39ac5b7d62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:92 [inline] RIP: 0010:acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 80 d6 03 00 48 f7 00 08 00 00 00 75 10 66 90 0f 00 2d 25 f9 b3 00 f3 0f 1e fa fb f4 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d08 EFLAGS: 00000246 RAX: ffff88801d6f8000 RBX: ffff8881412e7864 RCX: 0000000000daa599 RDX: 0000000000000001 RSI: ffff8881412e7800 RDI: ffff8881412e7864 RBP: 000000000003a878 R08: ffff8880b8937e9b R09: 1ffff11017126fd3 R10: dffffc0000000000 R11: ffffffff8bb5ac70 R12: ffff8881482e9000 R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff8f10b6a0 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c28f8cf CR3: 0000000062fb0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:702 cpuidle_enter_state+0x109/0x470 drivers/cpuidle/cpuidle.c:264 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:385 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:326 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424 start_secondary+0x102/0x110 arch/x86/kernel/smpboot.c:313 common_startup_64+0x13e/0x147