rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=b914/1/0x4000000000000000 softirq=119222/119223 fqs=6 rcu: (detected by 0, t=10502 jiffies, g=102549, q=360 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 22994 Comm: syz.6.3212 Not tainted 6.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x90 kernel/kcov.c:314 Code: 44 0a 20 e9 a5 de 50 0a 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 4c 8b 04 24 <65> 48 8b 14 25 00 d6 03 00 65 8b 05 70 73 64 7e 25 00 01 ff 00 74 RSP: 0018:ffffc90000a18c68 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff88802d168000 RDX: 0000000000010000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff89cd4681 R09: fffff5200014317c R10: dffffc0000000000 R11: fffff5200014317c R12: 0000000000000000 R13: ffffffff89cd4550 R14: ffff888032bda340 R15: ffff888035a25400 FS: 00007fc8fedc86c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d715ff8 CR3: 000000007b64a000 CR4: 0000000000350ef0 Call Trace: advance_sched+0x131/0xca0 net/sched/sch_taprio.c:927 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59d/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5853 Code: 2b 00 74 08 4c 89 f7 e8 ba 22 8b 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:ffffc9000588eb60 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000b11d78 RCX: ffff88802d168ad8 RDX: dffffc0000000000 RSI: ffffffff8c0aa8c0 RDI: ffffffff8c5f9580 RBP: ffffc9000588eca8 R08: ffffffff96b41faf R09: 1ffffffff2d683f5 R10: dffffc0000000000 R11: fffffbfff2d683f6 R12: 1ffff92000b11d74 R13: dffffc0000000000 R14: ffffc9000588ebc0 R15: 0000000000000246 __mutex_lock_common kernel/locking/mutex.c:585 [inline] __mutex_lock+0x1ac/0xee0 kernel/locking/mutex.c:735 device_add+0x98e/0xbf0 drivers/base/core.c:3681 ib_register_device+0x1056/0x13e0 drivers/infiniband/core/device.c:1439 siw_device_register drivers/infiniband/sw/siw/siw_main.c:72 [inline] siw_newlink+0x9d9/0xe50 drivers/infiniband/sw/siw/siw_main.c:452 nldev_newlink+0x5c2/0x640 drivers/infiniband/core/nldev.c:1795 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x6df/0x9e0 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline] netlink_unicast+0x7f8/0x990 net/netlink/af_netlink.c:1347 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1891 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x223/0x270 net/socket.c:726 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2583 ___sys_sendmsg net/socket.c:2637 [inline] __sys_sendmsg+0x269/0x350 net/socket.c:2669 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:0x7fc8fdf7fed9 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:00007fc8fedc8058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc8fe145fa0 RCX: 00007fc8fdf7fed9 RDX: 0000000000000810 RSI: 0000000020000240 RDI: 0000000000000007 RBP: 00007fc8fdff3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc8fe145fa0 R15: 00007fff2bf55da8 rcu: rcu_preempt kthread starved for 10455 jiffies! g102549 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:25624 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 0 UID: 0 PID: 22995 Comm: syz.6.3212 Not tainted 6.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f8/0x2c60 kernel/smp.c:884 Code: 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 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 e5 e4 0b 00 eb e4 44 RSP: 0018:ffffc900048f7980 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110170e88e9 RCX: 0000000000080000 RDX: ffffc9001117c000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900048f7b80 R08: ffffffff8193792a R09: 1ffffffff2854310 R10: dffffc0000000000 R11: fffffbfff2854311 R12: dffffc0000000000 R13: ffff8880b8744748 R14: ffff8880b863fac0 R15: 0000000000000001 FS: 00007fc8feda76c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa95370cab8 CR3: 000000007b64a000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 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 io_uring_create+0xf2/0xc00 io_uring/io_uring.c:3641 io_uring_setup io_uring/io_uring.c:3806 [inline] __do_sys_io_uring_setup io_uring/io_uring.c:3833 [inline] __se_sys_io_uring_setup+0x2ba/0x330 io_uring/io_uring.c:3827 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:0x7fc8fdf7fed9 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:00007fc8feda6fe8 EFLAGS: 00000202 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 00007fc8fe146080 RCX: 00007fc8fdf7fed9 RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00000000000006a1 RBP: 0000000020000040 R08: 0000000000000000 R09: 0000000020000180 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 00000000200000c0 R14: 00000000000006a1 R15: 0000000020000180