rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5369/1:b..l P4900/1:b..l P5376/1:b..l
rcu: (detected by 0, t=10503 jiffies, g=8001, q=3937329 ncpus=2)
task:syz.1.15 state:R running task stack:22192 pid:5376 tgid:5368 ppid:5229 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6675
preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6854
preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6878
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
unwind_next_frame+0x18f8/0x22d0 arch/x86/kernel/unwind_orc.c:672
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
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:2678 [inline]
__put_partials+0xeb/0x130 mm/slub.c:3146
put_cpu_partial+0x17c/0x250 mm/slub.c:3221
__slab_free+0x2ea/0x3d0 mm/slub.c:4450
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_kmalloc+0x23/0xb0 mm/kasan/common.c:385
kasan_kmalloc include/linux/kasan.h:257 [inline]
__do_kmalloc_node mm/slub.c:4265 [inline]
__kmalloc_node_track_caller_noprof+0x225/0x440 mm/slub.c:4284
kstrdup+0x3a/0x80 mm/util.c:64
call_modprobe kernel/module/kmod.c:88 [inline]
__request_module+0x2d5/0x650 kernel/module/kmod.c:173
crypto_larval_lookup crypto/api.c:301 [inline]
crypto_alg_mod_lookup+0xe7/0x760 crypto/api.c:348
crypto_type_has_alg+0x2c/0x60 crypto/algapi.c:1006
xfrm_find_algo net/xfrm/xfrm_algo.c:695 [inline]
xfrm_aalg_get_byname+0x182/0x230 net/xfrm/xfrm_algo.c:743
attach_auth_trunc net/xfrm/xfrm_user.c:562 [inline]
xfrm_state_construct net/xfrm/xfrm_user.c:808 [inline]
xfrm_add_sa+0x1a80/0x3b60 net/xfrm/xfrm_user.c:898
xfrm_user_rcv_msg+0x75b/0xa80 net/xfrm/xfrm_user.c:3315
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
xfrm_netlink_rcv+0x79/0x90 net/xfrm/xfrm_user.c:3337
netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357
netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901
sock_sendmsg_nosec net/socket.c:729 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:744
____sys_sendmsg+0x52a/0x7e0 net/socket.c:2602
___sys_sendmsg net/socket.c:2656 [inline]
__sys_sendmsg+0x292/0x380 net/socket.c:2685
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:0x7efe6277dff9
RSP: 002b:00007efe634c0038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007efe62936130 RCX: 00007efe6277dff9
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000008
RBP: 00007efe627f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007efe62936130 R15: 00007ffdaf4e8348
task:dhcpcd state:R running task stack:24032 pid:4900 tgid:4900 ppid:1 flags:0x00000002
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6675
preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6854
preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6878
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
_raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
__wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108
sock_def_readable+0x20f/0x5b0 net/core/sock.c:3455
unix_dgram_sendmsg+0x1493/0x1f80 net/unix/af_unix.c:2167
sock_sendmsg_nosec net/socket.c:729 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:744
sock_write_iter+0x2d7/0x3f0 net/socket.c:1165
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:0x7f6dfcca2bf2
RSP: 002b:00007ffd9c4a2668 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000055f0a1cce710 RCX: 00007f6dfcca2bf2
RDX: 0000000000000047 RSI: 00007ffd9c4a2680 RDI: 0000000000000005
RBP: 00007ffd9c4a2680 R08: 0000000000000008 R09: 0000000000000036
R10: 0000000000000000 R11: 0000000000000246 R12: 000055f094b22efc
R13: 00007ffd9c4a2ab0 R14: 000055f0a1dd8140 R15: 0000000000000001
task:syz.3.14 state:R running task stack:23168 pid:5369 tgid:5366 ppid:5240 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6675
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6997
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:check_kcov_mode kernel/kcov.c:185 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:246 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x2f/0x90 kernel/kcov.c:314
Code: 8b 04 24 65 48 8b 14 25 c0 d7 03 00 65 8b 05 c0 f7 6e 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 5b 83 ba 1c 16 00 00 00 74 52 <8b> 82 f8 15 00 00 83 f8 03 75 47 48 8b 8a 00 16 00 00 44 8b 8a fc
RSP: 0018:ffffc90004516e10 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88802462e800 RCX: ffff888078619e00
RDX: ffff888078619e00 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff84a5b7f5 R09: 1ffffffff2858b00
R10: dffffc0000000000 R11: fffffbfff2858b01 R12: dffffc0000000000
R13: ffffea000000ad40 R14: ffff888078619e00 R15: dffffc0000000000
task_css include/linux/cgroup.h:434 [inline]
blkcg_css+0x65/0x1d0 block/blk-cgroup.c:110
blk_cgroup_congested+0xbb/0x200 block/blk-cgroup.c:2192
__folio_throttle_swaprate+0x84/0x1d0 mm/swapfile.c:3990
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:1839
shmem_get_folio_gfp+0x5a9/0x20a0 mm/shmem.c:2335
shmem_fault+0x253/0x6f0 mm/shmem.c:2536
__do_fault+0x135/0x460 mm/memory.c:4876
do_read_fault mm/memory.c:5282 [inline]
do_fault mm/memory.c:5416 [inline]
do_pte_missing mm/memory.c:3965 [inline]
handle_pte_fault+0x2d1c/0x6800 mm/memory.c:5751
__handle_mm_fault mm/memory.c:5894 [inline]
handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6062
faultin_page mm/gup.c:1187 [inline]
__get_user_pages+0x1b16/0x48d0 mm/gup.c:1485
populate_vma_page_range+0x264/0x330 mm/gup.c:1923
__mm_populate+0x27a/0x460 mm/gup.c:2026
mm_populate include/linux/mm.h:3371 [inline]
vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:593
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:0x7fdf18b7dff9
RSP: 002b:00007fdf19a33038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fdf18d36058 RCX: 00007fdf18b7dff9
RDX: 0000000000000003 RSI: 0000000000b36000 RDI: 0000000020000000
RBP: 00007fdf18bf0296 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fdf18d36058 R15: 00007ffdcbf3c5a8
rcu: rcu_preempt kthread starved for 10629 jiffies! g8001 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:25952 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5315 [inline]
__schedule+0x1895/0x4b30 kernel/sched/core.c:6675
__schedule_loop kernel/sched/core.c:6752 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6767
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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 5314 Comm: kworker/1:4 Not tainted 6.12.0-rc1-syzkaller-00238-g8b641b5e4c78 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_power_efficient htable_gc
RIP: 0010:unwind_next_frame+0x315/0x22d0 arch/x86/kernel/unwind_orc.c:505
Code: 64 48 01 d2 48 01 f2 0f 84 42 01 00 00 48 8d 5a 04 4c 8d 72 05 48 89 d8 48 c1 e8 03 48 bd 00 00 00 00 00 fc ff df 0f b6 04 28 <84> c0 0f 85 58 18 00 00 4c 89 f0 48 c1 e8 03 0f b6 04 28 84 c0 0f
RSP: 0018:ffffc90000a17230 EFLAGS: 00000a03
RAX: 0000000000000000 RBX: ffffffff9129ced4 RCX: ffffffff90877048
RDX: ffffffff9129ced0 RSI: ffffffff9129ced0 RDI: 0000000000000001
RBP: dffffc0000000000 R08: 0000000000000009 R09: ffffc90000a173f0
R10: ffffc90000a17350 R11: ffffffff81808f50 R12: 0000000000000000
R13: ffffc90000a17300 R14: ffffffff9129ced5 R15: ffffffff89fdc65e
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1bd2b3f290 CR3: 000000007d80e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
unpoison_slab_object mm/kasan/common.c:319 [inline]
__kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345
kasan_slab_alloc include/linux/kasan.h:247 [inline]
slab_post_alloc_hook mm/slub.c:4086 [inline]
slab_alloc_node mm/slub.c:4135 [inline]
kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4142
fill_pool lib/debugobjects.c:168 [inline]
debug_objects_fill_pool+0x54b/0x9f0 lib/debugobjects.c:615
debug_object_activate+0x135/0x510 lib/debugobjects.c:704
debug_rcu_head_queue kernel/rcu/rcu.h:224 [inline]
__call_rcu_common kernel/rcu/tree.c:3071 [inline]
call_rcu+0x97/0xa70 kernel/rcu/tree.c:3190
slab_free_hook mm/slub.c:2307 [inline]
slab_free mm/slub.c:4580 [inline]
kmem_cache_free+0x2fc/0x420 mm/slub.c:4682
nf_conntrack_free+0x2fd/0x390 net/netfilter/nf_conntrack_core.c:1735
nf_ct_put include/net/netfilter/nf_conntrack.h:186 [inline]
nf_conntrack_in+0xb51/0x1890 net/netfilter/nf_conntrack_core.c:2061
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626
nf_hook+0x2c4/0x450 include/linux/netfilter.h:269
__ip_local_out+0x3d9/0x4e0 net/ipv4/ip_output.c:119
ip_local_out+0x26/0x70 net/ipv4/ip_output.c:128
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: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]
htable_selective_cleanup+0x25f/0x310 net/netfilter/xt_hashlimit.c:374
htable_gc+0x1f/0xa0 net/netfilter/xt_hashlimit.c:385
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