rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=f8e4/1/0x4000000000000000 softirq=116480/116481 fqs=41 rcu: (detected by 1, t=10506 jiffies, g=99297, q=2399 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 19767 Comm: syz.6.2441 Not tainted 6.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x17/0xb0 kernel/rcu/tree.c:737 Code: 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 65 ff 05 78 dc 7e 7e e8 8b 2d 43 0a 89 c3 <83> f8 08 73 7a 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 90 2a 2e RSP: 0018:ffffc90000007ae0 EFLAGS: 00000086 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff817a9984 RDX: 0000000000000000 RSI: ffffffff8c5f9560 RDI: ffffffff8c5f9520 RBP: ffffc90000007c58 R08: ffffffff90196577 R09: 1ffffffff2032cae R10: dffffc0000000000 R11: fffffbfff2032caf R12: 1ffff92000000f68 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88806fbf3360 FS: 0000555574cff500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f965efb4d58 CR3: 00000000621ae000 CR4: 0000000000350ef0 Call Trace: trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xe3/0x550 kernel/locking/lockdep.c:5820 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] advance_sched+0xa1e/0xca0 net/sched/sch_taprio.c:985 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59d/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x112/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sched_fork+0x190/0x470 kernel/sched/core.c:4499 Code: 89 d8 48 c1 e8 03 80 3c 28 00 74 08 48 89 df e8 e6 4d 97 00 48 c7 03 00 00 00 00 48 c7 c0 80 c5 7f 8e 48 c1 e8 03 0f b6 04 28 <84> c0 0f 85 26 02 00 00 8b 1d a2 54 11 0d 49 8d bd a0 01 00 00 48 RSP: 0018:ffffc900055b7960 EFLAGS: 00000212 RAX: 0000000000000004 RBX: ffff8880352f5b90 RCX: 0000000000000000 RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffff8880352f5b88 RBP: dffffc0000000000 R08: ffff8880352f5bef R09: ffff8880352f5bc8 R10: dffffc0000000000 R11: ffffed1006a5eb7e R12: ffff8880352f5ad8 R13: ffff8880352f5a00 R14: 00000000003d0f00 R15: ffff8880352f5b80 sched_fork+0x24/0x630 kernel/sched/core.c:4709 copy_process+0x155a/0x3d50 kernel/fork.c:2365 kernel_clone+0x226/0x8e0 kernel/fork.c:2807 __do_sys_clone3 kernel/fork.c:3111 [inline] __se_sys_clone3+0x2d8/0x360 kernel/fork.c:3090 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:0x7f96611b4729 Code: 71 07 00 48 8d 3d 1c 71 07 00 e8 32 29 f6 ff 66 90 b8 ea ff ff ff 48 85 ff 74 2c 48 85 d2 74 27 49 89 c8 b8 b3 01 00 00 0f 05 <48> 85 c0 7c 18 74 01 c3 31 ed 48 83 e4 f0 4c 89 c7 ff d2 48 89 c7 RSP: 002b:00007ffe745a6258 EFLAGS: 00000206 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f9661136b60 RCX: 00007f96611b4729 RDX: 00007f9661136b60 RSI: 0000000000000058 RDI: 00007ffe745a62a0 RBP: 00007f965efb46c0 R08: 00007f965efb46c0 R09: 00007ffe745a6387 R10: 0000000000000008 R11: 0000000000000206 R12: ffffffffffffffa8 R13: 000000000000000b R14: 00007ffe745a62a0 R15: 00007ffe745a6388 rcu: rcu_preempt kthread starved for 10300 jiffies! g99297 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:24952 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 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 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: CPU: 1 UID: 0 PID: 17100 Comm: udevd Not tainted 6.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f1/0x2c60 kernel/smp.c:884 Code: 00 00 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 90 42 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 RSP: 0018:ffffc90003b3fb40 EFLAGS: 00000293 RAX: ffffffff8193795b RBX: 1ffff110170c8c89 RCX: ffff8880475f5a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003b3fd28 R08: ffffffff8193792a R09: 1ffffffff285431b R10: dffffc0000000000 R11: fffffbfff285431c R12: dffffc0000000000 R13: ffff8880b8646448 R14: ffff8880b873fac0 R15: 0000000000000000 FS: 00007ff1781ebc80(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f691d7ed000 CR3: 000000007b156000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0xfe/0x270 block/bdev.c:671 blkdev_put_whole block/bdev.c:678 [inline] bdev_release+0x460/0x700 block/bdev.c:1103 blkdev_release+0x15/0x20 block/fops.c:635 __fput+0x23e/0xa50 fs/file_table.c:450 __do_sys_close fs/open.c:1554 [inline] __se_sys_close fs/open.c:1539 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1539 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:0x7ff1783170a8 Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffef3613a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00007ff1781ebae0 RCX: 00007ff1783170a8 RDX: 000055e2da8c1883 RSI: 00007ffef3613208 RDI: 0000000000000008 RBP: 000055e784f49150 R08: 0000000000000006 R09: 238bddfcdd4d2b5c R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 000055e784f4ab90 R14: 0000000000000008 R15: 000055e784f2d910