rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=e3cc/1/0x4000000000000000 softirq=50553/50553 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11/1:b..l P11007/1:b..l P12562/1:b..l rcu: (detected by 1, t=10502 jiffies, g=64709, q=405 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 12570 Comm: modprobe Not tainted 6.11.0-rc3-syzkaller-00156-gd7a5aa4b3c00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:lock_acquire+0x296/0x550 kernel/locking/lockdep.c:5763 Code: 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 11 00 00 00 00 66 43 c7 44 25 15 00 00 43 c6 44 25 17 00 65 48 8b 04 25 28 00 00 00 <48> 3b 84 24 00 01 00 00 0f 85 95 02 00 00 48 8d 65 d8 5b 41 5c 41 RSP: 0018:ffffc90000007a40 EFLAGS: 00000046 RAX: 42aadf21eafd1800 RBX: 1ffff92000000f54 RCX: 42aadf21eafd1800 RDX: dffffc0000000000 RSI: ffffffff8beae6e0 RDI: ffffffff8c3f9540 RBP: ffffc90000007b88 R08: ffffffff934f2847 R09: 1ffffffff269e508 R10: dffffc0000000000 R11: fffffbfff269e509 R12: 1ffff92000000f50 R13: dffffc0000000000 R14: ffffc90000007aa0 R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fba30228270 CR3: 00000000163a4000 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:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x158/0x390 lib/debugobjects.c:764 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:484 __run_hrtimer kernel/time/hrtimer.c:1657 [inline] __hrtimer_run_queues+0x305/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:arch_atomic_inc include/linux/instrumented.h:96 [inline] RIP: 0010:raw_atomic_inc include/linux/atomic/atomic-arch-fallback.h:992 [inline] RIP: 0010:atomic_inc include/linux/atomic/atomic-instrumented.h:436 [inline] RIP: 0010:i_readcount_inc include/linux/fs.h:2991 [inline] RIP: 0010:do_dentry_open+0x24e/0x1440 fs/open.c:928 Code: ff 83 fb 01 4c 89 34 24 75 22 e8 5d 8c 8c ff 49 8d bc 24 0c 02 00 00 be 04 00 00 00 e8 9b af f0 ff f0 41 ff 84 24 0c 02 00 00 1a 89 ee 83 e6 02 31 ff e8 74 90 8c ff 83 e5 02 0f 85 b6 02 00 RSP: 0018:ffffc9000ef87828 EFLAGS: 00000206 RAX: ffffffff8206fe01 RBX: 0000000000000001 RCX: ffffffff8206fe15 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8880257898ac RBP: 0000000000000001 R08: ffff8880257898af R09: 1ffff11004af1315 R10: dffffc0000000000 R11: ffffed1004af1316 R12: ffff8880257896a0 R13: ffff8880234b2a00 R14: ffff8880234b2a50 R15: ffff8880234b2af8 vfs_open+0x3e/0x330 fs/open.c:1089 do_open fs/namei.c:3727 [inline] path_openat+0x2b3e/0x3470 fs/namei.c:3886 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 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:0x7fba304d0a46 Code: 10 00 00 00 44 8b 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 0a 48 01 00 48 83 c8 ff c3 31 RSP: 002b:00007ffe968e3468 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffe968e36c8 RCX: 00007fba304d0a46 RDX: 0000000000080000 RSI: 00007ffe968e34e0 RDI: 00000000ffffff9c RBP: 00007ffe968e34d0 R08: 0000000000080000 R09: 00007ffe968e34e0 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffe968e34e0 R13: 0000000000000009 R14: 00007ffe968e36af R15: 00000000ffffffff task:syz.1.1664 state:R running task stack:23800 pid:12562 tgid:12560 ppid:10882 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] zap_pte_range mm/memory.c:1688 [inline] zap_pmd_range mm/memory.c:1736 [inline] zap_pud_range mm/memory.c:1765 [inline] zap_p4d_range mm/memory.c:1786 [inline] unmap_page_range+0x3818/0x42c0 mm/memory.c:1807 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1897 exit_mmap+0x264/0xc80 mm/mmap.c:3412 __mmput+0x115/0x380 kernel/fork.c:1345 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x27f0 kernel/exit.c:869 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x1695/0x1730 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2d03b799b9 RSP: 002b:00007f2d049140e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f2d03d15f88 RCX: 00007f2d03b799b9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2d03d15f88 RBP: 00007f2d03d15f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2d03d15f8c R13: 0000000000000000 R14: 00007ffcaa225f60 R15: 00007ffcaa226048 task:udevd state:R running task stack:24864 pid:11007 tgid:11007 ppid:4673 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_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108 sock_def_readable+0x20f/0x5b0 net/core/sock.c:3374 unix_dgram_sendmsg+0x1493/0x1f80 net/unix/af_unix.c:2170 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 sock_write_iter+0x2dd/0x400 net/socket.c:1160 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x7fe087196bf2 RSP: 002b:00007ffe5ccdfc98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe087196bf2 RDX: 0000000000000000 RSI: 00007ffe5ccdfcef RDI: 000000000000000a RBP: 00007ffe5ccdfcef R08: 0000000000000001 R09: 140d956a7b7f51f1 R10: 1999999999999999 R11: 0000000000000246 R12: 000000000000000a R13: 00007fe0870c0ae0 R14: 0000000000000000 R15: 00005599f2923910 task:kworker/u8:0 state:R running task stack:18736 pid:11 tgid:11 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker 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:5763 Code: 2b 00 74 08 4c 89 f7 e8 7a db 87 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:ffffc90000107980 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000020f3c RCX: 3c0027bba38aec00 RDX: dffffc0000000000 RSI: ffffffff8beae6e0 RDI: ffffffff8c3f9540 RBP: ffffc90000107ad0 R08: ffffffff934f2847 R09: 1ffffffff269e508 R10: dffffc0000000000 R11: fffffbfff269e509 R12: 1ffff92000020f38 R13: dffffc0000000000 R14: ffffc900001079e0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] batadv_nc_process_nc_paths+0xd6/0x3a0 net/batman-adv/network-coding.c:687 batadv_nc_worker+0x42a/0x610 net/batman-adv/network-coding.c:728 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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: rcu_preempt kthread starved for 10500 jiffies! g64709 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:24912 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:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 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: 12573 Comm: syz.3.1667 Not tainted 6.11.0-rc3-syzkaller-00156-gd7a5aa4b3c00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:856 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 19 15 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c4 10 0c 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 a8 10 RSP: 0018:ffffc9000f296e40 EFLAGS: 00000246 RAX: ffffffff818779b8 RBX: 1ffff11017248c61 RCX: 0000000000040000 RDX: ffffc9000bf9c000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000f297020 R08: ffffffff81877987 R09: 1ffffffff269e508 R10: dffffc0000000000 R11: fffffbfff269e509 R12: dffffc0000000000 R13: ffff8880b9246308 R14: ffff8880b933fb40 R15: 0000000000000000 FS: 00007f579d39d6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200012c0 CR3: 0000000063a26000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_slow_inc_cpuslocked+0x80/0xf0 kernel/jump_label.c:168 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:191 clsact_init+0x101/0x760 net/sched/sch_ingress.c:254 qdisc_create+0x9d4/0x11a0 net/sched/sch_api.c:1355 tc_modify_qdisc+0xb7b/0x1e40 net/sched/sch_api.c:1760 rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6647 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_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 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:0x7f579c5799b9 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:00007f579d39d038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f579c716058 RCX: 00007f579c5799b9 RDX: 0000000000000000 RSI: 00000000200012c0 RDI: 0000000000000009 RBP: 00007f579c5e78d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f579c716058 R15: 00007ffe69666ea8