rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P13054/1:b..l P5217/1:b..l P13040/1:b..l rcu: (detected by 0, t=10502 jiffies, g=147337, q=1441745 ncpus=2) task:syz-executor state:R running task stack:20992 pid:13040 tgid:13040 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6861 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6885 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] zap_pte_range mm/memory.c:1691 [inline] zap_pmd_range mm/memory.c:1739 [inline] zap_pud_range mm/memory.c:1768 [inline] zap_p4d_range mm/memory.c:1789 [inline] unmap_page_range+0x36b1/0x40e0 mm/memory.c:1810 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900 exit_mmap+0x275/0xc40 mm/mmap.c:1864 __mmput+0x115/0x390 kernel/fork.c:1347 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x28e0 kernel/exit.c:926 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8a36b7ca3c RSP: 002b:00007fff57502d90 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffe00 RBX: 0000000000000003 RCX: 00007f8a36b7ca3c RDX: 0000000000000028 RSI: 00007fff57502e40 RDI: 00000000000000f9 RBP: 00007fff57502dec R08: 0000000000000000 R09: 0079746972756365 R10: 00007f8a36d087e0 R11: 0000000000000246 R12: 000000000000004c R13: 0000000000165eba R14: 0000000000165b29 R15: 00007fff57502e40 task:syz-executor state:R running task stack:19152 pid:5217 tgid:5217 ppid:5215 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7004 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:srso_alias_safe_ret+0x0/0x7 arch/x86/lib/retpoline.S:171 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <48> 8d 64 24 08 c3 cc e8 f4 ff ff ff 0f 0b cc cc cc cc cc cc cc cc RSP: 0018:ffffc900034ef9b0 EFLAGS: 00000283 RAX: 0000000000000001 RBX: ffffea0000e82a00 RCX: ffff888027f75a00 RDX: 0000000000000000 RSI: 00000000ff000000 RDI: ffffea0000e82a00 RBP: dffffc0000000000 R08: ffffffff820b6b9d R09: 1ffff110084e3ebd R10: dffffc0000000000 R11: ffffed10084e3ebe R12: 0000000000000003 R13: ffffea0000e82a08 R14: ffffea0000e82a00 R15: 1ffffd40001d0540 srso_alias_return_thunk+0x5/0xfbef5 arch/x86/lib/retpoline.S:181 rcu_read_lock include/linux/rcupdate.h:847 [inline] page_ext_get+0x19/0x2a0 mm/page_ext.c:525 __page_table_check_zero+0xb1/0x350 mm/page_table_check.c:148 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1109 [inline] free_unref_page+0xd0f/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4141 lsm_inode_alloc security/security.c:756 [inline] security_inode_alloc+0x37/0x310 security/security.c:1692 inode_init_always_gfp+0x988/0xcd0 fs/inode.c:235 inode_init_always include/linux/fs.h:3088 [inline] alloc_inode+0x9f/0x1a0 fs/inode.c:272 get_pipe_inode fs/pipe.c:882 [inline] create_pipe_files+0x50/0x700 fs/pipe.c:922 __do_pipe_flags+0x48/0x2d0 fs/pipe.c:973 do_pipe2+0xd4/0x310 fs/pipe.c:1024 __do_sys_pipe2 fs/pipe.c:1042 [inline] __se_sys_pipe2 fs/pipe.c:1040 [inline] __x64_sys_pipe2+0x5a/0x70 fs/pipe.c:1040 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:0x7ff64077cd49 RSP: 002b:00007ffc9de63f78 EFLAGS: 00000246 ORIG_RAX: 0000000000000125 RAX: ffffffffffffffda RBX: 0000555560c98c50 RCX: 00007ff64077cd49 RDX: 0000555560cb7e00 RSI: 0000000000000000 RDI: 00007ffc9de63f88 RBP: 00007ffc9de64530 R08: 0000000000000007 R09: 0000555560ca7540 R10: 75a47e98bfd59a65 R11: 0000000000000246 R12: 0000555560c9c420 R13: 0000555560c9ba08 R14: 00007ffc9de640c0 R15: 0000555560c9e850 task:syz-executor state:R running task stack:20992 pid:13054 tgid:13054 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7004 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:lock_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000347f780 EFLAGS: 00000206 RAX: 30eedce8a56f3900 RBX: 0000000000000001 RCX: 0000000080000000 RDX: 0000000000000000 RSI: ffffffff8c0adc40 RDI: ffffffff8c60fb20 RBP: 0000000000000000 R08: ffffffff820b65fe R09: 1ffffffff2858f00 R10: dffffc0000000000 R11: fffffbfff2858f01 R12: 0000000000000246 R13: ffff88802562bc00 R14: 00000000ffffffff R15: ffffffff8e937de0 lookup_page_ext mm/page_ext.c:254 [inline] page_ext_get+0x192/0x2a0 mm/page_ext.c:526 __reset_page_owner+0x30/0x430 mm/page_owner.c:290 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 vfree+0x186/0x2e0 mm/vmalloc.c:3361 kcov_put kernel/kcov.c:439 [inline] kcov_close+0x28/0x50 kernel/kcov.c:535 __fput+0x241/0x880 fs/file_table.c:431 task_work_run+0x251/0x310 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:939 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa9a417fe8c RSP: 002b:00007ffeea9147f0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: 0000000000000028 RBX: 00007fa9a4e64620 RCX: 00007fa9a417fe8c RDX: 0000000000000028 RSI: 00007fa9a4e64670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffeea914844 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fa9a4e64670 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10617 jiffies! g147337 f0x2 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:24304 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 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 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:111