rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=fc54/1/0x4000000000000000 softirq=78432/78433 fqs=14 rcu: (detected by 0, t=10502 jiffies, g=110305, q=36 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18277 Comm: syz-executor.5 Not tainted 6.3.0-rc3-next-20230322-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:lock_release+0x27/0x670 kernel/locking/lockdep.c:5699 Code: fd ff ff f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 41 57 41 56 41 55 41 54 49 89 fc 55 53 48 81 ec 90 00 00 00 48 8d 6c 24 10 <48> 89 74 24 08 48 c7 44 24 10 b3 8a b5 41 48 c1 ed 03 48 c7 44 24 RSP: 0018:ffffc900001e0cb8 EFLAGS: 00000086 RAX: dffffc0000000000 RBX: ffff888030194340 RCX: 0000000000000000 RDX: 1ffff11006032865 RSI: ffffffff883968c4 RDI: ffff888030194300 RBP: ffffc900001e0cc8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888030194300 R13: 0000000000000000 R14: ffff88802a2d6d10 R15: ffff888067c89800 FS: 00007f134a9bf700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4123c6b718 CR3: 0000000021648000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:390 [inline] advance_sched+0x674/0xd20 net/sched/sch_taprio.c:984 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x599/0xa30 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire.part.0+0x156/0x370 kernel/locking/lockdep.c:5656 Code: b8 ff ff ff ff 65 0f c1 05 e7 c5 9d 7e 83 f8 01 0f 85 c7 01 00 00 9c 58 f6 c4 02 0f 85 da 01 00 00 48 85 ed 0f 85 ad 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffffc9000317f9a0 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff9200062ff35 RCX: ffffffff816469d6 RDX: 1ffff1100327e146 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000200 R08: 0000000000000000 R09: ffffffff914f4c07 R10: fffffbfff229e980 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880179d1198 __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:350 [inline] follow_page_pte+0x158/0x1d70 mm/gup.c:550 follow_pmd_mask mm/gup.c:703 [inline] follow_pud_mask mm/gup.c:734 [inline] follow_p4d_mask mm/gup.c:751 [inline] follow_page_mask+0x3c9/0x10a0 mm/gup.c:808 __get_user_pages+0x3c3/0xf30 mm/gup.c:1145 populate_vma_page_range+0x2df/0x420 mm/gup.c:1543 __mm_populate+0x105/0x3b0 mm/gup.c:1652 mm_populate include/linux/mm.h:3203 [inline] vm_mmap_pgoff+0x2c6/0x3b0 mm/util.c:548 ksys_mmap_pgoff+0x7d/0x5a0 mm/mmap.c:1484 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1349c8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f134a9bf168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f1349dabf80 RCX: 00007f1349c8c0f9 RDX: 0000000003000006 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f1349ce7b39 R08: ffffffffffffffff R09: 0000000000000000 R10: 0800000000009031 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff6f1f88cf R14: 00007f134a9bf300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10473 jiffies! g110305 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:28384 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x1d23/0x5650 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x33e/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 18276 Comm: syz-executor.4 Not tainted 6.3.0-rc3-next-20230322-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x54/0x70 kernel/kcov.c:213 Code: 35 8b 82 64 15 00 00 85 c0 74 2b 8b 82 40 15 00 00 83 f8 02 75 20 48 8b 8a 48 15 00 00 8b 92 44 15 00 00 48 8b 01 48 83 c0 01 <48> 39 c2 76 07 48 89 01 48 89 34 c1 c3 66 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc9000312f6b0 EFLAGS: 00000216 RAX: 0000000000040000 RBX: ffff8880b9943160 RCX: ffffc9000d60b000 RDX: 0000000000040000 RSI: ffffffff8177aea3 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed101732862d R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f03c00ac700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f03c00ad000 CR3: 00000000216a7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] csd_lock_wait kernel/smp.c:265 [inline] smp_call_function_many_cond+0x603/0x1130 kernel/smp.c:779 on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:947 invalidate_bdev+0x95/0xd0 block/bdev.c:85 btrfs_get_bdev_and_sb+0xd3/0x260 fs/btrfs/volumes.c:513 btrfs_open_one_device fs/btrfs/volumes.c:606 [inline] open_fs_devices+0x6b7/0xf20 fs/btrfs/volumes.c:1222 btrfs_open_devices+0x11f/0x150 fs/btrfs/volumes.c:1278 btrfs_mount_root+0x53c/0xdb0 fs/btrfs/super.c:1491 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1510 fc_mount fs/namespace.c:1035 [inline] vfs_kern_mount.part.0+0xd3/0x170 fs/namespace.c:1065 vfs_kern_mount+0x40/0x60 fs/namespace.c:1052 btrfs_mount+0x23f/0xb20 fs/btrfs/super.c:1581 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1510 do_new_mount fs/namespace.c:3039 [inline] path_mount+0x134b/0x1e40 fs/namespace.c:3369 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f03bf28d62a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f03c00abf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000051ab RCX: 00007f03bf28d62a RDX: 00000000200051c0 RSI: 0000000020005200 RDI: 00007f03c00abfe0 RBP: 00007f03c00ac020 R08: 00007f03c00ac020 R09: 0000000001000008 R10: 0000000001000008 R11: 0000000000000202 R12: 00000000200051c0 R13: 0000000020005200 R14: 00007f03c00abfe0 R15: 0000000020000280