rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 ticks this GP) idle=e02c/1/0x4000000000000000 softirq=39796/39796 fqs=22 rcu: (detected by 1, t=10503 jiffies, g=54813, q=475 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10888 Comm: syz-executor.2 Not tainted 6.9.0-rc6-syzkaller-00234-g7367539ad4b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:srso_alias_safe_ret+0x0/0x7 arch/x86/lib/retpoline.S:171 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <48> 8d 64 24 08 c3 cc e8 f4 ff ff ff 0f 0b cc cc cc cc cc cc cc cc RSP: 0018:ffffc90000007c10 EFLAGS: 00000056 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff8173f3b8 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88802e8a02e8 RBP: 17d1f0ec98000000 R08: ffff88802e8a02eb R09: 1ffff11005d1405d R10: dffffc0000000000 R11: ffffed1005d1405e R12: dffffc0000000000 R13: 17d1f0ec94000000 R14: ffff88802b8aa000 R15: ffff88802e8a02e8 FS: 00007f394c64b6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d129000 CR3: 000000002a88a000 CR4: 0000000000350ef0 Call Trace: srso_alias_return_thunk+0x5/0xfbef5 arch/x86/lib/retpoline.S:181 instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] queued_spin_is_locked include/asm-generic/qspinlock.h:57 [inline] debug_spin_unlock kernel/locking/spinlock_debug.c:101 [inline] do_raw_spin_unlock+0x58/0x8b0 kernel/locking/spinlock_debug.c:141 __raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_unlock+0x1e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x9b4/0xca0 net/sched/sch_taprio.c:981 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x5a7/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0xaad/0xfd0 kernel/printk/printk.c:2985 Code: ff ff e8 a6 94 1f 00 90 0f 0b 90 e9 d8 f8 ff ff e8 98 94 1f 00 e8 d3 f1 09 0a 4d 85 f6 74 b6 e8 89 94 1f 00 fb 48 8b 44 24 70 <42> 0f b6 04 38 84 c0 48 8b 7c 24 30 0f 85 22 02 00 00 0f b6 1f 31 RSP: 0018:ffffc90003167220 EFLAGS: 00000287 RAX: 1ffff9200062ce90 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90015603000 RSI: 00000000000243bd RDI: 00000000000243be RBP: ffffc900031673d0 R08: ffffffff81767bd4 R09: 1ffffffff25e6aa0 R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: ffffffff8eb15958 R13: ffffffff8eb15900 R14: 0000000000000200 R15: dffffc0000000000 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3048 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2348 _printk+0xd5/0x120 kernel/printk/printk.c:2373 f2fs_printk+0x3e1/0x470 __get_nat_bitmaps fs/f2fs/node.c:3191 [inline] init_node_manager fs/f2fs/node.c:3273 [inline] f2fs_build_node_manager+0xf5d/0x2870 fs/f2fs/node.c:3329 f2fs_fill_super+0x583c/0x8120 fs/f2fs/super.c:4540 mount_bdev+0x20c/0x2d0 fs/super.c:1658 legacy_get_tree+0xf0/0x190 fs/fs_context.c:662 vfs_get_tree+0x92/0x2a0 fs/super.c:1779 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f394b87f3aa 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:00007f394c64aef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f394c64af80 RCX: 00007f394b87f3aa RDX: 0000000020000040 RSI: 0000000020000680 RDI: 00007f394c64af40 RBP: 0000000020000040 R08: 00007f394c64af80 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000202 R12: 0000000020000680 R13: 00007f394c64af40 R14: 0000000000005504 R15: 00000000200007c0 rcu: rcu_preempt kthread starved for 10395 jiffies! g54813 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:25168 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f2/0x390 kernel/kthread.c:388 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: 1 PID: 10906 Comm: syz-executor.5 Not tainted 6.9.0-rc6-syzkaller-00234-g7367539ad4b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1899/0x2a00 kernel/smp.c:855 Code: 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 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 a4 d6 0b 00 eb e4 44 RSP: 0018:ffffc900047dfa60 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff11017288c6d RCX: 0000000000040000 RDX: ffffc9001135b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900047dfc50 R08: ffffffff818a39eb R09: 1ffffffff25e6aab R10: dffffc0000000000 R11: fffffbfff25e6aac R12: dffffc0000000000 R13: ffff8880b9446368 R14: ffff8880b953f7c0 R15: 0000000000000000 FS: 00007f354ddf26c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00266acd8 CR3: 000000007c104000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 kill_bdev block/bdev.c:84 [inline] blkdev_flush_mapping+0x14c/0x2b0 block/bdev.c:644 blkdev_put_whole block/bdev.c:651 [inline] bdev_release+0x489/0x720 block/bdev.c:1075 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x42b/0x8a0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f354d07f3aa 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:00007f354ddf1ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffea RBX: 00007f354ddf1f80 RCX: 00007f354d07f3aa RDX: 0000000020000040 RSI: 0000000020000140 RDI: 00007f354ddf1f40 RBP: 0000000020000040 R08: 00007f354ddf1f80 R09: 0000000000000400 R10: 0000000000000400 R11: 0000000000000202 R12: 0000000020000140 R13: 00007f354ddf1f40 R14: 0000000000005ed0 R15: 0000000020000800 watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [syz-executor.5:10906] Modules linked in: irq event stamp: 682456 hardirqs last enabled at (682455): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (682456): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1043 softirqs last enabled at (682454): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (682454): [] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 softirqs last disabled at (682407): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (682407): [] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 CPU: 1 PID: 10906 Comm: syz-executor.5 Not tainted 6.9.0-rc6-syzkaller-00234-g7367539ad4b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 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 a4 d6 RSP: 0018:ffffc900047dfa60 EFLAGS: 00000246 RAX: ffffffff818a3a1c RBX: 1ffff11017288c6d RCX: 0000000000040000 RDX: ffffc9001135b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900047dfc50 R08: ffffffff818a39eb R09: 1ffffffff25e6aab R10: dffffc0000000000 R11: fffffbfff25e6aac R12: dffffc0000000000 R13: ffff8880b9446368 R14: ffff8880b953f7c0 R15: 0000000000000000 FS: 00007f354ddf26c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00266acd8 CR3: 000000007c104000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 kill_bdev block/bdev.c:84 [inline] blkdev_flush_mapping+0x14c/0x2b0 block/bdev.c:644 blkdev_put_whole block/bdev.c:651 [inline] bdev_release+0x489/0x720 block/bdev.c:1075 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x42b/0x8a0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f354d07f3aa 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:00007f354ddf1ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffea RBX: 00007f354ddf1f80 RCX: 00007f354d07f3aa RDX: 0000000020000040 RSI: 0000000020000140 RDI: 00007f354ddf1f40 RBP: 0000000020000040 R08: 00007f354ddf1f80 R09: 0000000000000400 R10: 0000000000000400 R11: 0000000000000202 R12: 0000000020000140 R13: 00007f354ddf1f40 R14: 0000000000005ed0 R15: 0000000020000800 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10888 Comm: syz-executor.2 Not tainted 6.9.0-rc6-syzkaller-00234-g7367539ad4b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lock_acquire+0x1f1/0x550 kernel/locking/lockdep.c:5756 Code: 7c 24 20 44 89 f6 8b 54 24 1c 48 8b 4c 24 30 4c 8b 44 24 38 6a 00 6a 00 6a 00 ff 75 10 ff 74 24 48 e8 c3 04 00 00 48 83 c4 28 <48> c7 c7 20 ca ca 8b e8 f3 fd 0d 0a b8 ff ff ff ff 65 0f c1 05 c6 RSP: 0018:ffffc90000007b20 EFLAGS: 00000092 RAX: 0000000000000001 RBX: ffffc90000007b80 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff92f356c8 RBP: ffffc90000007c68 R08: ffffffff92f356cf R09: 1ffffffff25e6ad9 R10: dffffc0000000000 R11: fffffbfff25e6ada R12: 1ffff92000000f6c R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000046 FS: 00007f394c64b6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d129000 CR3: 000000002a88a000 CR4: 0000000000350ef0 Call Trace: __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] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x5a7/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0xaad/0xfd0 kernel/printk/printk.c:2985 Code: ff ff e8 a6 94 1f 00 90 0f 0b 90 e9 d8 f8 ff ff e8 98 94 1f 00 e8 d3 f1 09 0a 4d 85 f6 74 b6 e8 89 94 1f 00 fb 48 8b 44 24 70 <42> 0f b6 04 38 84 c0 48 8b 7c 24 30 0f 85 22 02 00 00 0f b6 1f 31 RSP: 0018:ffffc90003167220 EFLAGS: 00000287 RAX: 1ffff9200062ce90 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90015603000 RSI: 00000000000243bd RDI: 00000000000243be RBP: ffffc900031673d0 R08: ffffffff81767bd4 R09: 1ffffffff25e6aa0 R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: ffffffff8eb15958 R13: ffffffff8eb15900 R14: 0000000000000200 R15: dffffc0000000000 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3048 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2348 _printk+0xd5/0x120 kernel/printk/printk.c:2373 f2fs_printk+0x3e1/0x470 __get_nat_bitmaps fs/f2fs/node.c:3191 [inline] init_node_manager fs/f2fs/node.c:3273 [inline] f2fs_build_node_manager+0xf5d/0x2870 fs/f2fs/node.c:3329 f2fs_fill_super+0x583c/0x8120 fs/f2fs/super.c:4540 mount_bdev+0x20c/0x2d0 fs/super.c:1658 legacy_get_tree+0xf0/0x190 fs/fs_context.c:662 vfs_get_tree+0x92/0x2a0 fs/super.c:1779 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f394b87f3aa 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:00007f394c64aef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f394c64af80 RCX: 00007f394b87f3aa RDX: 0000000020000040 RSI: 0000000020000680 RDI: 00007f394c64af40 RBP: 0000000020000040 R08: 00007f394c64af80 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000202 R12: 0000000020000680 R13: 00007f394c64af40 R14: 0000000000005504 R15: 00000000200007c0