syzbot


INFO: rcu detected stall in inet_stream_connect (4)

Status: auto-obsoleted due to no activity on 2025/01/20 17:38
Subsystems: net
[Documentation on labels]
First crash: 90d, last: 90d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in inet_stream_connect (2) kernel 1 1875d 1875d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in inet_stream_connect netfilter 1 2141d 2141d 0/28 auto-closed as invalid on 2019/09/08 01:40
upstream INFO: rcu detected stall in inet_stream_connect (3) net 1 259d 259d 0/28 auto-obsoleted due to no activity on 2024/08/04 05:17
android-5-15 BUG: soft lockup in inet_stream_connect 1 259d 259d 0/2 auto-obsoleted due to no activity on 2024/08/04 08:02

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P6045/2:b..l
rcu: 	(detected by 1, t=10503 jiffies, g=12069, q=750 ncpus=2)
task:syz.2.242       state:R  running task     stack:23184 pid:6045  tgid:6043  ppid:5239   flags:0x00000000
Call Trace:
 <TASK>
 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:should_resched arch/x86/include/asm/preempt.h:103 [inline]
RIP: 0010:__local_bh_enable_ip+0x170/0x200 kernel/softirq.c:389
Code: 8c e8 e4 77 6f 0a 65 66 8b 05 c4 49 ac 7e 66 85 c0 75 5d bf 01 00 00 00 e8 3d af 0b 00 e8 f8 1c 45 00 fb 65 8b 05 88 49 ac 7e <85> c0 75 05 e8 e7 27 a9 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c
RSP: 0018:ffffc90003466d00 EFLAGS: 00000286
RAX: 0000000000000000 RBX: 1ffff9200068cda4 RCX: ffffffff8170ce6a
RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: ffffffff8c60fb20
RBP: ffffc90003466db0 R08: ffffffff942cc8bf R09: 1ffffffff2859917
R10: dffffc0000000000 R11: fffffbfff2859918 R12: dffffc0000000000
R13: 1ffff9200068cda8 R14: ffffc90003466d40 R15: 0000000000000200
 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]
 ip6_finish_output2+0x1284/0x17b0 net/ipv6/ip6_output.c:141
 ip6_finish_output+0x41e/0x840 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_connect+0x1b77/0x4940 net/ipv4/tcp_output.c:4146
 tcp_v6_connect+0x14b1/0x1e40 net/ipv6/tcp_ipv6.c:333
 __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:0x7f148737dff9
RSP: 002b:00007f14880af038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f1487535f80 RCX: 00007f148737dff9
RDX: 000000000000001c RSI: 0000000020000180 RDI: 0000000000000003
RBP: 00007f14873f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f1487535f80 R15: 00007ffe5311ba38
 </TASK>
rcu: rcu_preempt kthread starved for 3932 jiffies! g12069 f0x0 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:24304 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 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
 </TASK>
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: 5284 Comm: kworker/0:4 Not tainted 6.12.0-rc2-syzkaller-00631-g6d858708d465 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_power_efficient neigh_periodic_work
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4849 [inline]
RIP: 0010:__lock_acquire+0x80f/0x2050 kernel/locking/lockdep.c:5152
Code: 85 7a 14 00 00 48 8b 44 24 18 83 38 00 0f 94 c3 00 db 80 c3 02 48 8b 44 24 38 0f b6 04 10 84 c0 0f 85 b0 12 00 00 89 5c 24 08 <45> 3b 65 00 0f 8d ad 02 00 00 4d 63 f4 4b 8d 04 b6 48 8b 4c 24 30
RSP: 0018:ffffc90000007890 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000002302 RCX: 0000000000000002
RDX: dffffc0000000000 RSI: ffff88805f55e4e0 RDI: 000000000000000a
RBP: 0000000000000001 R08: ffffffff942cc8ef R09: 1ffffffff285991d
R10: dffffc0000000000 R11: fffffbfff285991e R12: 0000000000000002
R13: ffff88805f55e4d8 R14: 1ffff1100beabcaa R15: ffff88805f55e550
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1ce6866be7 CR3: 00000000281bc000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
 local_lock_acquire include/linux/local_lock_internal.h:29 [inline]
 process_backlog+0x358/0x15b0 net/core/dev.c:6109
 __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
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382
 neigh_periodic_work+0xb35/0xd50 net/core/neighbour.c:1019
 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
 </TASK>
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/22 17:37 net-next 6d858708d465 9d74f456 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in inet_stream_connect
* Struck through repros no longer work on HEAD.