rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=005c/1/0x4000000000000000 softirq=65224/65227 fqs=4 rcu: (detected by 1, t=10505 jiffies, g=85809, q=438 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5063 Comm: syz-executor.1 Not tainted 6.5.0-rc6-syzkaller-00038-g16931859a650 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:__lock_release kernel/locking/lockdep.c:5422 [inline] RIP: 0010:lock_release+0x1cc/0x680 kernel/locking/lockdep.c:5781 Code: 8b 0d 38 cb 44 0d 85 c9 0f 84 c6 01 00 00 4d 8d b7 c0 0a 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e 2f 04 00 00 45 8b af c0 0a 00 00 45 85 ed RSP: 0018:ffffc90000007cb8 EFLAGS: 00000012 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000001 RDX: 1ffff1100276b8c8 RSI: ffffffff8a6c8360 RDI: ffffffff8ac81200 RBP: 1ffff92000000f99 R08: 0000000000000000 R09: fffffbfff1d5743a R10: ffffffff8eaba1d7 R11: 0000000000094000 R12: ffff888019765300 R13: ffff88807afef000 R14: ffff888013b5c640 R15: ffff888013b5bb80 FS: 0000555556c58480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8c78975198 CR3: 0000000032d86000 CR4: 0000000000350ef0 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x60e/0xc60 net/sched/sch_taprio.c:992 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5729 Code: c1 05 d5 6e 9b 7e 83 f8 01 0f 85 b0 02 00 00 9c 58 f6 c4 02 0f 85 9b 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000459f770 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920008b3ef0 RCX: 0000000000000001 RDX: 1ffff1100276b8c8 RSI: ffffffff8a6c83a0 RDI: ffffffff8ac81200 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2309dd1 R10: ffffffff9184ee8f R11: 0000000000094000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8cb07358 R15: 0000000000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] preload_this_cpu_lock mm/vmalloc.c:1572 [inline] alloc_vmap_area+0x1fa/0x2060 mm/vmalloc.c:1614 __get_vm_area_node+0x132/0x3d0 mm/vmalloc.c:2595 __vmalloc_node_range+0x27a/0x1540 mm/vmalloc.c:3276 __vmalloc_node mm/vmalloc.c:3381 [inline] vzalloc+0x6b/0x80 mm/vmalloc.c:3454 alloc_counters net/ipv4/netfilter/arp_tables.c:660 [inline] copy_entries_to_user net/ipv4/netfilter/arp_tables.c:681 [inline] get_entries net/ipv4/netfilter/arp_tables.c:867 [inline] do_arpt_get_ctl+0x654/0x960 net/ipv4/netfilter/arp_tables.c:1453 nf_getsockopt+0x76/0xe0 net/netfilter/nf_sockopt.c:116 ip_getsockopt+0x186/0x1d0 net/ipv4/ip_sockglue.c:1825 tcp_getsockopt+0x97/0xf0 net/ipv4/tcp.c:4304 __sys_getsockopt+0x220/0x6a0 net/socket.c:2307 __do_sys_getsockopt net/socket.c:2322 [inline] __se_sys_getsockopt net/socket.c:2319 [inline] __x64_sys_getsockopt+0xbd/0x150 net/socket.c:2319 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8c7887e68a Code: c4 c1 e0 1a 0d 00 00 04 00 89 01 e9 e0 fe ff ff e8 3b 05 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 RSP: 002b:00007ffcbc9c7c48 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f8c7887e68a RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffcbc9c7cb0 R08: 00007ffcbc9c7c5c R09: 00007ffcbc9c8047 R10: 00007ffcbc9c7cb0 R11: 0000000000000212 R12: 00007ffcbc9c7c5c R13: 00000000000d659c R14: 00000000000d657f R15: 0000000000000002 rcu: rcu_preempt kthread starved for 10485 jiffies! g85809 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:28616 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1808 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 21228 Comm: syz-executor.2 Not tainted 6.5.0-rc6-syzkaller-00038-g16931859a650 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x4db/0x1570 kernel/smp.c:835 Code: 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 1c 5f 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc900152f7690 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880b9844fe0 RCX: ffffc9000b661000 RDX: 0000000000040000 RSI: ffffffff817aa984 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10173089fd R13: 0000000000000001 R14: ffff8880b993d580 R15: ffff8880b9844fe8 FS: 00007fdc6730e6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00124d520 CR3: 0000000028f60000 CR4: 0000000000350ee0 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1003 invalidate_bdev+0x9b/0xd0 block/bdev.c:85 btrfs_get_bdev_and_sb+0xd5/0x270 fs/btrfs/volumes.c:533 btrfs_open_one_device fs/btrfs/volumes.c:626 [inline] open_fs_devices+0x6dc/0x1030 fs/btrfs/volumes.c:1230 btrfs_open_devices+0x11c/0x150 fs/btrfs/volumes.c:1286 btrfs_mount_root+0x5af/0xdd0 fs/btrfs/super.c:1491 legacy_get_tree+0x109/0x220 fs/fs_context.c:611 vfs_get_tree+0x88/0x350 fs/super.c:1519 fc_mount fs/namespace.c:1112 [inline] vfs_kern_mount.part.0+0xcb/0x170 fs/namespace.c:1142 vfs_kern_mount+0x3f/0x60 fs/namespace.c:1129 btrfs_mount+0x292/0xb10 fs/btrfs/super.c:1579 legacy_get_tree+0x109/0x220 fs/fs_context.c:611 vfs_get_tree+0x88/0x350 fs/super.c:1519 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdc6667e1ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdc6730dee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fdc6730df80 RCX: 00007fdc6667e1ea RDX: 0000000020005100 RSI: 0000000020005140 RDI: 00007fdc6730df40 RBP: 0000000020005100 R08: 00007fdc6730df80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020005140 R13: 00007fdc6730df40 R14: 00000000000050ef R15: 0000000020001180