rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3547/1:b..l P4854/1:b..l (detected by 1, t=10502 jiffies, g=10805, q=377) task:syz.0.152 state:R running task stack:26656 pid: 4854 ppid: 4168 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:PagePoisoned include/linux/page-flags.h:218 [inline] RIP: 0010:PageSwapBacked include/linux/page-flags.h:371 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:415 [inline] RIP: 0010:page_index include/linux/mm.h:1666 [inline] RIP: 0010:thp_contains+0xf7/0x370 include/linux/pagemap.h:452 Code: e8 5e 2d 1f 00 49 8b 6d 00 89 ee 83 e6 01 31 ff e8 1e b9 d9 ff 40 f6 c5 01 0f 85 f6 01 00 00 e8 2f b5 d9 ff 48 89 dd 48 89 e8 <48> c1 e8 03 42 80 3c 38 00 74 08 48 89 ef e8 26 2d 1f 00 48 8b 6d RSP: 0018:ffffc900033275b0 EFLAGS: 00000293 RAX: ffffea0001c4a380 RBX: ffffea0001c4a380 RCX: ffff888026d99dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffea0001c4a380 R08: dffffc0000000000 R09: fffff94000389471 R10: fffff94000389471 R11: 1ffffd4000389470 R12: 1ffffd4000389471 R13: ffffea0001c4a388 R14: ffffea0001c4a380 R15: dffffc0000000000 find_lock_entries+0x920/0xd50 mm/filemap.c:2106 shmem_undo_range+0x234/0x1840 mm/shmem.c:943 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x20d/0xa00 mm/shmem.c:1145 evict+0x485/0x870 fs/inode.c:647 __dentry_kill+0x431/0x650 fs/dcache.c:586 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xd8/0x1a0 fs/dcache.c:893 __fput+0x5ee/0x930 fs/file_table.c:319 task_work_run+0x125/0x1a0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x616/0x20a0 kernel/exit.c:874 do_group_exit+0x12e/0x300 kernel/exit.c:996 __do_sys_exit_group kernel/exit.c:1007 [inline] __se_sys_exit_group kernel/exit.c:1005 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1005 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fad5f1a4929 RSP: 002b:00007fffd2f10318 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fad5f1a4929 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fffd2f1037c R08: 0000001dd2f1040f R09: 00000000000927c0 R10: 0000000000001ac4 R11: 0000000000000246 R12: 000000000000001f R13: 00000000000927c0 R14: 000000000001bdc2 R15: 00007fffd2f103d0 task:udevd state:R running task stack:25056 pid: 3547 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6552 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6577 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0xf6/0x100 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x11b/0x180 kernel/sched/wait.c:205 sock_def_readable+0x136/0x250 net/core/sock.c:3093 __netlink_sendskb net/netlink/af_netlink.c:1258 [inline] netlink_sendskb+0x97/0x130 net/netlink/af_netlink.c:1264 netlink_sendmsg+0x8ab/0xbc0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436 ___sys_sendmsg+0x1f0/0x260 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x190/0x250 net/socket.c:2526 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0fd7dee407 RSP: 002b:00007ffce0041e00 EFLAGS: 00000202 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0fd7d00880 RCX: 00007f0fd7dee407 RDX: 0000000000000000 RSI: 00007ffce0041e60 RDI: 0000000000000004 RBP: 00005627c425ea90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000000b3 R13: 00005627c424b9e0 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10568 jiffies! g10805 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:27584 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 Code: 63 ad 0a 41 f6 c6 02 75 26 48 83 3d b3 5e ad 0a 00 75 0a 48 83 3d 29 5f ad 0a 00 74 12 48 85 db 74 0d 48 89 df e8 e2 df 45 08 <48> 89 c3 eb ad 48 c7 c7 60 08 12 8c 48 8d b4 24 c0 00 00 00 e8 29 RSP: 0018:ffffc90000d47cc0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88813feabb80 RDX: 0000000000000000 RSI: fffffffffffff0fb RDI: 0000000000000000 RBP: ffffc90000d47e10 R08: dffffc0000000000 R09: ffffed1017205011 R10: ffffed1017205011 R11: 1ffff11017205010 R12: 1ffffffff17c1e30 R13: ffffc90000d47d88 R14: 0000000000000000 R15: 0000000000000001 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 4882 Comm: syz.3.161 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:lock_is_held_type+0x4c/0x190 kernel/locking/lockdep.c:5659 Code: 3d 3c 70 c7 03 00 0f 84 03 01 00 00 65 8b 05 ab 09 61 76 85 c0 0f 85 f4 00 00 00 65 48 8b 1d 5b 00 61 76 83 bb ec 0a 00 00 00 <0f> 85 df 00 00 00 41 89 f7 49 89 fe 48 c7 04 24 00 00 00 00 9c 8f RSP: 0018:ffffc9000323fa58 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88807bffd940 RCX: ffff88807bffd940 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8c11c000 RBP: 00000000ffffffff R08: dffffc0000000000 R09: ffffc9000323fde0 R10: fffff52000647fc7 R11: 1ffff92000647fbc R12: dffffc0000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88801fd68000 FS: 00007fefce1436c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fefce143000 CR3: 000000001e4fb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:287 [inline] ___might_sleep+0xa3/0x600 kernel/sched/core.c:9605 try_to_freeze_unsafe include/linux/freezer.h:57 [inline] try_to_freeze include/linux/freezer.h:67 [inline] get_signal+0x119/0x12c0 kernel/signal.c:2694 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fefd02fc929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fefce1430e8 EFLAGS: 00000246 RAX: fffffffffffffffc RBX: 00007fefd0524088 RCX: 00007fefd02fc929 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fefd0524088 RBP: 00007fefd0524080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fefd052408c R13: 0000000000000000 R14: 00007fffc473f780 R15: 00007fffc473f868