rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7156/2:b..l P7235/1:b..l P4524/1:b..l P5114/1:b..l rcu: (detected by 0, t=10502 jiffies, g=28937, q=363 ncpus=2) task:kworker/0:3 state:R running task stack:25520 pid:5114 tgid:5114 ppid:2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6865 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __local_bh_enable_ip+0x103/0x120 kernel/softirq.c:388 local_bh_enable include/linux/bottom_half.h:33 [inline] nf_ct_delete_from_lists net/netfilter/nf_conntrack_core.c:629 [inline] nf_ct_delete+0x560/0x750 net/netfilter/nf_conntrack_core.c:679 nf_ct_kill include/net/netfilter/nf_conntrack.h:234 [inline] nf_ct_gc_expired.part.0+0x193/0x200 net/netfilter/nf_conntrack_core.c:724 nf_ct_gc_expired net/netfilter/nf_conntrack_core.c:717 [inline] gc_worker+0x725/0x17e0 net/netfilter/nf_conntrack_core.c:1524 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 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 task:udevd state:R running task stack:25568 pid:4524 tgid:4524 ppid:1 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_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1ef/0x520 kernel/locking/lockdep.c:5722 Code: c1 05 bd 6c 9a 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 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:ffffc9000319f628 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000633ec7 RCX: 00000000330f1682 RDX: 0000000000000001 RSI: ffffffff8accbae0 RDI: ffffffff8b2f0d20 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23e35d0 R10: ffffffff91f1ae87 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8cfabbe0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] page_ext_get+0x3a/0x310 mm/page_ext.c:508 __page_table_check_zero+0x139/0x5e0 mm/page_table_check.c:140 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1138 [inline] free_unref_page_prepare+0x4ea/0xaa0 mm/page_alloc.c:2347 free_unref_page+0x33/0x3b0 mm/page_alloc.c:2487 __unfreeze_partials+0x226/0x240 mm/slub.c:2655 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x18e/0x1d0 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x65/0x90 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook mm/slab.h:763 [inline] slab_alloc_node mm/slub.c:3478 [inline] __kmem_cache_alloc_node+0x195/0x310 mm/slub.c:3517 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc+0x49/0x90 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] kzalloc include/linux/slab.h:721 [inline] tomoyo_encode2+0x100/0x3d0 security/tomoyo/realpath.c:45 tomoyo_encode+0x29/0x50 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x196/0x710 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x26f/0x450 security/tomoyo/file.c:822 security_inode_getattr+0xf1/0x150 security/security.c:2153 vfs_getattr fs/stat.c:173 [inline] vfs_fstat+0x4f/0xc0 fs/stat.c:198 vfs_fstatat+0x130/0x140 fs/stat.c:295 __do_sys_newfstatat+0x98/0x110 fs/stat.c:463 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fdda2b165f4 RSP: 002b:00007ffd85ad7bb8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007fdda2bee460 RCX: 00007fdda2b165f4 RDX: 00007ffd85ad7bc0 RSI: 00007fdda2bb3130 RDI: 000000000000000c RBP: 00005567045728f0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000001000 R11: 0000000000000206 R12: 0000000000000006 R13: 0000000000000006 R14: 00005567045728f0 R15: 0000000000000000 task:syz-executor.1 state:R running task stack:26896 pid:7235 tgid:7235 ppid:5118 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6865 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 unwind_next_frame+0x1c80/0x2390 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 save_stack+0x160/0x1f0 mm/page_owner.c:128 __reset_page_owner+0x5a/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1137 [inline] free_unref_page_prepare+0x4fa/0xaa0 mm/page_alloc.c:2347 free_unref_page+0x33/0x3b0 mm/page_alloc.c:2487 __unfreeze_partials+0x226/0x240 mm/slub.c:2655 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x18e/0x1d0 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x65/0x90 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook mm/slab.h:763 [inline] slab_alloc_node mm/slub.c:3478 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc+0x15d/0x2f0 mm/slub.c:3502 anon_vma_alloc mm/rmap.c:94 [inline] __anon_vma_prepare+0x2bf/0x550 mm/rmap.c:203 anon_vma_prepare include/linux/rmap.h:159 [inline] do_anonymous_page mm/memory.c:4169 [inline] do_pte_missing mm/memory.c:3728 [inline] handle_pte_fault mm/memory.c:5038 [inline] __handle_mm_fault+0x374d/0x3d70 mm/memory.c:5179 handle_mm_fault+0x47a/0xa10 mm/memory.c:5344 do_user_addr_fault+0x3d1/0x1000 arch/x86/mm/fault.c:1413 handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x5d/0xc0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f5a74051da6 RSP: 002b:00007f5a742bf9f0 EFLAGS: 00010246 RAX: 00007f5a74df1000 RBX: 00007f5a74e116c0 RCX: 00007f5a7407cba7 RDX: 0000000000000003 RSI: 0000000000020000 RDI: 00007f5a74e116c0 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000021000 R11: 0000000000000206 R12: 00007f5a742bfc90 R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000 task:syz-fuzzer state:R running task stack:24816 pid:7156 tgid:5064 ppid:5062 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6865 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __local_bh_enable_ip+0x103/0x120 kernel/softirq.c:388 spin_unlock_bh include/linux/spinlock.h:396 [inline] nf_conntrack_tcp_packet+0x23e6/0x6820 net/netfilter/nf_conntrack_proto_tcp.c:1292 nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1923 [inline] nf_conntrack_in+0x2e9/0x1850 net/netfilter/nf_conntrack_core.c:2013 ipv4_conntrack_local+0x160/0x260 net/netfilter/nf_conntrack_proto.c:229 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xbb/0x1f0 net/netfilter/core.c:626 nf_hook+0x386/0x6c0 include/linux/netfilter.h:269 __ip_local_out+0x346/0x640 net/ipv4/ip_output.c:118 ip_local_out net/ipv4/ip_output.c:127 [inline] __ip_queue_xmit+0x742/0x1a50 net/ipv4/ip_output.c:535 __tcp_transmit_skb+0x1aa5/0x3d10 net/ipv4/tcp_output.c:1462 tcp_transmit_skb net/ipv4/tcp_output.c:1480 [inline] tcp_write_xmit+0xfcb/0x7f10 net/ipv4/tcp_output.c:2792 __tcp_push_pending_frames+0xaf/0x390 net/ipv4/tcp_output.c:2977 tcp_push+0x22f/0x740 net/ipv4/tcp.c:736 tcp_sendmsg_locked+0x2769/0x3460 net/ipv4/tcp.c:1308 tcp_sendmsg+0x2e/0x40 net/ipv4/tcp.c:1340 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:847 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xd5/0x180 net/socket.c:745 sock_write_iter+0x29b/0x3d0 net/socket.c:1158 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x64f/0xdf0 fs/read_write.c:584 ksys_write+0x1f0/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x403ace RSP: 002b:000000c0045070c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000403ace RDX: 0000000000000004 RSI: 000000c000224200 RDI: 0000000000000003 RBP: 000000c004507108 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000c004507248 R13: 0000000000000000 R14: 000000c0000061a0 R15: 000000c0000a6900 rcu: rcu_preempt kthread starved for 5048 jiffies! g28937 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:28752 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 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:86 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x1b/0x20 drivers/acpi/processor_idle.c:112