rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=952c/1/0x4000000000000000 softirq=41656/41656 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P14901/1:b..l rcu: (detected by 1, t=10502 jiffies, g=75817, q=233 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15362 Comm: syz-executor.4 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:122 [inline] RIP: 0010:lock_release+0x136/0x6a0 kernel/locking/lockdep.c:5767 Code: 7e 49 8d be d4 0a 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 <84> d2 0f 85 f6 04 00 00 41 8b b6 d4 0a 00 00 85 f6 0f 85 63 02 00 RSP: 0018:ffffc90000007c20 EFLAGS: 00000002 RAX: 0000000000000007 RBX: ffffffff8f9ea338 RCX: ffffffff816b4309 RDX: 0000000000000000 RSI: ffffffff8b6e8820 RDI: ffff8880265664d4 RBP: 1ffff92000000f86 R08: 0000000000000000 R09: fffffbfff1f3cdf2 R10: ffffffff8f9e6f97 R11: 0000000000000003 R12: ffffffff8e235500 R13: ffff88807ac50340 R14: ffff888026565a00 R15: ffffffff88e73220 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dc21000 CR3: 00000000592ac000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_objects_fill_pool lib/debugobjects.c:616 [inline] debug_object_activate+0x160/0x540 lib/debugobjects.c:704 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x25/0x390 kernel/time/hrtimer.c:1090 __run_hrtimer kernel/time/hrtimer.c:1709 [inline] __hrtimer_run_queues+0xa15/0xc20 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x410 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x1f2/0x540 kernel/locking/lockdep.c:5722 Code: c1 05 ea 37 97 7e 83 f8 01 0f 85 c8 02 00 00 9c 58 f6 c4 02 0f 85 b3 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000368fc80 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920006d1f92 RCX: 00000000110053aa RDX: 0000000000000001 RSI: ffffffff8b0cba40 RDI: ffffffff8b6e88a0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff27b4e30 R10: ffffffff93da7187 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8d7b08e0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] percpu_ref_tryget_many include/linux/percpu-refcount.h:241 [inline] percpu_ref_tryget include/linux/percpu-refcount.h:266 [inline] css_tryget include/linux/cgroup_refcnt.h:45 [inline] css_tryget include/linux/cgroup_refcnt.h:42 [inline] get_mem_cgroup_from_objcg+0x186/0x2a0 include/linux/memcontrol.h:535 obj_cgroup_uncharge_pages mm/memcontrol.c:3277 [inline] __memcg_kmem_uncharge_page+0xc8/0x1c0 mm/memcontrol.c:3353 memcg_kmem_uncharge_page include/linux/memcontrol.h:1854 [inline] exit_task_stack_account+0x98/0xf0 kernel/fork.c:562 do_exit+0x1bf5/0x2be0 kernel/exit.c:919 do_group_exit+0xd3/0x2a0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7ff8c107dda9 Code: Unable to access opcode bytes at 0x7ff8c107dd7f. RSP: 002b:00007ffc66e097a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007ff8c107dda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000105 R09: 0000000000000000 R10: 0000001b2e020000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 task:syz-executor.0 state:R running task stack:24112 pid:14901 tgid:14901 ppid:14869 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7058 irqentry_exit+0x36/0x90 kernel/entry/common.c:348 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x33/0x60 kernel/kcov.c:207 Code: db 76 7e 65 8b 05 05 db 76 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 14 16 00 00 85 c0 74 2b 8b 82 f0 15 00 00 <83> f8 02 75 20 48 8b 8a f8 15 00 00 8b 92 f4 15 00 00 48 8b 01 48 RSP: 0018:ffffc90003d2fa18 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8257e8b5 RDX: ffff8880524e1e00 RSI: ffffffff8257e852 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000004 R12: ffff888028ac5280 R13: ffff888054ce5108 R14: ffff888028ac5280 R15: ffff8880529a6960 rcu_read_unlock include/linux/rcupdate.h:782 [inline] jbd2_write_access_granted+0x212/0x3d0 fs/jbd2/transaction.c:1215 jbd2_journal_get_write_access+0x1b9/0x2b0 fs/jbd2/transaction.c:1253 __ext4_journal_get_write_access+0x6a/0x3b0 fs/ext4/ext4_jbd2.c:239 ext4_reserve_inode_write+0x13b/0x270 fs/ext4/inode.c:5731 __ext4_mark_inode_dirty+0x1a6/0x860 fs/ext4/inode.c:5905 ext4_evict_inode+0x963/0x1a30 fs/ext4/inode.c:299 evict+0x2ed/0x6c0 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput.part.0+0x573/0x7c0 fs/inode.c:1767 iput+0x5c/0x80 fs/inode.c:1757 d_delete_notify include/linux/fsnotify.h:307 [inline] vfs_rmdir fs/namei.c:4222 [inline] vfs_rmdir+0x45a/0x660 fs/namei.c:4186 do_rmdir+0x3a2/0x410 fs/namei.c:4268 __do_sys_unlinkat fs/namei.c:4444 [inline] __se_sys_unlinkat fs/namei.c:4438 [inline] __x64_sys_unlinkat+0xf3/0x130 fs/namei.c:4438 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7facedc7d587 RSP: 002b:00007ffe891d9928 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007facedc7d587 RDX: 0000000000000200 RSI: 00007ffe891daaa0 RDI: 00000000ffffff9c RBP: 00007facedcc93b9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000207 R12: 00007ffe891daaa0 R13: 00007facedcc93b9 R14: 000000000007cb44 R15: 0000000000000003 rcu: rcu_preempt kthread starved for 10498 jiffies! g75817 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:28048 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2572 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1663 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:1862 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 15367 Comm: syz-executor.2 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4e7/0x1590 kernel/smp.c:855 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 4b 05 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 5d 0e 00 00 8b 43 08 31 RSP: 0018:ffffc9000369f6b0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b94464e0 RCX: ffffc9000ff7d000 RDX: 0000000000040000 RSI: ffffffff8180f365 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017288c9d R13: 0000000000000001 R14: ffff8880b94464e8 R15: ffff8880b953f840 FS: 00007f5d6feb66c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d6f1ad988 CR3: 000000007b1b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 __purge_vmap_area_lazy+0x205/0x2180 mm/vmalloc.c:1821 _vm_unmap_aliases+0x693/0x9b0 mm/vmalloc.c:2378 change_page_attr_set_clr+0x24c/0x490 arch/x86/mm/pat/set_memory.c:1842 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1890 [inline] set_memory_ro+0x7c/0xb0 arch/x86/mm/pat/set_memory.c:2076 bpf_prog_lock_ro include/linux/filter.h:895 [inline] bpf_prog_select_runtime+0x4fb/0x640 kernel/bpf/core.c:2406 bpf_migrate_filter+0x2eb/0x390 net/core/filter.c:1303 bpf_prepare_filter+0x183/0x380 net/core/filter.c:1351 bpf_prog_create_from_user+0x1e4/0x2d0 net/core/filter.c:1445 seccomp_prepare_filter kernel/seccomp.c:680 [inline] seccomp_prepare_user_filter kernel/seccomp.c:717 [inline] seccomp_set_mode_filter kernel/seccomp.c:1935 [inline] do_seccomp+0x7b6/0x2580 kernel/seccomp.c:2055 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f5d6f07dda9 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:00007f5d6feb60c8 EFLAGS: 00000246 ORIG_RAX: 000000000000013d RAX: ffffffffffffffda RBX: 00007f5d6f1abf80 RCX: 00007f5d6f07dda9 RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 00007f5d6f0ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5d6f1abf80 R15: 00007ffd35c84108