sched: DL replenish lagged too much
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7048/2:b..l P7012/1:b..l
rcu: (detected by 1, t=10503 jiffies, g=15469, q=1248472 ncpus=2)
task:syz.2.496 state:R running task stack:20752 pid:7012 tgid:6998 ppid:5235 flags:0x00004002
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:stack_trace_consume_entry+0x5/0x280 kernel/stacktrace.c:83
Code: ff ff ff e8 ad 45 46 0a 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 ba 00 00 00 00
RSP: 0018:ffffc900091f6790 EFLAGS: 00000282
RAX: ffffffff8a64ae40 RBX: ffffc900091f67a0 RCX: ffffffff917be000
RDX: ffffffff9196b501 RSI: ffffffff8a64ae40 RDI: ffffc900091f6880
RBP: ffffc900091f6830 R08: ffffc900091f70f0 R09: 0000000000000000
R10: ffffc900091f67f0 R11: ffffffff8180a0e0 R12: ffff88801dbd0000
R13: ffffffff8180a0e0 R14: ffffc900091f6880 R15: 0000000000000000
arch_stack_walk+0x10e/0x150 arch/x86/kernel/stacktrace.c:27
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
save_stack+0xfb/0x1f0 mm/page_owner.c:156
__reset_page_owner+0x76/0x430 mm/page_owner.c:297
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
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_node_noprof+0x16b/0x320 mm/slub.c:4186
kmalloc_reserve+0xa8/0x2a0 net/core/skbuff.c:587
__alloc_skb+0x1f3/0x440 net/core/skbuff.c:678
alloc_skb include/linux/skbuff.h:1322 [inline]
alloc_skb_with_frags+0xc3/0x820 net/core/skbuff.c:6612
sock_alloc_send_pskb+0x91a/0xa60 net/core/sock.c:2878
sock_alloc_send_skb include/net/sock.h:1797 [inline]
__ip6_append_data+0x2d80/0x4380 net/ipv6/ip6_output.c:1659
ip6_make_skb+0x43b/0x530 net/ipv6/ip6_output.c:2056
udpv6_sendmsg+0x2383/0x32b0 net/ipv6/udp.c:1582
sock_sendmsg_nosec net/socket.c:729 [inline]
__sock_sendmsg+0xef/0x270 net/socket.c:744
____sys_sendmsg+0x52a/0x7e0 net/socket.c:2607
___sys_sendmsg net/socket.c:2661 [inline]
__sys_sendmmsg+0x3ab/0x730 net/socket.c:2747
__do_sys_sendmmsg net/socket.c:2776 [inline]
__se_sys_sendmmsg net/socket.c:2773 [inline]
__x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2773
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:0x7f6daab7dff9
RSP: 002b:00007f6dab8a2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f6daad36208 RCX: 00007f6daab7dff9
RDX: 0000000000006c00 RSI: 0000000020007e40 RDI: 0000000000000007
RBP: 00007f6daabf0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6daad36208 R15: 00007ffc7dda3198
task:syz.3.503 state:R running task stack:23512 pid:7048 tgid:7042 ppid:5238 flags:0x00000000
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
__local_bh_enable_ip+0x179/0x200 kernel/softirq.c:389
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline]
__dev_queue_xmit+0x1758/0x3f30 net/core/dev.c:4457
dev_queue_xmit include/linux/netdevice.h:3154 [inline]
neigh_hh_output include/net/neighbour.h:526 [inline]
neigh_output include/net/neighbour.h:540 [inline]
ip_finish_output2+0xd41/0x1390 net/ipv4/ip_output.c:236
ip_local_out net/ipv4/ip_output.c:130 [inline]
__ip_queue_xmit+0x118c/0x1b80 net/ipv4/ip_output.c:536
__tcp_transmit_skb+0x2544/0x3b30 net/ipv4/tcp_output.c:1466
tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline]
tcp_connect+0x1b77/0x4940 net/ipv4/tcp_output.c:4146
tcp_v4_connect+0x1127/0x1ba0 net/ipv4/tcp_ipv4.c:341
mptcp_connect+0x701/0xb20 net/mptcp/protocol.c:3793
__inet_stream_connect+0x262/0xf30 net/ipv4/af_inet.c:679
inet_stream_connect+0x65/0xa0 net/ipv4/af_inet.c:750
__sys_connect_file net/socket.c:2071 [inline]
__sys_connect+0x2d1/0x300 net/socket.c:2088
__do_sys_connect net/socket.c:2098 [inline]
__se_sys_connect net/socket.c:2095 [inline]
__x64_sys_connect+0x7a/0x90 net/socket.c:2095
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:0x7f32a137dff9
RSP: 002b:00007f32a2101038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f32a1535f80 RCX: 00007f32a137dff9
RDX: 0000000000000010 RSI: 00000000200009c0 RDI: 0000000000000006
RBP: 00007f32a13f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f32a1535f80 R15: 00007ffde4119c08
rcu: rcu_preempt kthread starved for 3983 jiffies! g15469 f0x2 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:25952 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+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 9 Comm: kworker/0:1 Not tainted 6.12.0-rc2-syzkaller-00571-g60b4d49b9621 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline]
RIP: 0010:__lock_acquire+0x12a9/0x2050 kernel/locking/lockdep.c:5199
Code: 10 8b 18 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 00 c8 2c 94 be 08 00 00 00 e8 ef 2a 8e 00 48 0f a3 1d a7 58 bc 12 <73> 1d 48 69 c3 c8 00 00 00 48 8d 98 c0 46 c4 93 48 ba 00 00 00 00
RSP: 0018:ffffc90000006430 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000022 RCX: ffffffff81706f51
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942cc800
RBP: 2886dbf14d0b5487 R08: ffffffff942cc807 R09: 1ffffffff2859900
R10: dffffc0000000000 R11: fffffbfff2859901 R12: 0000000000000000
R13: ffff88801ce80ad8 R14: 1ffff110039d017e R15: ffff88801ce80bf0
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558591d000 CR3: 000000000e734000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
__skb_flow_dissect+0x50e/0x7d00 net/core/flow_dissector.c:1125
__xfrm_decode_session+0xc2/0xf70 net/xfrm/xfrm_policy.c:3461
xfrm_decode_session include/net/xfrm.h:1258 [inline]
ip_route_me_harder+0xac4/0x1360 net/ipv4/netfilter.c:66
synproxy_send_tcp+0x356/0x6c0 net/netfilter/nf_synproxy_core.c:431
synproxy_send_client_synack+0x8b8/0xf30 net/netfilter/nf_synproxy_core.c:484
nft_synproxy_eval_v4+0x3ca/0x610 net/netfilter/nft_synproxy.c:59
nft_synproxy_do_eval+0x362/0xa60 net/netfilter/nft_synproxy.c:141
expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline]
nft_do_chain+0x4ad/0x1da0 net/netfilter/nf_tables_core.c:288
nft_do_chain_inet+0x418/0x6b0 net/netfilter/nft_chain_filter.c:161
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626
nf_hook include/linux/netfilter.h:269 [inline]
NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312
NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314
__netif_receive_skb_one_core net/core/dev.c:5668 [inline]
__netif_receive_skb+0x2bf/0x650 net/core/dev.c:5781
process_backlog+0x662/0x15b0 net/core/dev.c:6113
__napi_poll+0xcb/0x490 net/core/dev.c:6834
napi_poll net/core/dev.c:6903 [inline]
net_rx_action+0x89b/0x1240 net/core/dev.c:7025
handle_softirqs+0x2c5/0x980 kernel/softirq.c:554
do_softirq+0x11b/0x1e0 kernel/softirq.c:455
__local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382
spin_unlock_bh include/linux/spinlock.h:396 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline]
nsim_dev_trap_report_work+0x75d/0xaa0 drivers/net/netdevsim/dev.c:850
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244