rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5613/1:b..l P5290/1:b..l P6639/2:b..l rcu: (detected by 1, t=10503 jiffies, g=17065, q=721538 ncpus=2) task:syz.0.331 state:R running task stack:23856 pid:6639 tgid:6638 ppid:5228 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:3094 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0xfc9/0x1730 net/ipv6/ip6_output.c:141 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:226 NF_HOOK include/linux/netfilter.h:314 [inline] ip6_xmit+0xef8/0x18b0 net/ipv6/ip6_output.c:366 inet6_csk_xmit+0x468/0x710 net/ipv6/inet6_connection_sock.c:135 __tcp_transmit_skb+0x1ed1/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:4056 [inline] tcp_connect+0x2c21/0x4940 net/ipv4/tcp_output.c:4142 tcp_v6_connect+0x14b1/0x1e40 net/ipv6/tcp_ipv6.c:333 __inet_stream_connect+0x264/0xf30 net/ipv4/af_inet.c:679 tcp_sendmsg_fastopen+0x3a2/0x5d0 net/ipv4/tcp.c:1038 tcp_sendmsg_locked+0x4a23/0x50a0 net/ipv4/tcp.c:1090 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1357 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0xef/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:0x7ff86277dff9 RSP: 002b:00007ff8621ff038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007ff862935f80 RCX: 00007ff86277dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007ff8627f0296 R08: 0000000020b63fe4 R09: 000000000000001c R10: 0000000022004001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff862935f80 R15: 00007ffceddc5c38 task:udevd state:R running task stack:23872 pid:5290 tgid:5290 ppid:4680 flags:0x00000002 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:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:216 Code: 8b 3d 04 fb 9c 0c 48 89 de 5b e9 83 ca 5d 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 c0 d7 03 00 65 8b 15 60 f0 6e 7e 81 e2 00 01 ff 00 RSP: 0018:ffffc90003e277b8 EFLAGS: 00000246 RAX: ffffffff82157d83 RBX: ffffc90003e27898 RCX: 1ffff920007c4f57 RDX: ffff8880618b3c00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003e27920 R08: ffffffff82157d70 R09: 1ffff1100469386c R10: dffffc0000000000 R11: ffffed100469386d R12: 0000000000210000 R13: ffffc90003e27a80 R14: dffffc0000000000 R15: 0000000000000000 __follow_mount_rcu fs/namei.c:1524 [inline] handle_mounts fs/namei.c:1562 [inline] step_into+0x6f3/0x1080 fs/namei.c:1891 walk_component fs/namei.c:2059 [inline] link_path_walk+0x7b7/0xea0 fs/namei.c:2418 path_parentat fs/namei.c:2627 [inline] __filename_parentat+0x263/0x6f0 fs/namei.c:2651 filename_parentat fs/namei.c:2669 [inline] do_renameat2+0x3b8/0x13f0 fs/namei.c:5082 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5215 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:0x7f354fe9a93b RSP: 002b:00007ffeaadc0548 EFLAGS: 00000206 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f354fe9a93b RDX: 00005591227e1664 RSI: 00007ffeaadc0568 RDI: 00007ffeaadc0968 RBP: 000055947b395380 R08: 0000000000000006 R09: a5d1fe5c8440bed9 R10: 00000000000001b6 R11: 0000000000000206 R12: 000055947b3a4b30 R13: 00007ffeaadc0568 R14: 00007ffeaadc0968 R15: 000055945fbfd160 task:udevd state:R running task stack:23248 pid:5613 tgid:5613 ppid:4680 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:latch_tree_find include/linux/rbtree_latch.h:208 [inline] RIP: 0010:bpf_ksym_find kernel/bpf/core.c:735 [inline] RIP: 0010:is_bpf_text_address+0xf0/0x2a0 kernel/bpf/core.c:768 Code: 00 00 00 00 00 fc ff df 8b 2d 5c 00 bd 0c 48 89 6c 24 08 83 e5 01 48 8d 1c ed b0 f3 60 8e 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 46 a7 5a 00 48 8b 1b 48 85 db 0f 84 b6 00 00 00 RSP: 0018:ffffc9000454f5c8 EFLAGS: 00000246 RAX: 1ffffffff1cc1e76 RBX: ffffffff8e60f3b0 RCX: ffff88802d53da00 RDX: 0000000000000000 RSI: ffffffff8c610100 RDI: ffffffff8c6100c0 RBP: 0000000000000000 R08: ffffffff81a3f2aa R09: 1ffffffff2859300 R10: dffffc0000000000 R11: fffffbfff2859301 R12: ffff88802d53da00 R13: dffffc0000000000 R14: 0000000000000001 R15: 00007f354ff170a8 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 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:541 __call_rcu_common kernel/rcu/tree.c:3086 [inline] call_rcu+0x167/0xa70 kernel/rcu/tree.c:3190 __destroy_inode+0x2d9/0x670 fs/inode.c:290 destroy_inode fs/inode.c:313 [inline] evict+0x78b/0x9b0 fs/inode.c:756 __dentry_kill+0x20d/0x630 fs/dcache.c:615 dput+0x19f/0x2b0 fs/dcache.c:857 __fput+0x5d2/0x880 fs/file_table.c:439 task_work_run+0x251/0x310 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f354ff170a8 RSP: 002b:00007ffeaadc0de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f35503c3ae0 RCX: 00007f354ff170a8 RDX: 00005591227e1664 RSI: 00007ffeaadc05e8 RDI: 0000000000000008 RBP: 000055947b395380 R08: 0000000000000006 R09: a5d1fe5c8440bed9 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 000055947b38dc40 R14: 0000000000000008 R15: 000055947b376910 rcu: rcu_preempt kthread starved for 10545 jiffies! g17065 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:25888 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 5358 Comm: kworker/0:9 Not tainted 6.12.0-rc3-syzkaller-00087-gc964ced77262 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:ipv4_conntrack_in+0x15/0x20 net/netfilter/nf_conntrack_proto.c:207 Code: ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 56 53 49 89 d6 48 89 f3 e8 4e 9c b5 f7 48 89 df <4c> 89 f6 5b 41 5e e9 50 94 fe ff 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000007820 EFLAGS: 00000246 RAX: ffffffff89df4b02 RBX: ffff8882153d7dc0 RCX: ffff888071951e00 RDX: 0000000000000100 RSI: ffff8882153d7dc0 RDI: ffff8882153d7dc0 RBP: ffffffff89df4af0 R08: 0000000000000001 R09: ffffffff89daf147 R10: 0000000000000004 R11: ffffffff89df4af0 R12: ffffc900000078e0 R13: 0000000000000003 R14: ffffc900000078e0 R15: 1ffff1100c72ae20 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6082441d58 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc5/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 __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+0xcd/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+0x2c7/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+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244