possible deadlock in ieee80211_remove_interfaces
======================================================
WARNING: possible circular locking dependency detected
6.13.0-syzkaller-g405057718a1f #0 Not tainted
------------------------------------------------------
kworker/u4:11/4102 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:
ffff888033e10768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline]
ffff888033e10768 (&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/4102:
#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: ffffc9002022fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline]
#1: ffffc9002022fc60 (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: ffff888033e10768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline]
#3: ffff888033e10768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 net/mac80211/iface.c:2280
stack backtrace:
CPU: 0 UID: 0 PID: 4102 Comm: kworker/u4:11 Not tainted 6.13.0-syzkaller-g405057718a1f #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]:50596' (ED25519) to the list of known hosts.
2025/01/25 19:04:30 ignoring optional flag "sandboxArg"="0"
2025/01/25 19:04:30 parsed 1 programs
[ 46.341716][ T5302] cgroup: Unknown subsys name 'net'
[ 46.399847][ T5302] cgroup: Unknown subsys name 'cpuset'
[ 46.402597][ T5302] cgroup: Unknown subsys name 'rlimit'
[ 47.377658][ T5302] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 49.422516][ T5312] 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.
[ 50.762475][ T5354] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 50.765099][ T5354] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 50.767300][ T5354] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 50.769762][ T5354] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 50.772091][ T5354] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 50.774143][ T5354] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 50.975602][ T1084] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 50.977946][ T1084] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 51.019081][ T1032] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 51.021887][ T1032] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 51.259452][ T4102]
[ 51.260218][ T4102] ======================================================
[ 51.262211][ T4102] WARNING: possible circular locking dependency detected
[ 51.264211][ T4102] 6.13.0-syzkaller-g405057718a1f #0 Not tainted
[ 51.266924][ T4102] ------------------------------------------------------
[ 51.268946][ T4102] kworker/u4:11/4102 is trying to acquire lock:
[ 51.270721][ T4102] ffffffff8fcc33c8 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030
[ 51.273681][ T4102]
[ 51.273681][ T4102] but task is already holding lock:
[ 51.275780][ T4102] ffff888033e10768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700
[ 51.278758][ T4102]
[ 51.278758][ T4102] which lock already depends on the new lock.
[ 51.278758][ T4102]
[ 51.281741][ T4102]
[ 51.281741][ T4102] the existing dependency chain (in reverse order) is:
[ 51.284336][ T4102]
[ 51.284336][ T4102] -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}:
[ 51.286552][ T4102] lock_acquire+0x1ed/0x550
[ 51.288029][ T4102] __mutex_lock+0x19c/0x1010
[ 51.289518][ T4102] wiphy_register+0x1a49/0x27b0
[ 51.291063][ T4102] ieee80211_register_hw+0x354e/0x4240
[ 51.292794][ T4102] mac80211_hwsim_new_radio+0x2a9f/0x4a90
[ 51.294586][ T4102] init_mac80211_hwsim+0x87a/0xb00
[ 51.296205][ T4102] do_one_initcall+0x248/0x870
[ 51.297741][ T4102] do_initcall_level+0x157/0x210
[ 51.299325][ T4102] do_initcalls+0x3f/0x80
[ 51.300746][ T4102] kernel_init_freeable+0x435/0x5d0
[ 51.302382][ T4102] kernel_init+0x1d/0x2b0
[ 51.303779][ T4102] ret_from_fork+0x4b/0x80
[ 51.305212][ T4102] ret_from_fork_asm+0x1a/0x30
[ 51.306724][ T4102]
[ 51.306724][ T4102] -> #0 (rtnl_mutex){+.+.}-{4:4}:
[ 51.308837][ T4102] validate_chain+0x18ef/0x5920
[ 51.310420][ T4102] __lock_acquire+0x1397/0x2100
[ 51.312022][ T4102] lock_acquire+0x1ed/0x550
[ 51.313515][ T4102] __mutex_lock+0x19c/0x1010
[ 51.315026][ T4102] unregister_netdevice_many_notify+0xac2/0x2030
[ 51.317039][ T4102] unregister_netdevice_queue+0x303/0x370
[ 51.318886][ T4102] _cfg80211_unregister_wdev+0x163/0x590
[ 51.320706][ T4102] ieee80211_remove_interfaces+0x4ef/0x700
[ 51.322515][ T4102] ieee80211_unregister_hw+0x5d/0x2c0
[ 51.324207][ T4102] mac80211_hwsim_del_radio+0x2c4/0x4c0
[ 51.325936][ T4102] hwsim_exit_net+0x5c1/0x670
[ 51.327418][ T4102] cleanup_net+0x812/0xd60
[ 51.328850][ T4102] process_scheduled_works+0xa66/0x1840
[ 51.330579][ T4102] worker_thread+0x870/0xd30
[ 51.332045][ T4102] kthread+0x7a9/0x920
[ 51.333381][ T4102] ret_from_fork+0x4b/0x80
[ 51.334808][ T4102] ret_from_fork_asm+0x1a/0x30
[ 51.336321][ T4102]
[ 51.336321][ T4102] other info that might help us debug this:
[ 51.336321][ T4102]
[ 51.339204][ T4102] Possible unsafe locking scenario:
[ 51.339204][ T4102]
[ 51.341332][ T4102] CPU0 CPU1
[ 51.342909][ T4102] ---- ----
[ 51.344500][ T4102] lock(&rdev->wiphy.mtx);
[ 51.345855][ T4102] lock(rtnl_mutex);
[ 51.347760][ T4102] lock(&rdev->wiphy.mtx);
[ 51.349819][ T4102] lock(rtnl_mutex);
[ 51.351007][ T4102]
[ 51.351007][ T4102] *** DEADLOCK ***
[ 51.351007][ T4102]
[ 51.353339][ T4102] 4 locks held by kworker/u4:11/4102:
[ 51.354872][ T4102] #0: ffff88801baef148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840
[ 51.357958][ T4102] #1: ffffc9002022fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840
[ 51.360937][ T4102] #2: ffffffff8fcb6e10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60
[ 51.363584][ T4102] #3: ffff888033e10768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700
[ 51.366627][ T4102]
[ 51.366627][ T4102] stack backtrace:
[ 51.368347][ T4102] CPU: 0 UID: 0 PID: 4102 Comm: kworker/u4:11 Not tainted 6.13.0-syzkaller-g405057718a1f #0
[ 51.368355][ T4102] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 51.368360][ T4102] Workqueue: netns cleanup_net
[ 51.368368][ T4102] Call Trace:
[ 51.368372][ T4102]
[ 51.368376][ T4102] dump_stack_lvl+0x241/0x360
[ 51.368383][ T4102] ? __pfx_dump_stack_lvl+0x10/0x10
[ 51.368389][ T4102] ? __pfx__printk+0x10/0x10
[ 51.368399][ T4102] print_circular_bug+0x13a/0x1b0
[ 51.368405][ T4102] check_noncircular+0x36a/0x4a0
[ 51.368412][ T4102] ? __pfx_check_noncircular+0x10/0x10
[ 51.368418][ T4102] ? lockdep_lock+0x123/0x2b0
[ 51.368425][ T4102] ? rcu_read_lock_sched_held+0x8d/0x130
[ 51.368433][ T4102] validate_chain+0x18ef/0x5920
[ 51.368442][ T4102] ? __pfx_validate_chain+0x10/0x10
[ 51.368448][ T4102] ? mark_lock+0x9a/0x360
[ 51.368456][ T4102] ? __lock_acquire+0x1397/0x2100
[ 51.368466][ T4102] ? mark_lock+0x9a/0x360
[ 51.368474][ T4102] __lock_acquire+0x1397/0x2100
[ 51.368487][ T4102] lock_acquire+0x1ed/0x550
[ 51.368495][ T4102] ? unregister_netdevice_many_notify+0xac2/0x2030
[ 51.368505][ T4102] ? __pfx_lock_acquire+0x10/0x10
[ 51.368513][ T4102] ? __pfx___might_resched+0x10/0x10
[ 51.368520][ T4102] ? finish_wait+0xd4/0x1e0
[ 51.368528][ T4102] __mutex_lock+0x19c/0x1010
[ 51.368535][ T4102] ? unregister_netdevice_many_notify+0xac2/0x2030
[ 51.368545][ T4102] ? unregister_netdevice_many_notify+0xac2/0x2030
[ 51.368554][ T4102] ? __pfx___mutex_lock+0x10/0x10
[ 51.368561][ T4102] ? __pfx___might_resched+0x10/0x10
[ 51.368568][ T4102] ? unregister_netdevice_many_notify+0x9fa/0x2030
[ 51.368577][ T4102] ? unregister_netdevice_many_notify+0x9fa/0x2030
[ 51.368585][ T4102] unregister_netdevice_many_notify+0xac2/0x2030
[ 51.368594][ T4102] ? mark_lock+0x9a/0x360
[ 51.368603][ T4102] ? __pfx_unregister_netdevice_many_notify+0x10/0x10
[ 51.368612][ T4102] ? kernfs_remove_by_name_ns+0x11b/0x160
[ 51.368619][ T4102] ? __pfx_lock_release+0x10/0x10
[ 51.368629][ T4102] unregister_netdevice_queue+0x303/0x370
[ 51.368637][ T4102] ? __pfx_up_write+0x10/0x10
[ 51.368643][ T4102] ? __pfx_unregister_netdevice_queue+0x10/0x10
[ 51.368651][ T4102] ? kernfs_remove_by_name_ns+0x11b/0x160
[ 51.368658][ T4102] _cfg80211_unregister_wdev+0x163/0x590
[ 51.368665][ T4102] ieee80211_remove_interfaces+0x4ef/0x700
[ 51.368674][ T4102] ? __pfx_ieee80211_remove_interfaces+0x10/0x10
[ 51.368682][ T4102] ? rcu_is_watching+0x15/0xb0
[ 51.368689][ T4102] ieee80211_unregister_hw+0x5d/0x2c0
[ 51.368696][ T4102] mac80211_hwsim_del_radio+0x2c4/0x4c0
[ 51.368705][ T4102] ? __pfx_mac80211_hwsim_del_radio+0x10/0x10
[ 51.368714][ T4102] hwsim_exit_net+0x5c1/0x670
[ 51.368721][ T4102] ? __pfx_hwsim_exit_net+0x10/0x10
[ 51.368728][ T4102] ? __ip_vs_dev_cleanup_batch+0x239/0x260
[ 51.368737][ T4102] cleanup_net+0x812/0xd60
[ 51.368744][ T4102] ? __pfx_cleanup_net+0x10/0x10
[ 51.368752][ T4102] ? process_scheduled_works+0x976/0x1840
[ 51.368758][ T4102] process_scheduled_works+0xa66/0x1840
[ 51.368768][ T4102] ? __pfx_process_scheduled_works+0x10/0x10
[ 51.368775][ T4102] ? assign_work+0x364/0x3d0
[ 51.368782][ T4102] worker_thread+0x870/0xd30
[ 51.368790][ T4102] ? _raw_spin_unlock_irqrestore+0xdd/0x140
[ 51.368796][ T4102] ? __kthread_parkme+0x169/0x1d0
[ 51.368804][ T4102] ? __pfx_worker_thread+0x10/0x10
[ 51.368811][ T4102] kthread+0x7a9/0x920
[ 51.368818][ T4102] ? __pfx_kthread+0x10/0x10
[ 51.368826][ T4102] ? __pfx_worker_thread+0x10/0x10
[ 51.368832][ T4102] ? __pfx_kthread+0x10/0x10
[ 51.368839][ T4102] ? __pfx_kthread+0x10/0x10
[ 51.368847][ T4102] ? __pfx_kthread+0x10/0x10
[ 51.368854][ T4102] ? _raw_spin_unlock_irq+0x23/0x50
[ 51.368859][ T4102] ? lockdep_hardirqs_on+0x99/0x150
[ 51.368866][ T4102] ? __pfx_kthread+0x10/0x10
[ 51.368873][ T4102] ret_from_fork+0x4b/0x80
[ 51.368881][ T4102] ? __pfx_kthread+0x10/0x10
[ 51.368888][ T4102] ret_from_fork_asm+0x1a/0x30
[ 51.368897][ T4102]
[ 52.082790][ T5378] chnl_net:caif_netlink_parms(): no params data found
[ 52.103391][ T5378] bridge0: port 1(bridge_slave_0) entered blocking state
[ 52.105486][ T5378] bridge0: port 1(bridge_slave_0) entered disabled state
[ 52.107545][ T5378] bridge_slave_0: entered allmulticast mode
[ 52.112144][ T5378] bridge_slave_0: entered promiscuous mode
[ 52.114427][ T5378] bridge0: port 2(bridge_slave_1) entered blocking state
[ 52.116486][ T5378] bridge0: port 2(bridge_slave_1) entered disabled state
[ 52.118864][ T5378] bridge_slave_1: entered allmulticast mode
[ 52.120844][ T5378] bridge_slave_1: entered promiscuous mode
[ 52.126719][ T5378] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 52.130220][ T5378] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 52.136824][ T5378] team0: Port device team_slave_0 added
[ 52.140497][ T5378] team0: Port device team_slave_1 added
[ 52.149483][ T5378] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 52.151556][ T5378] 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.
[ 52.164253][ T5378] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 52.172558][ T5378] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 52.174621][ T5378] 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.
[ 52.182386][ T5378] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 52.193849][ T5378] hsr_slave_0: entered promiscuous mode
[ 52.195718][ T5378] hsr_slave_1: entered promiscuous mode
[ 52.229381][ T5378] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 52.232259][ T5378] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 52.235001][ T5378] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 52.237793][ T5378] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 52.244843][ T5378] bridge0: port 2(bridge_slave_1) entered blocking state
[ 52.246962][ T5378] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 52.249215][ T5378] bridge0: port 1(bridge_slave_0) entered blocking state
[ 52.251279][ T5378] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 52.267338][ T5378] 8021q: adding VLAN 0 to HW filter on device bond0
[ 52.272234][ T1032] bridge0: port 1(bridge_slave_0) entered disabled state
[ 52.274504][ T1032] bridge0: port 2(bridge_slave_1) entered disabled state
[ 52.289564][ T5378] 8021q: adding VLAN 0 to HW filter on device team0
[ 52.310342][ T1032] bridge0: port 1(bridge_slave_0) entered blocking state
[ 52.312472][ T1032] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 52.314870][ T1032] bridge0: port 2(bridge_slave_1) entered blocking state
[ 52.316972][ T1032] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 52.398870][ T5378] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 52.415215][ T5378] veth0_vlan: entered promiscuous mode
[ 52.428823][ T5378] veth1_vlan: entered promiscuous mode
[ 52.441043][ T5378] veth0_macvtap: entered promiscuous mode
[ 52.449365][ T5378] veth1_macvtap: entered promiscuous mode
[ 52.460375][ T5378] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 52.464240][ T5378] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 52.479460][ T5378] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 52.482046][ T5378] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 52.484589][ T5378] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 52.487133][ T5378] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 52.585010][ T1032] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
2025/01/25 19:04:38 executed programs: 0
[ 52.596288][ T4675] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 52.598573][ T4675] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 52.600685][ T4675] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 52.602900][ T4675] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 52.605050][ T4675] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 52.607147][ T4675] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 52.619957][ T1032] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 52.649829][ T1032] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 52.690253][ T1032] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 52.694896][ T5393] chnl_net:caif_netlink_parms(): no params data found
[ 52.730558][ T5393] bridge0: port 1(bridge_slave_0) entered blocking state
[ 52.732884][ T5393] bridge0: port 1(bridge_slave_0) entered disabled state
[ 52.734960][ T5393] bridge_slave_0: entered allmulticast mode
[ 52.736962][ T5393] bridge_slave_0: entered promiscuous mode
[ 52.740222][ T5393] bridge0: port 2(bridge_slave_1) entered blocking state
[ 52.742318][ T5393] bridge0: port 2(bridge_slave_1) entered disabled state
[ 52.744411][ T5393] bridge_slave_1: entered allmulticast mode
[ 52.758668][ T5393] bridge_slave_1: entered promiscuous mode
[ 52.764794][ T5393] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 52.768057][ T5393] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 52.790064][ T5393] team0: Port device team_slave_0 added
[ 52.792279][ T5393] team0: Port device team_slave_1 added
[ 52.797667][ T5393] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 52.808578][ T5393] 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.
[ 52.815813][ T5393] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 52.829006][ T5393] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 52.830988][ T5393] 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.
[ 52.838166][ T5393] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 52.865632][ T5393] hsr_slave_0: entered promiscuous mode
[ 52.867691][ T5393] hsr_slave_1: entered promiscuous mode
[ 52.879052][ T5393] debugfs: Directory 'hsr0' with parent 'hsr' already present!
[ 52.881287][ T5393] Cannot create hsr debugfs directory
[ 54.668318][ T4675] Bluetooth: hci0: command tx timeout
[ 55.794429][ T1032] bridge_slave_1: left allmulticast mode
[ 55.796136][ T1032] bridge_slave_1: left promiscuous mode
[ 55.797833][ T1032] bridge0: port 2(bridge_slave_1) entered disabled state
[ 55.809959][ T1032] bridge_slave_0: left allmulticast mode
[ 55.811657][ T1032] bridge_slave_0: left promiscuous mode
[ 55.813345][ T1032] bridge0: port 1(bridge_slave_0) entered disabled state
[ 55.899908][ T1032] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 55.903133][ T1032] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 55.918741][ T1032] bond0 (unregistering): Released all slaves
[ 55.999984][ T1032] hsr_slave_0: left promiscuous mode
[ 56.004962][ T1032] hsr_slave_1: left promiscuous mode
[ 56.006694][ T1032] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 56.010405][ T1032] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 56.018704][ T1032] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 56.020913][ T1032] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 56.030272][ T1032] veth1_macvtap: left promiscuous mode
[ 56.031918][ T1032] veth0_macvtap: left promiscuous mode
[ 56.033584][ T1032] veth1_vlan: left promiscuous mode
[ 56.035141][ T1032] veth0_vlan: left promiscuous mode
[ 56.104159][ T1032] team0 (unregistering): Port device team_slave_1 removed
[ 56.107596][ T1032] team0 (unregistering): Port device team_slave_0 removed
[ 56.370199][ T5393] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 56.373073][ T5393] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 56.375792][ T5393] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 56.378913][ T5393] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 56.397458][ T5393] 8021q: adding VLAN 0 to HW filter on device bond0
[ 56.402923][ T5393] 8021q: adding VLAN 0 to HW filter on device team0
[ 56.406024][ T1032] bridge0: port 1(bridge_slave_0) entered blocking state
[ 56.408058][ T1032] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 56.416534][ T5393] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network
[ 56.420716][ T5393] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network
[ 56.424576][ T1032] bridge0: port 2(bridge_slave_1) entered blocking state
[ 56.426646][ T1032] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 56.467741][ T5393] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 56.480786][ T5393] veth0_vlan: entered promiscuous mode
[ 56.483853][ T5393] veth1_vlan: entered promiscuous mode
[ 56.491843][ T5393] veth0_macvtap: entered promiscuous mode
[ 56.494411][ T5393] veth1_macvtap: entered promiscuous mode
[ 56.499678][ T5393] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 56.503694][ T5393] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 56.506911][ T5393] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 56.510201][ T5393] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 56.512737][ T5393] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 56.515227][ T5393] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 56.527807][ T5393] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht'
[ 56.535434][ T1032] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 56.537738][ T1032] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 56.540641][ T5393] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
[ 56.561175][ T1033] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 56.563925][ T1033] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 58.821789][ T4102] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 60.579641][ T4102] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 60.610049][ T4102] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 60.640409][ T4102] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 60.694960][ T4102] bridge_slave_1: left allmulticast mode
[ 60.696629][ T4102] bridge_slave_1: left promiscuous mode
[ 60.698539][ T4102] bridge0: port 2(bridge_slave_1) entered disabled state
[ 60.701008][ T4102] bridge_slave_0: left allmulticast mode
[ 60.702649][ T4102] bridge_slave_0: left promiscuous mode
[ 60.704294][ T4102] bridge0: port 1(bridge_slave_0) entered disabled state
[ 60.760303][ T4102] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 60.768140][ T4102] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 60.773993][ T4102] bond0 (unregistering): Released all slaves
[ 60.882420][ T4102] hsr_slave_0: left promiscuous mode
[ 60.885195][ T4102] hsr_slave_1: left promiscuous mode
[ 60.895069][ T4102] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 60.897235][ T4102] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 60.900712][ T4102] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 60.902888][ T4102] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 60.913969][ T4102] veth1_macvtap: left promiscuous mode
[ 60.915582][ T4102] veth0_macvtap: left promiscuous mode
[ 60.917196][ T4102] veth1_vlan: left promiscuous mode
[ 60.928896][ T4102] veth0_vlan: left promiscuous mode
[ 61.011018][ T4102] team0 (unregistering): Port device team_slave_1 removed
[ 61.014388][ T4102] team0 (unregistering): Port device team_slave_0 removed
VM DIAGNOSIS:
19:04:37 Registers:
info registers vcpu 0
CPU#0
RAX=000000000000002d RBX=ffffffff9a743940 RCX=0000000000000000 RDX=00000000000003f8
RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9002022e4b0
R8 =ffffffff8576347b R9 =1ffff11003e40046 R10=dffffc0000000000 R11=ffffffff85763430
R12=dffffc0000000000 R13=ffffffff9a43df48 R14=000000000000002d R15=00000000000003f8
RIP=ffffffff857634ae 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=00007f270a135f40 CR3=0000000032a78000 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=00000000fffc0000 Opmask01=000000000000000f Opmask02=00000000ffffffef 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 0000000000000000 0000000000000000
ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
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 20303d766765735f 656c646e61683d53 4e4f4954504f5f4e 4153410063657865
ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 333c5f0a1e0d022b 3a672a1b001b0904 0000000000000000 0000000000000000
ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3d534e4f4954504f 5f4e415341006365 786500726f747563 6578652d7a79732f
ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 49372f2738652f0b 2e233b2f0d1e5231 2c3e2b212b5f1806 1d18063830180719
ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 45575f43494d414e 59445f444c00544f 4e5f444e49425f44 4c00574f4e5f444e
ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 202331261635263d 062b2c203a5f0b4f 2330202028302b21 2b5f383c2a291b11
ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 7f7f7f6f7f7f7f7f 7e6f3f3f3f7f7f7f 7f3f2b2b2f7f7f2f 3f7f3f3f3a7d1f3b
ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 49425f444c004854 41005f5952415242 494c5f444c005f00 656d65675f6b6364
ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000362e3200414e 41004c004c005042 494c444449004600 4c0057444c004441
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-build903289882=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at f00eed24f2a
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=f00eed24f2a1332b07fef1a353a439133978d97b -X 'github.com/google/syzkaller/prog.gitRevisionDate=20241101-132521'" "-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 -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"f00eed24f2a1332b07fef1a353a439133978d97b\"
/usr/bin/ld: /tmp/ccQw3mpF.o: in function `test_cover_filter()':
executor.cc:(.text+0x1426b): warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /tmp/ccQw3mpF.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