syzbot


WARNING: suspicious RCU usage in tcp_disconnect

Status: upstream: reported C repro on 2019/05/07 08:03
Reported-by: syzbot+999f4a948e5c8343cea3@syzkaller.appspotmail.com
First crash: 2055d, last: 665d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: suspicious RCU usage in tcp_disconnect net C done 25 1437d 1438d 19/28 fixed on 2021/03/10 01:48
Fix bisection attempts (20)
Created Duration User Patch Repo Result
2023/02/25 23:00 22m bisect fix linux-4.14.y OK (0) job log log
2023/01/25 13:58 22m bisect fix linux-4.14.y OK (0) job log log
2022/11/14 09:42 20m bisect fix linux-4.14.y OK (0) job log log
2022/10/14 23:57 21m bisect fix linux-4.14.y OK (0) job log log
2022/09/14 04:18 21m bisect fix linux-4.14.y OK (0) job log log
2022/08/15 03:53 24m bisect fix linux-4.14.y OK (0) job log log
2022/07/16 03:27 26m bisect fix linux-4.14.y OK (0) job log log
2022/06/16 02:56 27m bisect fix linux-4.14.y OK (0) job log log
2022/05/17 02:15 29m bisect fix linux-4.14.y OK (0) job log log
2022/04/17 01:45 29m bisect fix linux-4.14.y OK (0) job log log
2022/03/16 11:09 21m bisect fix linux-4.14.y OK (0) job log log
2022/02/14 10:41 22m bisect fix linux-4.14.y OK (0) job log log
2022/01/15 10:15 25m bisect fix linux-4.14.y OK (0) job log log
2021/12/16 09:52 22m bisect fix linux-4.14.y OK (0) job log log
2021/11/16 09:25 27m bisect fix linux-4.14.y OK (0) job log log
2021/10/17 09:04 21m bisect fix linux-4.14.y OK (0) job log log
2021/09/17 08:16 27m bisect fix linux-4.14.y OK (0) job log log
2021/08/18 07:47 27m bisect fix linux-4.14.y OK (0) job log log
2021/07/19 07:14 22m bisect fix linux-4.14.y OK (0) job log log
2021/06/19 06:45 28m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
=============================
WARNING: suspicious RCU usage
4.14.232-syzkaller #0 Not tainted
-----------------------------
include/net/sock.h:1800 suspicious rcu_dereference_protected() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
4 locks held by kworker/u4:1/22:
 #0:  ("%s""netns"){+.+.}, at: [<ffffffff813639b0>] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2087
 #1:  (net_cleanup_work){+.+.}, at: [<ffffffff813639e6>] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2091
 #2:  (net_mutex){+.+.}, at: [<ffffffff85c0eb70>] cleanup_net+0x110/0x840 net/core/net_namespace.c:450
 #3:  (rtnl_mutex){+.+.}, at: [<ffffffff85c444de>] netdev_run_todo+0x20e/0xad0 net/core/dev.c:7926

stack backtrace:
CPU: 0 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.232-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 __sk_dst_set include/net/sock.h:1800 [inline]
 __sk_dst_reset include/net/sock.h:1820 [inline]
 tcp_disconnect+0x1412/0x1890 net/ipv4/tcp.c:2383
 rds_tcp_conn_paths_destroy net/rds/tcp.c:515 [inline]
 rds_tcp_kill_sock net/rds/tcp.c:544 [inline]
 rds_tcp_dev_event+0x73f/0xa30 net/rds/tcp.c:573
 notifier_call_chain+0x108/0x1a0 kernel/notifier.c:93
 call_netdevice_notifiers_info net/core/dev.c:1667 [inline]
 call_netdevice_notifiers net/core/dev.c:1683 [inline]
 netdev_run_todo+0x242/0xad0 net/core/dev.c:7927
 default_device_exit_batch+0x2e2/0x380 net/core/dev.c:8747
 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:145
 cleanup_net+0x3b3/0x840 net/core/net_namespace.c:484
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
device bridge_slave_1 left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
device bridge_slave_0 left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
device bridge_slave_1 left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
device bridge_slave_0 left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
device bridge_slave_1 left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
device bridge_slave_0 left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
device bridge_slave_1 left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
device bridge_slave_0 left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
device bridge_slave_1 left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
device bridge_slave_0 left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
device veth1_macvtap left promiscuous mode
device veth0_macvtap left promiscuous mode
device veth1_vlan left promiscuous mode
device veth0_vlan left promiscuous mode
device veth1_macvtap left promiscuous mode
device veth0_macvtap left promiscuous mode
device veth1_vlan left promiscuous mode
device veth0_vlan left promiscuous mode
device veth1_macvtap left promiscuous mode
device veth0_macvtap left promiscuous mode
device veth1_vlan left promiscuous mode
device veth0_vlan left promiscuous mode
device veth1_macvtap left promiscuous mode
device veth0_macvtap left promiscuous mode
device veth1_vlan left promiscuous mode
device veth0_vlan left promiscuous mode
device veth1_macvtap left promiscuous mode
device veth0_macvtap left promiscuous mode
device veth1_vlan left promiscuous mode
device veth0_vlan left promiscuous mode
device hsr_slave_1 left promiscuous mode
device hsr_slave_0 left promiscuous mode
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
device hsr_slave_1 left promiscuous mode
device hsr_slave_0 left promiscuous mode
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
device hsr_slave_1 left promiscuous mode
device hsr_slave_0 left promiscuous mode
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
device hsr_slave_1 left promiscuous mode
device hsr_slave_0 left promiscuous mode
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
device hsr_slave_1 left promiscuous mode
device hsr_slave_0 left promiscuous mode
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves

Crashes (1309):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/17 00:18 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/15 01:54 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/12 05:59 linux-4.14.y 7d7d1c0ab3eb b3c3bb8e .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/01 03:09 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/04/21 03:14 linux-4.14.y cf256fbcbe34 c0ced557 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/04/07 19:19 linux-4.14.y 0cc244011f40 6a81331a .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/03/25 11:14 linux-4.14.y 670d6552eda8 6a383ecf .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/03/01 08:12 linux-4.14.y 3242aa3a635c 4c37c133 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/02/21 15:14 linux-4.14.y 29c52025152b 3e5ed8b4 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/02/15 17:40 linux-4.14.y 2c8a3fceddf0 98682e5e .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/01/26 09:47 linux-4.14.y 2d2791fce891 52e37319 .config console log report syz C ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2020/11/01 22:49 linux-4.14.y 2b7915014161 8bc4594f .config console log report syz C ci2-linux-4-14
2020/10/14 22:01 linux-4.14.y cbfa1702aaf6 fc7735a2 .config console log report syz C ci2-linux-4-14
2020/09/07 06:44 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config console log report syz C ci2-linux-4-14
2020/03/19 08:48 linux-4.14.y 12cd844a39ed 2c31c529 .config console log report syz C ci2-linux-4-14
2020/03/18 21:56 linux-4.14.y 12cd844a39ed 0a96a13c .config console log report syz C ci2-linux-4-14
2021/05/09 06:04 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report syz ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/04/01 19:20 linux-4.14.y bd634aa64163 6a81331a .config console log report syz ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/02/21 13:17 linux-4.14.y 29c52025152b 3e5ed8b4 .config console log report syz ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/02/14 22:25 linux-4.14.y 2c8a3fceddf0 98682e5e .config console log report syz ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/20 06:24 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/19 15:56 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/19 13:12 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/18 17:41 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/18 13:42 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 23:43 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 22:23 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 21:43 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 14:03 linux-4.14.y 7d7d1c0ab3eb a2eb125d .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 12:54 linux-4.14.y 7d7d1c0ab3eb a2eb125d .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 09:56 linux-4.14.y 7d7d1c0ab3eb a2eb125d .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 06:40 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 04:36 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/17 03:35 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/16 07:55 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/16 02:39 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/16 01:32 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/16 01:19 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/15 11:19 linux-4.14.y 7d7d1c0ab3eb 93f844de .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/15 10:13 linux-4.14.y 7d7d1c0ab3eb 93f844de .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/15 07:40 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/15 05:44 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/15 03:27 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/14 23:37 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/14 21:23 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/14 12:19 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/14 04:44 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/14 03:43 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/13 18:06 linux-4.14.y 7d7d1c0ab3eb ecb594cb .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/13 01:52 linux-4.14.y 7d7d1c0ab3eb ed7d41c5 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/12 20:25 linux-4.14.y 7d7d1c0ab3eb ed7d41c5 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/12 20:03 linux-4.14.y 7d7d1c0ab3eb ed7d41c5 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/12 18:54 linux-4.14.y 7d7d1c0ab3eb ed7d41c5 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/12 17:42 linux-4.14.y 7d7d1c0ab3eb 86294427 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/12 07:29 linux-4.14.y 7d7d1c0ab3eb 86294427 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/12 00:36 linux-4.14.y 7d7d1c0ab3eb b3c3bb8e .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/11 20:59 linux-4.14.y 7d7d1c0ab3eb b3c3bb8e .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/11 19:55 linux-4.14.y 7d7d1c0ab3eb b3c3bb8e .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/11 17:32 linux-4.14.y 7d7d1c0ab3eb ca873091 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/11 00:09 linux-4.14.y 7d7d1c0ab3eb ca873091 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/10 13:18 linux-4.14.y 7d7d1c0ab3eb ca873091 .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/10 04:14 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/09 23:04 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/09 10:25 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/09 00:57 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/08 19:06 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/07 21:43 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/05/07 20:31 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 WARNING: suspicious RCU usage in tcp_disconnect
2021/01/17 07:52 linux-4.14.y f79dc86058bc 65a7a854 .config console log report info ci2-linux-4-14
2019/05/07 07:02 linux-4.14.y 6d1510d86ef6 04e9d8ce .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.