rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P9573/1:b..l P11478/1:b..l P9578/1:b..l rcu: (detected by 1, t=10502 jiffies, g=30153, q=701 ncpus=2) task:syz-executor state:R running task stack:20544 pid:9578 tgid:9578 ppid:9565 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] copy_pte_range mm/memory.c:1200 [inline] copy_pmd_range+0x6dc8/0x77a0 mm/memory.c:1261 copy_pud_range mm/memory.c:1298 [inline] copy_p4d_range mm/memory.c:1322 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1420 dup_mmap kernel/fork.c:748 [inline] dup_mm kernel/fork.c:1691 [inline] copy_mm+0x1126/0x1fd0 kernel/fork.c:1743 copy_process+0x1845/0x3d50 kernel/fork.c:2394 kernel_clone+0x226/0x8e0 kernel/fork.c:2806 __do_sys_clone kernel/fork.c:2949 [inline] __se_sys_clone kernel/fork.c:2933 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2933 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:0x7feed317c593 RSP: 002b:00007ffddccbd9b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007feed317c593 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 0000555561e257d0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000048b87 R14: 00007ffddccbdb40 R15: 000000000000005c task:syz.2.2011 state:R running task stack:23392 pid:11478 tgid:11477 ppid:9569 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irq+0x44/0x50 kernel/locking/spinlock.c:202 spin_unlock_irq include/linux/spinlock.h:401 [inline] loop_queue_work drivers/block/loop.c:894 [inline] loop_queue_rq+0xa01/0xaf0 drivers/block/loop.c:1876 __blk_mq_issue_directly block/blk-mq.c:2687 [inline] blk_mq_request_issue_directly+0x354/0x6a0 block/blk-mq.c:2774 blk_mq_plug_issue_direct+0x2ec/0x670 block/blk-mq.c:2795 blk_mq_flush_plug_list+0x838/0x1870 block/blk-mq.c:2906 __blk_flush_plug+0x420/0x500 block/blk-core.c:1213 blk_finish_plug block/blk-core.c:1240 [inline] __submit_bio+0x46a/0x560 block/blk-core.c:637 __submit_bio_noacct_mq block/blk-core.c:710 [inline] submit_bio_noacct_nocheck+0x4d3/0xe30 block/blk-core.c:739 submit_bio_wait+0x106/0x200 block/bio.c:1391 read_one_super+0x1b3/0xf40 fs/bcachefs/super-io.c:644 __bch2_read_super+0x87c/0x1380 fs/bcachefs/super-io.c:763 bch2_fs_open+0x270/0x2f80 fs/bcachefs/super.c:2033 bch2_fs_get_tree+0x738/0x1710 fs/bcachefs/fs.c:2157 vfs_get_tree+0x92/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3511 do_mount fs/namespace.c:3851 [inline] __do_sys_mount fs/namespace.c:4061 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4038 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:0x7f2dcd5874ca RSP: 002b:00007f2dce3a9e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f2dce3a9ef0 RCX: 00007f2dcd5874ca RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 00007f2dce3a9eb0 RBP: 00000000200000c0 R08: 00007f2dce3a9ef0 R09: 0000000000800800 R10: 0000000000800800 R11: 0000000000000246 R12: 0000000020000100 R13: 00007f2dce3a9eb0 R14: 0000000000005963 R15: 0000000020000040 task:syz-executor state:R running task stack:19920 pid:9573 tgid:9573 ppid:9560 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] copy_pte_range mm/memory.c:1200 [inline] copy_pmd_range+0x6dc8/0x77a0 mm/memory.c:1261 copy_pud_range mm/memory.c:1298 [inline] copy_p4d_range mm/memory.c:1322 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1420 dup_mmap kernel/fork.c:748 [inline] dup_mm kernel/fork.c:1691 [inline] copy_mm+0x1126/0x1fd0 kernel/fork.c:1743 copy_process+0x1845/0x3d50 kernel/fork.c:2394 kernel_clone+0x226/0x8e0 kernel/fork.c:2806 __do_sys_clone kernel/fork.c:2949 [inline] __se_sys_clone kernel/fork.c:2933 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2933 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:0x7fc0c917c593 RSP: 002b:00007fff807ad0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc0c917c593 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 00005555611ce7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000048b2c R14: 00007fff807ad280 R15: 000000000000006f rcu: rcu_preempt kthread starved for 10553 jiffies! g30153 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:25976 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 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_test_bit include/linux/thread_info.h:192 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:208 [inline] RIP: 0010:need_resched include/linux/sched.h:2134 [inline] RIP: 0010:__schedule_loop kernel/sched/core.c:6835 [inline] RIP: 0010:schedule+0x15a/0x320 kernel/sched/core.c:6848 Code: 48 f7 45 00 08 00 00 00 74 2c bf 01 00 00 00 e8 fc 5b a3 f5 31 ff e8 75 b2 ff ff bf 01 00 00 00 e8 8b 5d a3 f5 42 80 3c 23 00 <74> d4 48 89 ef e8 fc b6 3b f6 eb ca 4c 8d 75 2c 4d 89 f5 49 c1 ed RSP: 0018:ffffc90000167b68 EFLAGS: 00000246 RAX: 0000000080000001 RBX: 1ffff110039da000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: 0000000000000001 RBP: ffff88801ced0000 R08: ffffffff90198477 R09: 1ffffffff203308e R10: dffffc0000000000 R11: fffffbfff203308f R12: dffffc0000000000 R13: 1ffff9200002cf74 R14: ffffffff8bca3540 R15: ffff88801ced1278 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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5893 Comm: kworker/0:7 Not tainted 6.13.0-rc7-syzkaller-00149-g9bffa1ad25b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_power_efficient neigh_periodic_work RIP: 0010:__kasan_check_read+0xa/0x20 mm/kasan/shadow.c:31 Code: db eb d0 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 89 f6 48 8b 0c 24 <31> d2 e9 6f e6 ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 RSP: 0018:ffffc90000007560 EFLAGS: 00000017 RAX: 000000000000001b RBX: 00000000000006ef RCX: ffffffff817b387a RDX: 0000000000000004 RSI: 0000000000000008 RDI: ffffffff942a5958 RBP: 0000000000000004 R08: ffffffff942a58ff R09: 1ffffffff2854b1f R10: dffffc0000000000 R11: fffffbfff2854b20 R12: ffff8880319ee4c4 R13: dffffc0000000000 R14: 0000000000000010 R15: ffff8880319ee558 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb0badc7440 CR3: 000000000e736000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] mark_lock+0x9a/0x360 kernel/locking/lockdep.c:4727 __lock_acquire+0xc02/0x2100 kernel/locking/lockdep.c:5180 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __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] kcov_remote_stop+0x2a9/0x6e0 kernel/kcov.c:1040 kcov_remote_stop_softirq include/linux/kcov.h:98 [inline] __usb_hcd_giveback_urb+0x460/0x6e0 drivers/usb/core/hcd.c:1651 dummy_timer+0x856/0x4620 drivers/usb/gadget/udc/dummy_hcd.c:1993 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59d/0xd30 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:__local_bh_enable_ip+0x170/0x200 kernel/softirq.c:396 Code: 8c e8 d4 63 67 0a 65 66 8b 05 b4 00 a2 7e 66 85 c0 75 5d bf 01 00 00 00 e8 0d be 0b 00 e8 68 67 45 00 fb 65 8b 05 78 00 a2 7e <85> c0 75 05 e8 f7 81 a8 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c RSP: 0018:ffffc90004dafa80 EFLAGS: 00000282 RAX: 0000000080000000 RBX: 1ffff920009b5f54 RCX: ffffffff817b387a RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: ffffffff8c5fb220 RBP: ffffc90004dafb28 R08: ffffffff942a5947 R09: 1ffffffff2854b28 R10: dffffc0000000000 R11: fffffbfff2854b29 R12: dffffc0000000000 R13: 1ffff920009b5f58 R14: ffffc90004dafac0 R15: 0000000000000201 neigh_periodic_work+0xbcb/0xde0 net/core/neighbour.c:968 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 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