rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P2975/1:b..l (detected by 0, t=10502 jiffies, g=122933, q=244 ncpus=2) task:udevd state:R running task stack:25208 pid: 2975 ppid: 1 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6593 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x57/0x70 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] __wake_up_common_lock+0xde/0x130 kernel/sched/wait.c:139 sock_def_readable+0xec/0x4e0 net/core/sock.c:3217 __netlink_sendskb net/netlink/af_netlink.c:1266 [inline] netlink_sendskb net/netlink/af_netlink.c:1272 [inline] netlink_unicast+0x6e6/0x7f0 net/netlink/af_netlink.c:1360 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 ____sys_sendmsg+0x6eb/0x810 net/socket.c:2492 ___sys_sendmsg+0xf3/0x170 net/socket.c:2546 __sys_sendmsg net/socket.c:2575 [inline] __do_sys_sendmsg net/socket.c:2584 [inline] __se_sys_sendmsg net/socket.c:2582 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2582 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f71bbb35163 RSP: 002b:00007ffc54c6d078 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000055f2b8588db0 RCX: 00007f71bbb35163 RDX: 0000000000000000 RSI: 00007ffc54c6d088 RDI: 0000000000000004 RBP: 000055f2b85aff20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000000b4 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g122933 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=85697 rcu: rcu_preempt kthread starved for 10502 jiffies! g122933 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28656 pid: 17 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1999 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2187 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 28485 Comm: udevd Not tainted 5.19.0-rc2-syzkaller-00060-g30306f6194ca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__rb_change_child include/linux/rbtree_augmented.h:178 [inline] RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:216 [inline] RIP: 0010:rb_erase+0x6f5/0x1210 lib/rbtree.c:443 Code: 3c 18 00 0f 85 f2 08 00 00 4d 89 ec 4d 8b 6d 08 e9 06 fd ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 68 09 00 00 4d 85 f6 4d 89 37 0f 84 3e fb ff ff 48 b8 00 00 RSP: 0018:ffffc900001f0d88 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 1ffff110173654ca RSI: ffff8880b9b2a650 RDI: ffff88802d41bb50 RBP: ffff8880b9b2a650 R08: 0000000000000006 R09: 0000000000000001 R10: ffff88802d41bb40 R11: 0000000000000001 R12: 0000000000000001 R13: ffff88802d41bb40 R14: 0000000000000000 R15: ffff8880b9b2a650 FS: 00007f71bbe96840(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555651f708 CR3: 0000000081985000 CR4: 0000000000350ee0 Call Trace: rb_erase_cached include/linux/rbtree.h:126 [inline] timerqueue_del+0x7f/0x140 lib/timerqueue.c:57 __remove_hrtimer+0xa1/0x2a0 kernel/time/hrtimer.c:1116 __run_hrtimer kernel/time/hrtimer.c:1665 [inline] __hrtimer_run_queues+0x4ea/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x60 kernel/kcov.c:200 Code: be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 65 8b 05 39 fd 87 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 80 6f 02 00 00 01 ff 00 74 0e 85 c9 74 35 8b 82 a4 15 00 00 85 c0 74 2b 8b RSP: 0018:ffffc900030ffe00 EFLAGS: 00000246 RAX: 0000000080000000 RBX: ffffffff81000000 RCX: 0000000000000000 RDX: ffff88801d858000 RSI: ffffffff813648a9 RDI: ffffffff81000000 RBP: ffff88806d0c9000 R08: 0000000000000006 R09: ffff88806d0c9000 R10: ffffffff81000000 R11: 0000000000000000 R12: ffff88806d0c8020 R13: 0000000000000000 R14: ffffea0001b43200 R15: ffff888000000000 __phys_addr_symbol+0x9/0x70 arch/x86/mm/physaddr.c:37 check_kernel_text_object mm/usercopy.c:137 [inline] __check_object_size mm/usercopy.c:253 [inline] __check_object_size+0x29c/0x700 mm/usercopy.c:212 check_object_size include/linux/thread_info.h:199 [inline] strncpy_from_user+0xaa/0x3c0 lib/strncpy_from_user.c:137 getname_flags.part.0+0x95/0x4f0 fs/namei.c:150 getname_flags+0x9a/0xe0 include/linux/audit.h:323 getname fs/namei.c:218 [inline] __do_sys_rename fs/namei.c:4916 [inline] __se_sys_rename fs/namei.c:4914 [inline] __x64_sys_rename+0x56/0xa0 fs/namei.c:4914 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f71bba934d7 Code: e8 7e 3e 09 00 85 c0 0f 95 c0 0f b6 c0 f7 d8 5d c3 66 90 b8 ff ff ff ff 5d c3 66 0f 1f 84 00 00 00 00 00 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 71 19 16 00 f7 d8 64 89 02 b8 RSP: 002b:00007ffc54c6c6a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f71bba934d7 RDX: 000000000000001c RSI: 00007ffc54c6c6c8 RDI: 00007ffc54c6cac8 RBP: 000055f2b85ae190 R08: 0000000000000007 R09: 000055f2b85aa310 R10: 00000000000001b6 R11: 0000000000000206 R12: 000055f2b85aa310 R13: 00007ffc54c6c6c8 R14: 00007ffc54c6cac8 R15: 000055f2b6be0160 watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [kworker/u4:13:3816] Modules linked in: irq event stamp: 30325388 hardirqs last enabled at (30325387): [] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 hardirqs last disabled at (30325388): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (30248318): [] spin_unlock_bh include/linux/spinlock.h:394 [inline] softirqs last enabled at (30248318): [] ieee80211_ibss_work+0x353/0xe80 net/mac80211/ibss.c:1702 softirqs last disabled at (30248316): [] spin_lock_bh include/linux/spinlock.h:354 [inline] softirqs last disabled at (30248316): [] ieee80211_ibss_work+0x133/0xe80 net/mac80211/ibss.c:1691 CPU: 0 PID: 3816 Comm: kworker/u4:13 Not tainted 5.19.0-rc2-syzkaller-00060-g30306f6194ca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline] RIP: 0010:smp_call_function_many_cond+0x499/0x1110 kernel/smp.c:988 Code: 01 89 ee e8 49 93 0a 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 e9 96 0a 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 RSP: 0018:ffffc900047af950 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9b401e0 RCX: 0000000000000000 RDX: ffff8880247e1d80 RSI: ffffffff816fdb17 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed101736803d R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5d980c38 CR3: 000000000ba8e000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1231 [inline] text_poke_bp_batch+0x233/0x6c0 arch/x86/kernel/alternative.c:1419 text_poke_flush arch/x86/kernel/alternative.c:1589 [inline] text_poke_flush arch/x86/kernel/alternative.c:1586 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1596 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:808 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:800 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 28485 Comm: udevd Not tainted 5.19.0-rc2-syzkaller-00060-g30306f6194ca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_lockdep_current_cpu_online+0x20/0x140 kernel/rcu/tree.c:1178 Code: 2e 0f 1f 84 00 00 00 00 00 90 65 8b 15 29 3f 9d 7e 81 e2 00 00 f0 00 b8 01 00 00 00 75 0a 8b 15 7e 4d 56 0c 85 d2 75 01 c3 55 <53> 65 ff 05 08 3f 9d 7e e8 33 f5 11 08 48 c7 c3 c0 ad 03 00 83 f8 RSP: 0018:ffffc900001f0cc0 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 1ffff9200003e19e RCX: ffffffff815e5a78 RDX: 0000000000000001 RSI: 0000000000010002 RDI: ffffffff8b7fa8e8 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8dbb7c97 R10: fffffbfff1b76f92 R11: 0000000000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8bd86b20 R15: 0000000000000000 FS: 00007f71bbe96840(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555651f708 CR3: 0000000081985000 CR4: 0000000000350ee0 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x480/0x570 kernel/locking/lockdep.c:5636 rcu_lock_acquire include/linux/rcupdate.h:269 [inline] rcu_read_lock include/linux/rcupdate.h:695 [inline] advance_sched+0x4a5/0x9a0 net/sched/sch_taprio.c:768 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x60 kernel/kcov.c:200 Code: be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 65 8b 05 39 fd 87 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 80 6f 02 00 00 01 ff 00 74 0e 85 c9 74 35 8b 82 a4 15 00 00 85 c0 74 2b 8b RSP: 0018:ffffc900030ffe00 EFLAGS: 00000246 RAX: 0000000080000000 RBX: ffffffff81000000 RCX: 0000000000000000 RDX: ffff88801d858000 RSI: ffffffff813648a9 RDI: ffffffff81000000 RBP: ffff88806d0c9000 R08: 0000000000000006 R09: ffff88806d0c9000 R10: ffffffff81000000 R11: 0000000000000000 R12: ffff88806d0c8020 R13: 0000000000000000 R14: ffffea0001b43200 R15: ffff888000000000 __phys_addr_symbol+0x9/0x70 arch/x86/mm/physaddr.c:37 check_kernel_text_object mm/usercopy.c:137 [inline] __check_object_size mm/usercopy.c:253 [inline] __check_object_size+0x29c/0x700 mm/usercopy.c:212 check_object_size include/linux/thread_info.h:199 [inline] strncpy_from_user+0xaa/0x3c0 lib/strncpy_from_user.c:137 getname_flags.part.0+0x95/0x4f0 fs/namei.c:150 getname_flags+0x9a/0xe0 include/linux/audit.h:323 getname fs/namei.c:218 [inline] __do_sys_rename fs/namei.c:4916 [inline] __se_sys_rename fs/namei.c:4914 [inline] __x64_sys_rename+0x56/0xa0 fs/namei.c:4914 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f71bba934d7 Code: e8 7e 3e 09 00 85 c0 0f 95 c0 0f b6 c0 f7 d8 5d c3 66 90 b8 ff ff ff ff 5d c3 66 0f 1f 84 00 00 00 00 00 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 71 19 16 00 f7 d8 64 89 02 b8 RSP: 002b:00007ffc54c6c6a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f71bba934d7 RDX: 000000000000001c RSI: 00007ffc54c6c6c8 RDI: 00007ffc54c6cac8 RBP: 000055f2b85ae190 R08: 0000000000000007 R09: 000055f2b85aa310 R10: 00000000000001b6 R11: 0000000000000206 R12: 000055f2b85aa310 R13: 00007ffc54c6c6c8 R14: 00007ffc54c6cac8 R15: 000055f2b6be0160 ---------------- Code disassembly (best guess): 0: 3c 18 cmp $0x18,%al 2: 00 0f add %cl,(%rdi) 4: 85 f2 test %esi,%edx 6: 08 00 or %al,(%rax) 8: 00 4d 89 add %cl,-0x77(%rbp) b: ec in (%dx),%al c: 4d 8b 6d 08 mov 0x8(%r13),%r13 10: e9 06 fd ff ff jmpq 0xfffffd1b 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 4c 89 fa mov %r15,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 2a: 0f 85 68 09 00 00 jne 0x998 <-- trapping instruction 30: 4d 85 f6 test %r14,%r14 33: 4d 89 37 mov %r14,(%r15) 36: 0f 84 3e fb ff ff je 0xfffffb7a 3c: 48 rex.W 3d: b8 .byte 0xb8