rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=92a4/1/0x4000000000000000 softirq=41592/41595 fqs=3 rcu: (detected by 1, t=10505 jiffies, g=60953, q=120 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13641 Comm: syz-executor.5 Not tainted 6.6.0-rc3-syzkaller-00146-g9f3ebbef746f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:kasan_check_range+0x1ba/0x290 mm/kasan/generic.c:187 Code: fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a2 00 00 00 49 ff c3 48 ff cd 75 ee 5b 41 5c <41> 5e 41 5f 5d c3 40 84 ed 75 5f f7 c5 00 ff 00 00 75 5c f7 c5 00 RSP: 0018:ffffc90000007c10 EFLAGS: 00000056 RAX: 1ffff1100f125301 RBX: ffff888022dcc2e0 RCX: ffffffff88eb051c RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888022dcc2e0 RBP: 0000000000000000 R08: ffff888022dcc2e7 R09: 1ffff110045b985c R10: dffffc0000000000 R11: ffffed10045b985d R12: 0000000000000000 R13: ffff888078929800 R14: dffffc0000000001 R15: ffffed10045b985d FS: 00007f7b10d076c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7b10198000 CR3: 0000000076b08000 CR4: 00000000003506f0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic64_read include/linux/atomic/atomic-instrumented.h:1596 [inline] taprio_set_budgets+0x1bc/0x360 net/sched/sch_taprio.c:681 advance_sched+0x993/0xcb0 net/sched/sch_taprio.c:988 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x104/0x390 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 9e 96 10 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 e3 89 88 f6 65 8b 05 e4 d2 2b 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90004587b40 EFLAGS: 00000206 RAX: 2bed34657b473000 RBX: 1ffff920008b0f6c RCX: ffffffff816dbfea RDX: dffffc0000000000 RSI: ffffffff8b0aa420 RDI: 0000000000000001 RBP: ffffc90004587bd0 R08: ffffffff906fb387 R09: 1ffffffff20df670 R10: dffffc0000000000 R11: fffffbfff20df671 R12: dffffc0000000000 R13: 1ffff920008b0f68 R14: ffffc90004587b60 R15: 0000000000000246 clock_was_set+0x6a1/0x830 kernel/time/hrtimer.c:972 do_settimeofday64+0x677/0x7e0 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1129 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1113 [inline] __x64_sys_clock_settime+0x236/0x270 kernel/time/posix-timers.c:1113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7b1007cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7b10d070c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f7b1019bf80 RCX: 00007f7b1007cae9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000000 RBP: 00007f7b100c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7b1019bf80 R15: 00007ffc0715c908 rcu: rcu_preempt kthread starved for 10490 jiffies! g60953 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:25672 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1613 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1812 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 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: 13618 Comm: syz-executor.3 Not tainted 6.6.0-rc3-syzkaller-00146-g9f3ebbef746f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline] RIP: 0010:smp_call_function_many_cond+0x1805/0x2890 kernel/smp.c:844 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 34 59 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 6f 55 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 53 55 RSP: 0018:ffffc900036074e0 EFLAGS: 00000246 RAX: ffffffff8182b51d RBX: 1ffff110173087b9 RCX: 0000000000040000 RDX: ffffc9000a6ec000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900036076d8 R08: ffffffff8182b4ec R09: 1ffffffff20df69a R10: dffffc0000000000 R11: fffffbfff20df69b R12: dffffc0000000000 R13: ffff8880b9843dc8 R14: ffff8880b993d440 R15: 0000000000000000 FS: 00007fa6f03e06c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa6ef6d7086 CR3: 000000007c2e3000 CR4: 00000000003506e0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1012 invalidate_bdev+0x8e/0xc0 block/bdev.c:85 btrfs_get_bdev_and_sb+0x111/0x190 fs/btrfs/volumes.c:533 btrfs_open_one_device fs/btrfs/volumes.c:626 [inline] open_fs_devices+0x277/0x1160 fs/btrfs/volumes.c:1232 btrfs_mount_root+0x50d/0x910 fs/btrfs/super.c:1497 legacy_get_tree+0xef/0x190 fs/fs_context.c:638 vfs_get_tree+0x8c/0x280 fs/super.c:1750 fc_mount fs/namespace.c:1112 [inline] vfs_kern_mount+0xbc/0x150 fs/namespace.c:1142 btrfs_mount+0x39f/0xb50 fs/btrfs/super.c:1585 legacy_get_tree+0xef/0x190 fs/fs_context.c:638 vfs_get_tree+0x8c/0x280 fs/super.c:1750 do_new_mount+0x28f/0xae0 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa6ef67e1ea 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:00007fa6f03dfee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa6f03dff80 RCX: 00007fa6ef67e1ea RDX: 00000000200055c0 RSI: 0000000020005600 RDI: 00007fa6f03dff40 RBP: 00000000200055c0 R08: 00007fa6f03dff80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020005600 R13: 00007fa6f03dff40 R14: 000000000000559d R15: 0000000020000440