rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P13459/1:b..l (detected by 1, t=10502 jiffies, g=38797, q=28) task:syz-executor.3 state:R running task stack:25464 pid:13459 ppid: 6906 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:3777 [inline] __schedule+0xea5/0x21b0 kernel/sched/core.c:4526 preempt_schedule_irq+0xbf/0x1b0 kernel/sched/core.c:4787 irqentry_exit_cond_resched kernel/entry/common.c:356 [inline] irqentry_exit_cond_resched kernel/entry/common.c:348 [inline] irqentry_exit+0x65/0x90 kernel/entry/common.c:386 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:653 [inline] RIP: 0010:slab_alloc_node mm/slab.c:3248 [inline] RIP: 0010:kmem_cache_alloc_node_trace+0x13b/0x560 mm/slab.c:3592 Code: ef e8 c9 e0 ff ff 48 89 44 24 20 48 83 7c 24 08 00 0f 85 3b 01 00 00 48 83 3d b8 bb 23 08 00 0f 84 28 03 00 00 4c 89 ff 57 9d <0f> 1f 44 00 00 e9 83 02 00 00 f6 c7 01 4c 8b 44 24 20 0f 85 97 02 RSP: 0018:ffffc90008a3f270 EFLAGS: 00000286 RAX: 00000000000011d5 RBX: 0000000000082a20 RCX: ffffc9000ede6000 RDX: 0000000000040000 RSI: 0000000000000000 RDI: 0000000000000286 RBP: ffff8880aa040800 R08: 0000000000000001 R09: ffffffff8c9c4a4f R10: fffffbfff1938949 R11: 0000000000000000 R12: 00000000ffffffff R13: 0000000000082a20 R14: 0000000000000740 R15: 0000000000000286 __do_kmalloc_node mm/slab.c:3614 [inline] __kmalloc_node_track_caller+0x38/0x60 mm/slab.c:3629 __kmalloc_reserve net/core/skbuff.c:142 [inline] __alloc_skb+0xae/0x550 net/core/skbuff.c:210 alloc_skb include/linux/skbuff.h:1094 [inline] ip_frag_next+0x11e/0x9a0 net/ipv4/ip_output.c:705 ip_do_fragment+0x969/0x1bd0 net/ipv4/ip_output.c:902 ip_fragment.constprop.0+0x174/0x240 net/ipv4/ip_output.c:581 __ip_finish_output net/ipv4/ip_output.c:306 [inline] __ip_finish_output+0x4d5/0xcb0 net/ipv4/ip_output.c:290 ip_finish_output+0x34/0x1f0 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0x196/0x310 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x8e9/0x1a00 net/ipv4/ip_output.c:532 __tcp_transmit_skb+0x18cc/0x3760 net/ipv4/tcp_output.c:1404 tcp_transmit_skb net/ipv4/tcp_output.c:1422 [inline] tcp_write_xmit+0xead/0x5c50 net/ipv4/tcp_output.c:2684 tcp_sendmsg_locked+0x9d3/0x2d00 net/ipv4/tcp.c:1393 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1443 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:817 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:671 sock_write_iter+0x289/0x3c0 net/socket.c:998 call_write_iter include/linux/fs.h:1895 [inline] new_sync_write+0x426/0x650 fs/read_write.c:517 vfs_write+0x57d/0x700 fs/read_write.c:595 ksys_write+0x1ee/0x250 fs/read_write.c:648 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5f9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8fc33b9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000038f00 RCX: 000000000045d5f9 RDX: 000000000000d10a RSI: 0000000020000080 RDI: 0000000000000005 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffe84355a9f R14: 00007f8fc33ba9c0 R15: 000000000118cf4c rcu: rcu_preempt kthread starved for 10502 jiffies! g38797 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28856 pid: 10 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:3777 [inline] __schedule+0xea5/0x21b0 kernel/sched/core.c:4526 schedule+0xcf/0x270 kernel/sched/core.c:4604 schedule_timeout+0x148/0x250 kernel/time/timer.c:1879 rcu_gp_fqs_loop kernel/rcu/tree.c:1931 [inline] rcu_gp_kthread+0xae5/0x1b50 kernel/rcu/tree.c:2105 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296