possible deadlock in ieee80211_remove_interfaces ====================================================== WARNING: possible circular locking dependency detected 6.13.0-syzkaller-gb46c89c08f41 #0 Not tainted ------------------------------------------------------ kworker/u4:11/3078 is trying to acquire lock: ffffffff8fcc33c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_acquire_if_cleanup_net net/core/dev.c:10272 [inline] ffffffff8fcc33c8 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 net/core/dev.c:11792 but task is already holding lock: ffff888050b00768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline] ffff888050b00768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 net/mac80211/iface.c:2280 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851 __mutex_lock_common kernel/locking/mutex.c:585 [inline] __mutex_lock+0x19c/0x1010 kernel/locking/mutex.c:730 wiphy_lock include/net/cfg80211.h:6046 [inline] wiphy_register+0x1a49/0x27b0 net/wireless/core.c:1006 ieee80211_register_hw+0x354e/0x4240 net/mac80211/main.c:1587 mac80211_hwsim_new_radio+0x2a9f/0x4a90 drivers/net/wireless/virtual/mac80211_hwsim.c:5558 init_mac80211_hwsim+0x87a/0xb00 drivers/net/wireless/virtual/mac80211_hwsim.c:6910 do_one_initcall+0x248/0x870 init/main.c:1267 do_initcall_level+0x157/0x210 init/main.c:1329 do_initcalls+0x3f/0x80 init/main.c:1345 kernel_init_freeable+0x435/0x5d0 init/main.c:1578 kernel_init+0x1d/0x2b0 init/main.c:1467 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 -> #0 (rtnl_mutex){+.+.}-{4:4}: check_prev_add kernel/locking/lockdep.c:3163 [inline] check_prevs_add kernel/locking/lockdep.c:3282 [inline] validate_chain+0x18ef/0x5920 kernel/locking/lockdep.c:3906 __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5228 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851 __mutex_lock_common kernel/locking/mutex.c:585 [inline] __mutex_lock+0x19c/0x1010 kernel/locking/mutex.c:730 rtnl_acquire_if_cleanup_net net/core/dev.c:10272 [inline] unregister_netdevice_many_notify+0xac2/0x2030 net/core/dev.c:11792 unregister_netdevice_many net/core/dev.c:11875 [inline] unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11741 unregister_netdevice include/linux/netdevice.h:3329 [inline] _cfg80211_unregister_wdev+0x163/0x590 net/wireless/core.c:1251 ieee80211_remove_interfaces+0x4ef/0x700 net/mac80211/iface.c:2305 ieee80211_unregister_hw+0x5d/0x2c0 net/mac80211/main.c:1681 mac80211_hwsim_del_radio+0x2c4/0x4c0 drivers/net/wireless/virtual/mac80211_hwsim.c:5664 hwsim_exit_net+0x5c1/0x670 drivers/net/wireless/virtual/mac80211_hwsim.c:6544 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x812/0xd60 net/core/net_namespace.c:652 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&rdev->wiphy.mtx); lock(rtnl_mutex); lock(&rdev->wiphy.mtx); lock(rtnl_mutex); *** DEADLOCK *** 4 locks held by kworker/u4:11/3078: #0: ffff88801baef148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801baef148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000e017c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000e017c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcb6e10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 net/core/net_namespace.c:606 #3: ffff888050b00768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline] #3: ffff888050b00768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 net/mac80211/iface.c:2280 stack backtrace: CPU: 0 UID: 0 PID: 3078 Comm: kworker/u4:11 Not tainted 6.13.0-syzkaller-gb46c89c08f41 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_circular_bug+0x13a/0x1b0 kernel/locking/lockdep.c:2076 check_noncircular+0x36a/0x4a0 kernel/locking/lockdep.c:2208 check_prev_add kernel/locking/lockdep.c:3163 [inline] check_prevs_add kernel/locking/lockdep.c:3282 [inline] validate_chain+0x18ef/0x5920 kernel/locking/lockdep.c:3906 __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5228 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851 __mutex_lock_common kernel/locking/mutex.c:585 [inline] __mutex_lock+0x19c/0x1010 kernel/locking/mutex.c:730 rtnl_acquire_if_cleanup_net net/core/dev.c:10272 [inline] unregister_netdevice_many_notify+0xac2/0x2030 net/core/dev.c:11792 unregister_netdevice_many net/core/dev.c:11875 [inline] unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11741 unregister_netdevice include/linux/netdevice.h:3329 [inline] _cfg80211_unregister_wdev+0x163/0x590 net/wireless/core.c:1251 ieee80211_remove_interfaces+0x4ef/0x700 net/mac80211/iface.c:2305 ieee80211_unregister_hw+0x5d/0x2c0 net/mac80211/main.c:1681 mac80211_hwsim_del_radio+0x2c4/0x4c0 drivers/net/wireless/virtual/mac80211_hwsim.c:5664 hwsim_exit_net+0x5c1/0x670 drivers/net/wireless/virtual/mac80211_hwsim.c:6544 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x812/0xd60 net/core/net_namespace.c:652 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 bridge_slave_1: left allmulticast mode bridge_slave_1: left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state bridge_slave_0: left allmulticast mode bridge_slave_0: left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (unregistering): Released all slaves hsr_slave_0: left promiscuous mode hsr_slave_1: left promiscuous mode 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 veth1_macvtap: left promiscuous mode veth0_macvtap: left promiscuous mode veth1_vlan: left promiscuous mode veth0_vlan: left promiscuous mode team0 (unregistering): Port device team_slave_1 removed team0 (unregistering): Port device team_slave_0 removed Warning: Permanently added '[localhost]:47223' (ED25519) to the list of known hosts. 2025/01/25 15:32:27 ignoring optional flag "sandboxArg"="0" 2025/01/25 15:32:28 parsed 1 programs [ 73.339710][ T5304] cgroup: Unknown subsys name 'net' [ 73.408066][ T5304] cgroup: Unknown subsys name 'cpuset' [ 73.412358][ T5304] cgroup: Unknown subsys name 'rlimit' [ 74.865309][ T5304] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 76.347533][ T1309] ieee802154 phy0 wpan0: encryption failed: -22 [ 76.350081][ T1309] ieee802154 phy1 wpan1: encryption failed: -22 [ 78.342690][ T5314] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [ 79.338512][ T5331] syz-executor (5331) used greatest stack depth: 20112 bytes left [ 79.473658][ T5336] chnl_net:caif_netlink_parms(): no params data found [ 79.515310][ T5336] bridge0: port 1(bridge_slave_0) entered blocking state [ 79.518885][ T5336] bridge0: port 1(bridge_slave_0) entered disabled state [ 79.521725][ T5336] bridge_slave_0: entered allmulticast mode [ 79.525130][ T5336] bridge_slave_0: entered promiscuous mode [ 79.530030][ T5336] bridge0: port 2(bridge_slave_1) entered blocking state [ 79.532691][ T5336] bridge0: port 2(bridge_slave_1) entered disabled state [ 79.536486][ T5336] bridge_slave_1: entered allmulticast mode [ 79.539407][ T5336] bridge_slave_1: entered promiscuous mode [ 79.559792][ T5336] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 79.565717][ T5336] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 79.584902][ T5336] team0: Port device team_slave_0 added [ 79.588674][ T5336] team0: Port device team_slave_1 added [ 79.602406][ T5336] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 79.605304][ T5336] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 79.616068][ T5336] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 79.622225][ T5336] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 79.626353][ T5336] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 79.636821][ T5336] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 79.658685][ T5336] hsr_slave_0: entered promiscuous mode [ 79.661423][ T5336] hsr_slave_1: entered promiscuous mode [ 79.747963][ T5336] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 79.753431][ T5336] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 79.758991][ T5336] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 79.763964][ T5336] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 79.793632][ T5336] bridge0: port 2(bridge_slave_1) entered blocking state [ 79.797034][ T5336] bridge0: port 2(bridge_slave_1) entered forwarding state [ 79.801064][ T5336] bridge0: port 1(bridge_slave_0) entered blocking state [ 79.803642][ T5336] bridge0: port 1(bridge_slave_0) entered forwarding state [ 79.859624][ T5336] 8021q: adding VLAN 0 to HW filter on device bond0 [ 79.870785][ T1036] bridge0: port 1(bridge_slave_0) entered disabled state [ 79.874275][ T1036] bridge0: port 2(bridge_slave_1) entered disabled state [ 79.882579][ T5336] 8021q: adding VLAN 0 to HW filter on device team0 [ 79.890025][ T3078] bridge0: port 1(bridge_slave_0) entered blocking state [ 79.892438][ T3078] bridge0: port 1(bridge_slave_0) entered forwarding state [ 79.908472][ T3078] bridge0: port 2(bridge_slave_1) entered blocking state [ 79.911262][ T3078] bridge0: port 2(bridge_slave_1) entered forwarding state [ 80.040258][ T5336] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 80.071602][ T5336] veth0_vlan: entered promiscuous mode [ 80.079293][ T5336] veth1_vlan: entered promiscuous mode [ 80.102358][ T5336] veth0_macvtap: entered promiscuous mode [ 80.108765][ T5336] veth1_macvtap: entered promiscuous mode [ 80.121784][ T5336] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 80.131518][ T5336] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 80.137360][ T5336] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 80.140908][ T5336] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 80.144209][ T5336] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 80.149340][ T5336] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 80.279438][ T5336] syz-executor (5336) used greatest stack depth: 19632 bytes left [ 80.296899][ T3078] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 80.353756][ T3078] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 80.397365][ T3078] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 80.490885][ T3078] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 81.157781][ T5367] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 81.161624][ T48] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 81.170130][ T48] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 81.173452][ T48] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 81.177587][ T48] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 81.180604][ T48] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 82.046976][ T1041] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 82.050157][ T1041] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 82.091435][ T1032] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 82.095307][ T1032] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 2025/01/25 15:32:40 executed programs: 0 [ 82.604609][ T4662] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 82.608831][ T4662] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 82.611813][ T4662] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 82.616452][ T4662] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 82.619507][ T4662] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 82.622722][ T4662] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 82.732592][ T5397] chnl_net:caif_netlink_parms(): no params data found [ 82.772897][ T5397] bridge0: port 1(bridge_slave_0) entered blocking state [ 82.776184][ T5397] bridge0: port 1(bridge_slave_0) entered disabled state [ 82.778900][ T5397] bridge_slave_0: entered allmulticast mode [ 82.781944][ T5397] bridge_slave_0: entered promiscuous mode [ 82.789010][ T5397] bridge0: port 2(bridge_slave_1) entered blocking state [ 82.792226][ T5397] bridge0: port 2(bridge_slave_1) entered disabled state [ 82.796556][ T5397] bridge_slave_1: entered allmulticast mode [ 82.799496][ T5397] bridge_slave_1: entered promiscuous mode [ 82.816825][ T5397] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 82.822240][ T5397] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 82.845804][ T5397] team0: Port device team_slave_0 added [ 82.850772][ T5397] team0: Port device team_slave_1 added [ 82.868289][ T5397] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 82.870985][ T5397] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 82.881686][ T5397] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 82.888448][ T5397] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 82.891063][ T5397] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 82.901993][ T5397] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 82.923693][ T5397] hsr_slave_0: entered promiscuous mode [ 82.927301][ T5397] hsr_slave_1: entered promiscuous mode [ 82.929930][ T5397] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 82.933013][ T5397] Cannot create hsr debugfs directory [ 83.298493][ T3078] bridge_slave_1: left allmulticast mode [ 83.300979][ T3078] bridge_slave_1: left promiscuous mode [ 83.303754][ T3078] bridge0: port 2(bridge_slave_1) entered disabled state [ 83.346919][ T3078] bridge_slave_0: left allmulticast mode [ 83.349160][ T3078] bridge_slave_0: left promiscuous mode [ 83.352306][ T3078] bridge0: port 1(bridge_slave_0) entered disabled state [ 83.780416][ T3078] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 83.787766][ T3078] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 83.792066][ T3078] bond0 (unregistering): Released all slaves [ 83.892196][ T3078] hsr_slave_0: left promiscuous mode [ 83.896801][ T3078] hsr_slave_1: left promiscuous mode [ 83.899261][ T3078] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 83.902143][ T3078] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 83.907463][ T3078] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 83.910452][ T3078] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 83.920948][ T3078] veth1_macvtap: left promiscuous mode [ 83.923515][ T3078] veth0_macvtap: left promiscuous mode [ 83.928312][ T3078] veth1_vlan: left promiscuous mode [ 83.930990][ T3078] veth0_vlan: left promiscuous mode [ 84.219282][ T3078] team0 (unregistering): Port device team_slave_1 removed [ 84.239079][ T3078] team0 (unregistering): Port device team_slave_0 removed [ 84.604250][ T5397] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 84.629261][ T5397] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 84.648584][ T5397] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 84.670336][ T4662] Bluetooth: hci0: command tx timeout [ 84.676337][ T5397] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 85.082004][ T5397] 8021q: adding VLAN 0 to HW filter on device bond0 [ 85.103644][ T5397] 8021q: adding VLAN 0 to HW filter on device team0 [ 85.128724][ T1036] bridge0: port 1(bridge_slave_0) entered blocking state [ 85.131544][ T1036] bridge0: port 1(bridge_slave_0) entered forwarding state [ 85.155175][ T1041] bridge0: port 2(bridge_slave_1) entered blocking state [ 85.158545][ T1041] bridge0: port 2(bridge_slave_1) entered forwarding state [ 85.267000][ T3078] [ 85.267990][ T3078] ====================================================== [ 85.271161][ T3078] WARNING: possible circular locking dependency detected [ 85.274687][ T3078] 6.13.0-syzkaller-gb46c89c08f41 #0 Not tainted [ 85.278508][ T3078] ------------------------------------------------------ [ 85.281792][ T3078] kworker/u4:11/3078 is trying to acquire lock: [ 85.284742][ T3078] ffffffff8fcc33c8 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 [ 85.288753][ T3078] [ 85.288753][ T3078] but task is already holding lock: [ 85.291571][ T3078] ffff888050b00768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 85.295384][ T3078] [ 85.295384][ T3078] which lock already depends on the new lock. [ 85.295384][ T3078] [ 85.299206][ T3078] [ 85.299206][ T3078] the existing dependency chain (in reverse order) is: [ 85.302425][ T3078] [ 85.302425][ T3078] -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}: [ 85.305601][ T3078] lock_acquire+0x1ed/0x550 [ 85.307592][ T3078] __mutex_lock+0x19c/0x1010 [ 85.309431][ T3078] wiphy_register+0x1a49/0x27b0 [ 85.311468][ T3078] ieee80211_register_hw+0x354e/0x4240 [ 85.313850][ T3078] mac80211_hwsim_new_radio+0x2a9f/0x4a90 [ 85.316297][ T3078] init_mac80211_hwsim+0x87a/0xb00 [ 85.318668][ T3078] do_one_initcall+0x248/0x870 [ 85.321205][ T3078] do_initcall_level+0x157/0x210 [ 85.323353][ T3078] do_initcalls+0x3f/0x80 [ 85.325183][ T3078] kernel_init_freeable+0x435/0x5d0 [ 85.327236][ T3078] kernel_init+0x1d/0x2b0 [ 85.329089][ T3078] ret_from_fork+0x4b/0x80 [ 85.330956][ T3078] ret_from_fork_asm+0x1a/0x30 [ 85.332931][ T3078] [ 85.332931][ T3078] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 85.335782][ T3078] validate_chain+0x18ef/0x5920 [ 85.337781][ T3078] __lock_acquire+0x1397/0x2100 [ 85.339737][ T3078] lock_acquire+0x1ed/0x550 [ 85.341555][ T3078] __mutex_lock+0x19c/0x1010 [ 85.343387][ T3078] unregister_netdevice_many_notify+0xac2/0x2030 [ 85.345869][ T3078] unregister_netdevice_queue+0x303/0x370 [ 85.348220][ T3078] _cfg80211_unregister_wdev+0x163/0x590 [ 85.350501][ T3078] ieee80211_remove_interfaces+0x4ef/0x700 [ 85.352846][ T3078] ieee80211_unregister_hw+0x5d/0x2c0 [ 85.355062][ T3078] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 85.357413][ T3078] hwsim_exit_net+0x5c1/0x670 [ 85.359444][ T3078] cleanup_net+0x812/0xd60 [ 85.361321][ T3078] process_scheduled_works+0xa66/0x1840 [ 85.363609][ T3078] worker_thread+0x870/0xd30 [ 85.365553][ T3078] kthread+0x7a9/0x920 [ 85.367354][ T3078] ret_from_fork+0x4b/0x80 [ 85.369239][ T3078] ret_from_fork_asm+0x1a/0x30 [ 85.371237][ T3078] [ 85.371237][ T3078] other info that might help us debug this: [ 85.371237][ T3078] [ 85.375175][ T3078] Possible unsafe locking scenario: [ 85.375175][ T3078] [ 85.378144][ T3078] CPU0 CPU1 [ 85.380271][ T3078] ---- ---- [ 85.382396][ T3078] lock(&rdev->wiphy.mtx); [ 85.384158][ T3078] lock(rtnl_mutex); [ 85.386646][ T3078] lock(&rdev->wiphy.mtx); [ 85.389557][ T3078] lock(rtnl_mutex); [ 85.391111][ T3078] [ 85.391111][ T3078] *** DEADLOCK *** [ 85.391111][ T3078] [ 85.394207][ T3078] 4 locks held by kworker/u4:11/3078: [ 85.396336][ T3078] #0: ffff88801baef148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 [ 85.400478][ T3078] #1: ffffc9000e017c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 [ 85.404502][ T3078] #2: ffffffff8fcb6e10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 [ 85.408135][ T3078] #3: ffff888050b00768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 85.412187][ T3078] [ 85.412187][ T3078] stack backtrace: [ 85.414553][ T3078] CPU: 0 UID: 0 PID: 3078 Comm: kworker/u4:11 Not tainted 6.13.0-syzkaller-gb46c89c08f41 #0 [ 85.414568][ T3078] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 85.414581][ T3078] Workqueue: netns cleanup_net [ 85.414601][ T3078] Call Trace: [ 85.414607][ T3078] [ 85.414612][ T3078] dump_stack_lvl+0x241/0x360 [ 85.414626][ T3078] ? __pfx_dump_stack_lvl+0x10/0x10 [ 85.414638][ T3078] ? __pfx__printk+0x10/0x10 [ 85.414655][ T3078] print_circular_bug+0x13a/0x1b0 [ 85.414666][ T3078] check_noncircular+0x36a/0x4a0 [ 85.414677][ T3078] ? __pfx_check_noncircular+0x10/0x10 [ 85.414687][ T3078] ? lockdep_lock+0x123/0x2b0 [ 85.414703][ T3078] validate_chain+0x18ef/0x5920 [ 85.414717][ T3078] ? __pfx_validate_chain+0x10/0x10 [ 85.414729][ T3078] ? mark_lock+0x9a/0x360 [ 85.414743][ T3078] ? __lock_acquire+0x1397/0x2100 [ 85.414753][ T3078] ? mark_lock+0x9a/0x360 [ 85.414767][ T3078] __lock_acquire+0x1397/0x2100 [ 85.414782][ T3078] lock_acquire+0x1ed/0x550 [ 85.414795][ T3078] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 85.414812][ T3078] ? __pfx_lock_acquire+0x10/0x10 [ 85.414825][ T3078] ? __pfx___might_resched+0x10/0x10 [ 85.414839][ T3078] ? finish_wait+0xd4/0x1e0 [ 85.414853][ T3078] __mutex_lock+0x19c/0x1010 [ 85.414866][ T3078] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 85.414882][ T3078] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 85.414905][ T3078] ? __pfx___mutex_lock+0x10/0x10 [ 85.414917][ T3078] ? __pfx___might_resched+0x10/0x10 [ 85.414929][ T3078] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 85.414944][ T3078] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 85.414959][ T3078] unregister_netdevice_many_notify+0xac2/0x2030 [ 85.414974][ T3078] ? mark_lock+0x9a/0x360 [ 85.414989][ T3078] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 85.415004][ T3078] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 85.415015][ T3078] ? __pfx_lock_release+0x10/0x10 [ 85.415032][ T3078] unregister_netdevice_queue+0x303/0x370 [ 85.415046][ T3078] ? __pfx_up_write+0x10/0x10 [ 85.415055][ T3078] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 85.415069][ T3078] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 85.415080][ T3078] _cfg80211_unregister_wdev+0x163/0x590 [ 85.415094][ T3078] ieee80211_remove_interfaces+0x4ef/0x700 [ 85.415111][ T3078] ? __pfx_ieee80211_remove_interfaces+0x10/0x10 [ 85.415125][ T3078] ? rcu_is_watching+0x15/0xb0 [ 85.415137][ T3078] ieee80211_unregister_hw+0x5d/0x2c0 [ 85.415150][ T3078] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 85.415166][ T3078] ? __pfx_mac80211_hwsim_del_radio+0x10/0x10 [ 85.415182][ T3078] hwsim_exit_net+0x5c1/0x670 [ 85.415195][ T3078] ? __pfx_hwsim_exit_net+0x10/0x10 [ 85.415208][ T3078] ? __ip_vs_dev_cleanup_batch+0x239/0x260 [ 85.415222][ T3078] cleanup_net+0x812/0xd60 [ 85.415235][ T3078] ? __pfx_cleanup_net+0x10/0x10 [ 85.415249][ T3078] ? process_scheduled_works+0x976/0x1840 [ 85.415261][ T3078] process_scheduled_works+0xa66/0x1840 [ 85.415278][ T3078] ? __pfx_process_scheduled_works+0x10/0x10 [ 85.415291][ T3078] ? assign_work+0x364/0x3d0 [ 85.415303][ T3078] worker_thread+0x870/0xd30 [ 85.415316][ T3078] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 85.415328][ T3078] ? __kthread_parkme+0x169/0x1d0 [ 85.415341][ T3078] ? __pfx_worker_thread+0x10/0x10 [ 85.415353][ T3078] kthread+0x7a9/0x920 [ 85.415366][ T3078] ? __pfx_kthread+0x10/0x10 [ 85.415379][ T3078] ? __pfx_worker_thread+0x10/0x10 [ 85.415389][ T3078] ? __pfx_kthread+0x10/0x10 [ 85.415402][ T3078] ? __pfx_kthread+0x10/0x10 [ 85.415415][ T3078] ? __pfx_kthread+0x10/0x10 [ 85.415427][ T3078] ? _raw_spin_unlock_irq+0x23/0x50 [ 85.415436][ T3078] ? lockdep_hardirqs_on+0x99/0x150 [ 85.415447][ T3078] ? __pfx_kthread+0x10/0x10 [ 85.415460][ T3078] ret_from_fork+0x4b/0x80 [ 85.415472][ T3078] ? __pfx_kthread+0x10/0x10 [ 85.415484][ T3078] ret_from_fork_asm+0x1a/0x30 [ 85.415500][ T3078] [ 85.700925][ T5397] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 85.723824][ T5397] veth0_vlan: entered promiscuous mode [ 85.729067][ T5397] veth1_vlan: entered promiscuous mode [ 85.761853][ T5397] veth0_macvtap: entered promiscuous mode [ 85.767400][ T5397] veth1_macvtap: entered promiscuous mode [ 85.792158][ T5397] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 85.798611][ T5397] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 85.803863][ T5397] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 85.811361][ T5397] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 85.815210][ T5397] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 85.818552][ T5397] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 85.862621][ T5397] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht' [ 85.881473][ T12] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 85.885200][ T12] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 85.898336][ T5397] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht' [ 85.924197][ T1036] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 85.928197][ T1036] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 85.977011][ T5304] syz-executor (5304) used greatest stack depth: 19152 bytes left [ 86.587622][ T9] cfg80211: failed to load regulatory.db [ 87.330925][ T3078] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 88.596774][ T3078] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 88.797633][ T3078] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 88.830266][ T3078] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 88.893747][ T3078] bridge_slave_1: left allmulticast mode [ 88.898084][ T3078] bridge_slave_1: left promiscuous mode [ 88.900371][ T3078] bridge0: port 2(bridge_slave_1) entered disabled state [ 88.916011][ T3078] bridge_slave_0: left allmulticast mode [ 88.918206][ T3078] bridge_slave_0: left promiscuous mode [ 88.920478][ T3078] bridge0: port 1(bridge_slave_0) entered disabled state [ 89.018626][ T3078] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 89.026104][ T3078] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 89.032389][ T3078] bond0 (unregistering): Released all slaves [ 89.142452][ T3078] hsr_slave_0: left promiscuous mode [ 89.146275][ T3078] hsr_slave_1: left promiscuous mode [ 89.155918][ T3078] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 89.158699][ T3078] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 89.165426][ T3078] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 89.168367][ T3078] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 89.180254][ T3078] veth1_macvtap: left promiscuous mode [ 89.182658][ T3078] veth0_macvtap: left promiscuous mode [ 89.194711][ T3078] veth1_vlan: left promiscuous mode [ 89.196779][ T3078] veth0_vlan: left promiscuous mode [ 89.342190][ T3078] team0 (unregistering): Port device team_slave_1 removed [ 89.357532][ T3078] team0 (unregistering): Port device team_slave_0 removed VM DIAGNOSIS: 15:32:43 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000073 RBX=ffffffff9a743940 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000e0164b0 R8 =ffffffff8576147b R9 =1ffff11006802046 R10=dffffc0000000000 R11=ffffffff85761430 R12=dffffc0000000000 R13=ffffffff9a43df3f R14=0000000000000073 R15=00000000000003f8 RIP=ffffffff857614ae RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 ffffffff 00c00000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 ffffffff 00c00000 FS =0000 0000000000000000 ffffffff 00c00000 GS =0000 ffff88801fc00000 ffffffff 00c00000 LDT=0000 0000000000000000 ffffffff 00c00000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007f22a0e34ba8 CR3=0000000012456000 CR4=00352ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000fffe0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 Opmask00=0000000000000000 Opmask01=0000000000000000 Opmask02=0000000000000000 Opmask03=0000000000000000 Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffffffff0000 0000000000000000 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffff000000000000 ffffffffffffffff ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffffffffffff ffffffffffffffff ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM27=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM28=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM29=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM30=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM31=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 syzkaller build log: go env (err=) GO111MODULE='auto' GOARCH='amd64' GOBIN='' GOCACHE='/syzkaller/.cache/go-build' GOENV='/syzkaller/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/syzkaller/jobs/linux/gopath/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/syzkaller/jobs/linux/gopath' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.22.7' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3148115579=/tmp/go-build -gno-record-gcc-switches' git status (err=) HEAD detached at da72ac06e38 nothing to commit, working tree clean tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen make .descriptions tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env bin/syz-sysgen go fmt ./sys/... >/dev/null touch .descriptions GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=da72ac06e38cf1dd2ecbddd5502225ff7589542d -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250121-154645'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog mkdir -p ./bin/linux_amd64 g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \ -m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"da72ac06e38cf1dd2ecbddd5502225ff7589542d\" /usr/bin/ld: /tmp/ccb4CQRN.o: in function `Connection::Connect(char const*, char const*)': executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking