rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5098/1:b..l P25223/1:b..l rcu: (detected by 1, t=10503 jiffies, g=105549, q=39 ncpus=2) task:syz-executor.4 state:R running task stack:22736 pid:25223 tgid:25222 ppid:5110 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7008 irqentry_exit+0x36/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:654 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x20 kernel/kcov.c:304 Code: 00 00 f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 c8 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 aa fe ff ff 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc9000333f520 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 0000000000000000 RCX: ffffffff844baa87 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8880217b5940 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888140b62000 R13: ffffea0001140db4 R14: 0000000000000001 R15: 00fff00000080001 task_css include/linux/cgroup.h:434 [inline] blkcg_css.part.0+0x127/0x1d0 block/blk-cgroup.c:110 blkcg_css block/blk-cgroup.c:2153 [inline] blk_cgroup_congested+0x118/0x290 block/blk-cgroup.c:2151 __folio_throttle_swaprate+0xa7/0x2e0 mm/swapfile.c:3626 folio_throttle_swaprate include/linux/swap.h:634 [inline] shmem_add_to_page_cache+0x5b9/0xaf0 mm/shmem.c:777 shmem_alloc_and_add_folio+0x2cf/0x7b0 mm/shmem.c:1691 shmem_get_folio_gfp+0x623/0x1360 mm/shmem.c:2054 shmem_fault+0x205/0xa90 mm/shmem.c:2230 __do_fault+0x107/0x600 mm/memory.c:4266 do_read_fault mm/memory.c:4629 [inline] do_fault mm/memory.c:4763 [inline] do_pte_missing mm/memory.c:3731 [inline] handle_pte_fault mm/memory.c:5039 [inline] __handle_mm_fault+0x2683/0x3d70 mm/memory.c:5180 handle_mm_fault+0x47a/0xa10 mm/memory.c:5345 faultin_page mm/gup.c:956 [inline] __get_user_pages+0x4b2/0x1490 mm/gup.c:1239 populate_vma_page_range+0x2d4/0x420 mm/gup.c:1677 __mm_populate+0x1d7/0x380 mm/gup.c:1786 mm_populate include/linux/mm.h:3379 [inline] vm_mmap_pgoff+0x2cd/0x3c0 mm/util.c:561 ksys_mmap_pgoff+0x7d/0x5b0 mm/mmap.c:1425 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:86 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7ff07327cce9 RSP: 002b:00007ff073f8f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ff07339bf80 RCX: 00007ff07327cce9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007ff0732c947a R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff07339bf80 R15: 00007ffe5ca6c528 task:syz-executor.5 state:R running task stack:23808 pid:5098 tgid:5098 ppid:5085 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7008 irqentry_exit+0x36/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:654 RIP: 0010:__seqprop_spinlock_sequence include/linux/seqlock.h:284 [inline] RIP: 0010:__follow_mount_rcu fs/namei.c:1513 [inline] RIP: 0010:handle_mounts fs/namei.c:1538 [inline] RIP: 0010:step_into+0x311/0x2220 fs/namei.c:1840 Code: 48 8b 75 08 4c 89 e7 e8 ed e4 76 ff 9c 41 5c 41 81 e4 00 02 00 00 31 ff 4c 89 e6 e8 69 5d 96 ff 4d 85 e4 58 0f 85 d6 0f 00 00 ca 61 96 ff 49 8d 57 08 48 b9 00 00 00 00 00 fc ff df 48 89 d0 RSP: 0018:ffffc900046178b8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffc90004617c40 RCX: ffffffff81f11e60 RDX: ffff888025ec0000 RSI: ffffffff81f11e6f RDI: 0000000000000007 RBP: ffffc900046179b8 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000200 R14: 0000000000000040 R15: ffff88801b4045e0 walk_component+0xfc/0x5a0 fs/namei.c:2008 link_path_walk.part.0.constprop.0+0x71f/0xce0 fs/namei.c:2329 link_path_walk fs/namei.c:2254 [inline] path_openat+0x23f/0x2c50 fs/namei.c:3775 do_filp_open+0x1de/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f435a67b8e0 RSP: 002b:00007ffe71887260 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f435a67b8e0 RDX: 0000000000000002 RSI: 00007ffe718873a0 RDI: 00000000ffffff9c RBP: 00007ffe718873a0 R08: 0000000000000000 R09: 00007ffe71887027 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000017d93f R14: 000000000017d5e9 R15: 0000000000000010 rcu: rcu_preempt kthread starved for 10572 jiffies! g105549 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:27808 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x137/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x24b/0x380 kernel/rcu/tree.c:1830 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 25243 Comm: syz-executor.3 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:debug_smp_processor_id+0x0/0x20 lib/smp_processor_id.c:59 Code: ea f6 48 8b 74 24 20 48 c7 c7 60 fb 2e 8b e8 67 5d ea f6 e8 82 ca eb ff 90 65 ff 0d 62 cb 83 75 e9 42 ff ff ff 0f 1f 44 00 00 0f 1e fa 48 c7 c6 a0 fb 2e 8b 48 c7 c7 e0 fb 2e 8b e9 09 ff ff RSP: 0018:ffffc90000007fe0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffc9000325fc58 RCX: 0000000000000000 RDX: 0000000000010001 RSI: ffffffff8acb5340 RDI: ffffffff8b2efc20 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555555d7c480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f03cafb6f00 CR3: 00000000177c0000 CR4: 0000000000350ef0 Call Trace: tick_irq_exit kernel/softirq.c:612 [inline] __irq_exit_rcu kernel/softirq.c:634 [inline] irq_exit_rcu+0x3e/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 0a 8e e4 f6 48 89 df e8 72 05 e5 f6 e8 1d c1 0a f7 fb bf 01 00 00 00 b2 be d6 f6 65 8b 05 e3 55 80 75 85 c0 74 02 5b c3 e8 b0 19 7d RSP: 0018:ffffc9000325fd00 EFLAGS: 00000202 RAX: 0000000003abf45b RBX: ffff888080ad0000 RCX: 1ffffffff1e32119 RDX: 0000000000000000 RSI: ffffffff8accaec0 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f193b57 R11: 0000000000000000 R12: ffff888080ad0498 R13: 0000000000000021 R14: ffff888080ad0400 R15: 1ffff9200064bfaf spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1899/0x2790 kernel/signal.c:2907 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x121/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f56f007cce9 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:00007ffe37bcaf68 EFLAGS: 00000246 RAX: fffffffffffffffc RBX: 000000000017d9b4 RCX: 00007f56f007cce9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f56f019bf8c RBP: 0000000000000032 R08: 00007f56f019bf8c R09: 00007f56f019c05c R10: 00007ffe37bcb0a0 R11: 0000000000000246 R12: 00007f56f019bf8c R13: 000000000017d9e6 R14: 00007ffe37bcb0c0 R15: 00007ffe37bcb0a0