rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=2fc4/1/0x4000000000000000 softirq=52417/52418 fqs=71 rcu: (detected by 0, t=10502 jiffies, g=44593, q=619 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 12484 Comm: syz.0.1651 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_preemption_disabled+0x19/0x120 lib/smp_processor_id.c:14 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 <65> 8b 1d 0c ee 3a 74 65 8b 05 01 ee 3a 74 a9 ff ff ff 7f 74 26 65 RSP: 0018:ffffc90000a18bf0 EFLAGS: 00000086 RAX: 165e167bc0f03a00 RBX: 0000000000000001 RCX: ffff888026401e00 RDX: ffff888026401e00 RSI: ffffffff8c0aaae0 RDI: ffffffff8c5fb0e0 RBP: 0000000000000002 R08: ffffffff89cdd08b R09: fffff5200014317c R10: dffffc0000000000 R11: fffff5200014317c R12: 0000000000000046 R13: ffff888026401e00 R14: 00000000ffffffff R15: ffff88805b401300 FS: 00007f8831df66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa4a0f77bac CR3: 000000005170a000 CR4: 0000000000350ef0 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] lock_is_held_type+0x101/0x190 kernel/locking/lockdep.c:5922 lock_is_held include/linux/lockdep.h:249 [inline] advance_sched+0xcd/0xca0 net/sched/sch_taprio.c:925 __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 6a 2b 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:ffffc90003646720 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920006c8cf0 RCX: ffff8880264028d8 RDX: dffffc0000000000 RSI: ffffffff8c0aaae0 RDI: ffffffff8c5fb0e0 RBP: ffffc90003646870 R08: ffffffff942a48ff R09: 1ffffffff285491f R10: dffffc0000000000 R11: fffffbfff2854920 R12: 1ffff920006c8cec R13: dffffc0000000000 R14: ffffc90003646780 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock_bh include/linux/rcupdate.h:903 [inline] hash_ipport4_add+0xaa/0x2440 net/netfilter/ipset/ip_set_hash_gen.h:852 hash_ipport4_uadt+0xb2f/0xfa0 net/netfilter/ipset/ip_set_hash_ipport.c:199 call_ad+0x27b/0xa70 net/netfilter/ipset/ip_set_core.c:1751 ip_set_ad+0x7e0/0x990 net/netfilter/ipset/ip_set_core.c:1841 nfnetlink_rcv_msg+0xbee/0x1180 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x1e5/0x430 net/netlink/af_netlink.c:2542 nfnetlink_rcv+0x297/0x2ab0 net/netfilter/nfnetlink.c:667 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:0x7f8833f85d29 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:00007f8831df6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f8834175fa0 RCX: 00007f8833f85d29 RDX: 0000000000000080 RSI: 00000000200002c0 RDI: 0000000000000003 RBP: 00007f8834001b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8834175fa0 R15: 00007ffe5caef178 rcu: rcu_preempt kthread starved for 10360 jiffies! g44593 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:26264 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: 12562 Comm: syz.3.1680 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #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:ffffc900051475e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110170e88e9 RCX: 0000000000080000 RDX: ffffc9000ce39000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900051477d0 R08: ffffffff81939f0a R09: 1ffffffff285493a R10: dffffc0000000000 R11: fffffbfff285493b R12: dffffc0000000000 R13: ffff8880b8744748 R14: ffff8880b863fac0 R15: 0000000000000001 FS: 00007f12b5fa46c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12b5168800 CR3: 00000000683d8000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 invalidate_bdev+0x71/0xa0 block/bdev.c:100 btrfs_get_bdev_and_sb+0x10e/0x1f0 fs/btrfs/volumes.c:494 btrfs_open_one_device fs/btrfs/volumes.c:659 [inline] open_fs_devices+0x2ae/0x12a0 fs/btrfs/volumes.c:1307 btrfs_get_tree_super fs/btrfs/super.c:1857 [inline] btrfs_get_tree+0x552/0x1a30 fs/btrfs/super.c:2093 vfs_get_tree+0x92/0x2b0 fs/super.c:1814 fc_mount+0x1b/0xb0 fs/namespace.c:1231 btrfs_get_tree_subvol fs/btrfs/super.c:2051 [inline] btrfs_get_tree+0x6b1/0x1a30 fs/btrfs/super.c:2094 vfs_get_tree+0x92/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 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:0x7f12b51874ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f12b5fa3e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f12b5fa3ef0 RCX: 00007f12b51874ca RDX: 00000000200055c0 RSI: 0000000020000000 RDI: 00007f12b5fa3eb0 RBP: 00000000200055c0 R08: 00007f12b5fa3ef0 R09: 000000000300000a R10: 000000000300000a R11: 0000000000000246 R12: 0000000020000000 R13: 00007f12b5fa3eb0 R14: 00000000000055a3 R15: 00000000200002c0 vkms_vblank_simulate: vblank timer overrun