rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5901/1:b..l P5924/2:b..l
rcu: (detected by 0, t=10503 jiffies, g=8661, q=1618723 ncpus=2)
task:syz.0.246 state:R running task stack:24432 pid:5924 tgid:5922 ppid:5239 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+0x171d/0x3ed0 net/core/dev.c:4455
dev_queue_xmit include/linux/netdevice.h:3099 [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_send_syn_data net/ipv4/tcp_output.c:4059 [inline]
tcp_connect+0x2c21/0x4940 net/ipv4/tcp_output.c:4145
tcp_v4_connect+0x1127/0x1ba0 net/ipv4/tcp_ipv4.c:341
__inet_stream_connect+0x262/0xf30 net/ipv4/af_inet.c:679
tcp_sendmsg_fastopen+0x3a2/0x5d0 net/ipv4/tcp.c:1039
tcp_sendmsg_locked+0x48d2/0x4f30 net/ipv4/tcp.c:1091
tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1358
sock_sendmsg_nosec net/socket.c:729 [inline]
__sock_sendmsg+0x1a6/0x270 net/socket.c:744
__sys_sendto+0x39b/0x4f0 net/socket.c:2214
__do_sys_sendto net/socket.c:2226 [inline]
__se_sys_sendto net/socket.c:2222 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2222
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:0x7fe71b17dff9
RSP: 002b:00007fe71bef2038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fe71b335f80 RCX: 00007fe71b17dff9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fe71b1f0296 R08: 0000000020e68000 R09: 0000000000000010
R10: 00000000200007fd R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe71b335f80 R15: 00007ffe8d28dfd8
task:syz.2.234 state:R running task stack:21664 pid:5901 tgid:5899 ppid:5246 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: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:ffffc900092bf590 EFLAGS: 00000206
RAX: 240440b7480f1c00 RBX: 0000000000000000 RCX: 0000000080000000
RDX: ffff888024f5bc00 RSI: ffffffff8c0ae080 RDI: ffffffff8c6117e0
RBP: 0000000000000003 R08: ffffffff84a71909 R09: 1ffffffff285bf00
R10: dffffc0000000000 R11: fffffbfff285bf01 R12: 0000000000000246
R13: ffff888024f5bc00 R14: 00000000ffffffff R15: ffffffff8e96e268
lock_is_held include/linux/lockdep.h:249 [inline]
task_css include/linux/cgroup.h:434 [inline]
blkcg_css+0xa2/0x1d0 block/blk-cgroup.c:110
blk_cgroup_congested+0xbb/0x200 block/blk-cgroup.c:2192
__folio_throttle_swaprate+0x84/0x1d0 mm/swapfile.c:3991
folio_throttle_swaprate include/linux/swap.h:645 [inline]
shmem_add_to_page_cache+0x816/0x1690 mm/shmem.c:801
shmem_alloc_and_add_folio+0x96a/0x13d0 mm/shmem.c:1858
shmem_get_folio_gfp+0x5a9/0x20a0 mm/shmem.c:2354
shmem_get_folio mm/shmem.c:2460 [inline]
shmem_write_begin+0x17e/0x460 mm/shmem.c:3065
generic_perform_write+0x344/0x6d0 mm/filemap.c:4056
shmem_file_write_iter+0xf9/0x120 mm/shmem.c:3240
new_sync_write fs/read_write.c:590 [inline]
vfs_write+0xa6d/0xc90 fs/read_write.c:683
ksys_write+0x183/0x2b0 fs/read_write.c:736
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:0x7f857c17cadf
RSP: 002b:00007f857cfe0df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f857c17cadf
RDX: 0000000001000000 RSI: 00007f8571800000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000050e6
R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000003
R13: 00007f857cfe0ef0 R14: 00007f857cfe0eb0 R15: 00007f8571800000
rcu: rcu_preempt kthread starved for 10569 jiffies! g8661 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:25680 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+0x15a/0x290 kernel/time/sleep_timeout.c:99
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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 940 Comm: kworker/1:3 Not tainted 6.12.0-rc2-next-20241010-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:stack_trace_consume_entry+0x111/0x280 kernel/stacktrace.c:93
Code: 8d 1c c3 48 89 d8 48 c1 e8 03 80 3c 10 00 74 1a 4d 89 cf 48 89 df 49 89 d6 49 89 f5 e8 28 0d 7e 00 4d 89 f9 4c 89 ee 4c 89 f2 <48> 89 33 41 8b 19 41 0f b6 04 14 84 c0 0f 85 34 01 00 00 3b 5d 00
RSP: 0018:ffffc90000a17bd0 EFLAGS: 00000246
RAX: 1ffff92000142fbc RBX: ffffc90000a17de0 RCX: ffffffff917c8000
RDX: dffffc0000000000 RSI: ffffffff89f4d848 RDI: ffffc90000a17d0c
RBP: ffffc90000a17d08 R08: 0000000000000008 R09: ffffc90000a17d10
R10: ffffc90000a17c70 R11: ffffffff8180a510 R12: 1ffff92000142fa1
R13: 1ffff92000142fa1 R14: 0000000000000009 R15: 1ffff92000142fa2
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200001c0 CR3: 000000005f1c6000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x10e/0x150 arch/x86/kernel/stacktrace.c:27
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47
__kasan_record_aux_stack+0xac/0xc0 mm/kasan/generic.c:544
__call_rcu_common kernel/rcu/tree.c:3086 [inline]
call_rcu+0x167/0xa70 kernel/rcu/tree.c:3190
refdst_drop include/net/dst.h:263 [inline]
skb_dst_drop include/net/dst.h:275 [inline]
skb_release_head_state+0x73/0x250 net/core/skbuff.c:1174
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb net/core/skbuff.c:1204 [inline]
consume_skb+0x60/0xf0 net/core/skbuff.c:1436
nft_synproxy_eval_v4+0x3d2/0x610 net/netfilter/nft_synproxy.c:60
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:5666 [inline]
__netif_receive_skb+0x2bf/0x650 net/core/dev.c:5779
process_backlog+0x662/0x15b0 net/core/dev.c:6111
__napi_poll+0xcb/0x490 net/core/dev.c:6775
napi_poll net/core/dev.c:6844 [inline]
net_rx_action+0x89b/0x1240 net/core/dev.c:6966
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