possible deadlock in ieee80211_remove_interfaces ====================================================== WARNING: possible circular locking dependency detected 6.13.0-syzkaller-09350-gc78f4afbd962 #0 Not tainted ------------------------------------------------------ kworker/u8:7/3494 is trying to acquire lock: ffffffff8fcc3988 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_acquire_if_cleanup_net net/core/dev.c:10272 [inline] ffffffff8fcc3988 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 net/core/dev.c:11792 but task is already holding lock: ffff88804e020768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline] ffff88804e020768 (&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:1003 ieee80211_register_hw+0x354e/0x4240 net/mac80211/main.c:1587 mac80211_hwsim_new_radio+0x2a9f/0x4aa0 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:1257 do_initcall_level+0x157/0x210 init/main.c:1319 do_initcalls+0x3f/0x80 init/main.c:1335 kernel_init_freeable+0x435/0x5d0 init/main.c:1568 kernel_init+0x1d/0x2b0 init/main.c:1457 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:1248 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/u8:7/3494: #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000ce37c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000ce37c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcb73d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 net/core/net_namespace.c:606 #3: ffff88804e020768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline] #3: ffff88804e020768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 net/mac80211/iface.c:2280 stack backtrace: CPU: 0 UID: 0 PID: 3494 Comm: kworker/u8:7 Not tainted 6.13.0-syzkaller-09350-gc78f4afbd962 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 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:1248 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 Warning: Permanently added '10.128.1.128' (ED25519) to the list of known hosts. 2025/02/01 23:09:09 ignoring optional flag "sandboxArg"="0" 2025/02/01 23:09:10 parsed 1 programs [ 67.295919][ T5830] cgroup: Unknown subsys name 'net' [ 67.404759][ T5830] cgroup: Unknown subsys name 'cpuset' [ 67.413488][ T5830] cgroup: Unknown subsys name 'rlimit' [ 68.755780][ T5830] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 71.197684][ T5850] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 71.207185][ T5850] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 71.221155][ T5850] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 71.231478][ T5850] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 71.239900][ T5850] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 71.257719][ T5850] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 71.514340][ T72] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 71.536554][ T72] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 71.610476][ T2976] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 71.629906][ T2976] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 71.652380][ T5844] 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. [ 71.784758][ T1296] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.792537][ T1296] ieee802154 phy1 wpan1: encryption failed: -22 [ 71.870508][ T5847] chnl_net:caif_netlink_parms(): no params data found [ 72.349987][ T5847] bridge0: port 1(bridge_slave_0) entered blocking state [ 72.370970][ T5847] bridge0: port 1(bridge_slave_0) entered disabled state [ 72.378559][ T5847] bridge_slave_0: entered allmulticast mode [ 72.392904][ T5847] bridge_slave_0: entered promiscuous mode [ 72.423312][ T5847] bridge0: port 2(bridge_slave_1) entered blocking state [ 72.430562][ T5847] bridge0: port 2(bridge_slave_1) entered disabled state [ 72.450880][ T5847] bridge_slave_1: entered allmulticast mode [ 72.458245][ T5847] bridge_slave_1: entered promiscuous mode [ 72.619533][ T5847] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 72.633170][ T5847] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 72.745077][ T5847] team0: Port device team_slave_0 added [ 72.753495][ T5847] team0: Port device team_slave_1 added [ 72.834085][ T5847] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 72.843663][ T5847] 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. [ 72.873398][ T5847] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 72.931575][ T5847] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 72.938673][ T5847] 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. [ 72.976457][ T5847] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 73.218941][ T5847] hsr_slave_0: entered promiscuous mode [ 73.239601][ T5847] hsr_slave_1: entered promiscuous mode [ 74.002050][ T3494] [ 74.004420][ T3494] ====================================================== [ 74.011538][ T3494] WARNING: possible circular locking dependency detected [ 74.018717][ T3494] 6.13.0-syzkaller-09350-gc78f4afbd962 #0 Not tainted [ 74.025497][ T3494] ------------------------------------------------------ [ 74.032619][ T3494] kworker/u8:7/3494 is trying to acquire lock: [ 74.038785][ T3494] ffffffff8fcc3988 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 [ 74.049453][ T3494] [ 74.049453][ T3494] but task is already holding lock: [ 74.056918][ T3494] ffff88804e020768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 74.067324][ T3494] [ 74.067324][ T3494] which lock already depends on the new lock. [ 74.067324][ T3494] [ 74.067717][ T5847] netdevsim netdevsim3 netdevsim0: renamed from eth0 [ 74.077718][ T3494] [ 74.077718][ T3494] the existing dependency chain (in reverse order) is: [ 74.077728][ T3494] [ 74.077728][ T3494] -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}: [ 74.077754][ T3494] lock_acquire+0x1ed/0x550 [ 74.106275][ T3494] __mutex_lock+0x19c/0x1010 [ 74.111396][ T3494] wiphy_register+0x1a49/0x27b0 [ 74.116769][ T3494] ieee80211_register_hw+0x354e/0x4240 [ 74.122763][ T3494] mac80211_hwsim_new_radio+0x2a9f/0x4aa0 [ 74.129004][ T3494] init_mac80211_hwsim+0x87a/0xb00 [ 74.134893][ T3494] do_one_initcall+0x248/0x870 [ 74.140195][ T3494] do_initcall_level+0x157/0x210 [ 74.145649][ T3494] do_initcalls+0x3f/0x80 [ 74.150571][ T3494] kernel_init_freeable+0x435/0x5d0 [ 74.156277][ T3494] kernel_init+0x1d/0x2b0 [ 74.161122][ T3494] ret_from_fork+0x4b/0x80 [ 74.166047][ T3494] ret_from_fork_asm+0x1a/0x30 [ 74.171419][ T3494] [ 74.171419][ T3494] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 74.178621][ T3494] validate_chain+0x18ef/0x5920 [ 74.184074][ T3494] __lock_acquire+0x1397/0x2100 [ 74.189615][ T3494] lock_acquire+0x1ed/0x550 [ 74.194641][ T3494] __mutex_lock+0x19c/0x1010 [ 74.199743][ T3494] unregister_netdevice_many_notify+0xac2/0x2030 [ 74.206796][ T3494] unregister_netdevice_queue+0x303/0x370 [ 74.213069][ T3494] _cfg80211_unregister_wdev+0x163/0x590 [ 74.219305][ T3494] ieee80211_remove_interfaces+0x4ef/0x700 [ 74.225625][ T3494] ieee80211_unregister_hw+0x5d/0x2c0 [ 74.231531][ T3494] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 74.237594][ T3494] hwsim_exit_net+0x5c1/0x670 [ 74.242881][ T3494] cleanup_net+0x812/0xd60 [ 74.247813][ T3494] process_scheduled_works+0xa66/0x1840 [ 74.253897][ T3494] worker_thread+0x870/0xd30 [ 74.258994][ T3494] kthread+0x7a9/0x920 [ 74.263573][ T3494] ret_from_fork+0x4b/0x80 [ 74.268591][ T3494] ret_from_fork_asm+0x1a/0x30 [ 74.274131][ T3494] [ 74.274131][ T3494] other info that might help us debug this: [ 74.274131][ T3494] [ 74.284437][ T3494] Possible unsafe locking scenario: [ 74.284437][ T3494] [ 74.291979][ T3494] CPU0 CPU1 [ 74.297354][ T3494] ---- ---- [ 74.302711][ T3494] lock(&rdev->wiphy.mtx); [ 74.307223][ T3494] lock(rtnl_mutex); [ 74.313720][ T3494] lock(&rdev->wiphy.mtx); [ 74.320758][ T3494] lock(rtnl_mutex); [ 74.324825][ T3494] [ 74.324825][ T3494] *** DEADLOCK *** [ 74.324825][ T3494] [ 74.333345][ T3494] 4 locks held by kworker/u8:7/3494: [ 74.338617][ T3494] #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 [ 74.349496][ T3494] #1: ffffc9000ce37c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 [ 74.360199][ T3494] #2: ffffffff8fcb73d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 [ 74.369777][ T3494] #3: ffff88804e020768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 74.380832][ T3494] [ 74.380832][ T3494] stack backtrace: [ 74.386801][ T3494] CPU: 0 UID: 0 PID: 3494 Comm: kworker/u8:7 Not tainted 6.13.0-syzkaller-09350-gc78f4afbd962 #0 [ 74.386817][ T3494] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 74.386826][ T3494] Workqueue: netns cleanup_net [ 74.386847][ T3494] Call Trace: [ 74.386855][ T3494] [ 74.386861][ T3494] dump_stack_lvl+0x241/0x360 [ 74.386876][ T3494] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.386894][ T3494] ? __pfx__printk+0x10/0x10 [ 74.386914][ T3494] print_circular_bug+0x13a/0x1b0 [ 74.386928][ T3494] check_noncircular+0x36a/0x4a0 [ 74.386941][ T3494] ? __pfx_check_noncircular+0x10/0x10 [ 74.386952][ T3494] ? lockdep_lock+0x123/0x2b0 [ 74.386968][ T3494] ? mark_lock+0x9a/0x360 [ 74.386984][ T3494] validate_chain+0x18ef/0x5920 [ 74.386999][ T3494] ? lockdep_hardirqs_on+0x99/0x150 [ 74.387014][ T3494] ? __pfx_validate_chain+0x10/0x10 [ 74.387025][ T3494] ? __schedule+0x1916/0x4c90 [ 74.387042][ T3494] ? __pfx___schedule+0x10/0x10 [ 74.387057][ T3494] ? mark_lock+0x9a/0x360 [ 74.387074][ T3494] __lock_acquire+0x1397/0x2100 [ 74.387093][ T3494] lock_acquire+0x1ed/0x550 [ 74.387108][ T3494] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 74.387128][ T3494] ? __pfx_lock_acquire+0x10/0x10 [ 74.387145][ T3494] ? __pfx___might_resched+0x10/0x10 [ 74.387159][ T3494] ? kthread_queue_work+0x110/0x180 [ 74.387177][ T3494] __mutex_lock+0x19c/0x1010 [ 74.387191][ T3494] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 74.387212][ T3494] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 74.387230][ T3494] ? __pfx___mutex_lock+0x10/0x10 [ 74.387243][ T3494] ? __pfx___might_resched+0x10/0x10 [ 74.387257][ T3494] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 74.387275][ T3494] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 74.387294][ T3494] unregister_netdevice_many_notify+0xac2/0x2030 [ 74.387312][ T3494] ? mark_lock+0x9a/0x360 [ 74.387330][ T3494] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 74.387348][ T3494] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 74.387362][ T3494] ? __pfx_lock_release+0x10/0x10 [ 74.387382][ T3494] unregister_netdevice_queue+0x303/0x370 [ 74.387399][ T3494] ? __pfx_up_write+0x10/0x10 [ 74.387410][ T3494] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 74.387428][ T3494] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 74.387441][ T3494] _cfg80211_unregister_wdev+0x163/0x590 [ 74.387457][ T3494] ieee80211_remove_interfaces+0x4ef/0x700 [ 74.387476][ T3494] ? __pfx_ieee80211_remove_interfaces+0x10/0x10 [ 74.387492][ T3494] ? rcu_is_watching+0x15/0xb0 [ 74.387505][ T3494] ieee80211_unregister_hw+0x5d/0x2c0 [ 74.387526][ T3494] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 74.387545][ T3494] ? __pfx_mac80211_hwsim_del_radio+0x10/0x10 [ 74.387564][ T3494] hwsim_exit_net+0x5c1/0x670 [ 74.387579][ T3494] ? __pfx_hwsim_exit_net+0x10/0x10 [ 74.387594][ T3494] ? __ip_vs_dev_cleanup_batch+0x239/0x260 [ 74.387610][ T3494] cleanup_net+0x812/0xd60 [ 74.387625][ T3494] ? __pfx_cleanup_net+0x10/0x10 [ 74.387642][ T3494] ? process_scheduled_works+0x976/0x1840 [ 74.387655][ T3494] process_scheduled_works+0xa66/0x1840 [ 74.387675][ T3494] ? __pfx_process_scheduled_works+0x10/0x10 [ 74.387691][ T3494] ? assign_work+0x364/0x3d0 [ 74.387704][ T3494] worker_thread+0x870/0xd30 [ 74.387720][ T3494] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 74.387733][ T3494] ? __kthread_parkme+0x169/0x1d0 [ 74.387747][ T3494] ? __pfx_worker_thread+0x10/0x10 [ 74.387760][ T3494] kthread+0x7a9/0x920 [ 74.387774][ T3494] ? __pfx_kthread+0x10/0x10 [ 74.387790][ T3494] ? __pfx_worker_thread+0x10/0x10 [ 74.387803][ T3494] ? __pfx_kthread+0x10/0x10 [ 74.387817][ T3494] ? __pfx_kthread+0x10/0x10 [ 74.387833][ T3494] ? __pfx_kthread+0x10/0x10 [ 74.387847][ T3494] ? _raw_spin_unlock_irq+0x23/0x50 [ 74.387858][ T3494] ? lockdep_hardirqs_on+0x99/0x150 [ 74.387870][ T3494] ? __pfx_kthread+0x10/0x10 [ 74.387890][ T3494] ret_from_fork+0x4b/0x80 [ 74.387905][ T3494] ? __pfx_kthread+0x10/0x10 [ 74.387920][ T3494] ret_from_fork_asm+0x1a/0x30 [ 74.387937][ T3494] [ 74.781853][ T5847] netdevsim netdevsim3 netdevsim1: renamed from eth1 [ 74.820684][ T5847] netdevsim netdevsim3 netdevsim2: renamed from eth2 [ 74.830515][ T5847] netdevsim netdevsim3 netdevsim3: renamed from eth3 [ 75.016462][ T5847] 8021q: adding VLAN 0 to HW filter on device bond0 [ 75.033004][ T5847] 8021q: adding VLAN 0 to HW filter on device team0 [ 75.052891][ T12] bridge0: port 1(bridge_slave_0) entered blocking state [ 75.060168][ T12] bridge0: port 1(bridge_slave_0) entered forwarding state [ 75.078840][ T12] bridge0: port 2(bridge_slave_1) entered blocking state [ 75.086191][ T12] bridge0: port 2(bridge_slave_1) entered forwarding state [ 75.254345][ T5847] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 75.287415][ T5847] veth0_vlan: entered promiscuous mode [ 75.423717][ T5847] veth1_vlan: entered promiscuous mode [ 75.441157][ T5847] veth0_macvtap: entered promiscuous mode [ 75.449104][ T5847] veth1_macvtap: entered promiscuous mode [ 75.461584][ T5847] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 75.473590][ T5847] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 75.484492][ T5847] netdevsim netdevsim3 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 75.493890][ T5847] netdevsim netdevsim3 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 75.502717][ T5847] netdevsim netdevsim3 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 75.511721][ T5847] netdevsim netdevsim3 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 2025/02/01 23:09:20 executed programs: 0 [ 75.603894][ T5146] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 75.614231][ T5146] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 75.622030][ T5146] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 75.629776][ T5146] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 75.640024][ T5146] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 75.647771][ T5146] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 75.726037][ T5941] chnl_net:caif_netlink_parms(): no params data found [ 75.758083][ T5941] bridge0: port 1(bridge_slave_0) entered blocking state [ 75.765483][ T5941] bridge0: port 1(bridge_slave_0) entered disabled state [ 75.772983][ T5941] bridge_slave_0: entered allmulticast mode [ 75.779462][ T5941] bridge_slave_0: entered promiscuous mode [ 75.786801][ T5941] bridge0: port 2(bridge_slave_1) entered blocking state [ 75.795557][ T5941] bridge0: port 2(bridge_slave_1) entered disabled state [ 75.802853][ T5941] bridge_slave_1: entered allmulticast mode [ 75.809248][ T5941] bridge_slave_1: entered promiscuous mode [ 75.826916][ T5941] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 75.837567][ T5941] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 75.856438][ T5941] team0: Port device team_slave_0 added [ 75.863319][ T5941] team0: Port device team_slave_1 added [ 75.881186][ T5941] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 75.888500][ T5941] 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. [ 75.915086][ T5941] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 75.926799][ T5941] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 75.933863][ T5941] 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. [ 75.960235][ T5941] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 75.990398][ T5941] hsr_slave_0: entered promiscuous mode [ 75.996551][ T5941] hsr_slave_1: entered promiscuous mode [ 76.002731][ T5941] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 76.010356][ T5941] Cannot create hsr debugfs directory [ 76.072326][ T5941] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 76.081485][ T5941] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 76.089861][ T5941] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 76.098634][ T5941] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 76.138619][ T5941] 8021q: adding VLAN 0 to HW filter on device bond0 [ 76.153494][ T5941] 8021q: adding VLAN 0 to HW filter on device team0 [ 76.165491][ T2976] bridge0: port 1(bridge_slave_0) entered blocking state [ 76.172663][ T2976] bridge0: port 1(bridge_slave_0) entered forwarding state [ 76.183663][ T12] bridge0: port 2(bridge_slave_1) entered blocking state [ 76.190782][ T12] bridge0: port 2(bridge_slave_1) entered forwarding state [ 76.276672][ T5941] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 76.302658][ T5941] veth0_vlan: entered promiscuous mode [ 76.311658][ T5941] veth1_vlan: entered promiscuous mode [ 76.328483][ T5941] veth0_macvtap: entered promiscuous mode [ 76.337696][ T5941] veth1_macvtap: entered promiscuous mode [ 76.350165][ T5941] batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 [ 76.361380][ T5941] batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! [ 76.372908][ T5941] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 76.384230][ T5941] batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 [ 76.395433][ T5941] batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! [ 76.406456][ T5941] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 76.418001][ T5941] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.426953][ T5941] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.435979][ T5941] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.444787][ T5941] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.468368][ T5941] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht' [ 76.484027][ T12] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 76.485367][ T5941] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht' [ 76.505171][ T12] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 76.523014][ T12] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 76.531206][ T12] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 76.682517][ T2976] netdevsim netdevsim3 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 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-2/linux/gopath/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/syzkaller/jobs-2/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-2/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-build3369965284=/tmp/go-build -gno-record-gcc-switches' git status (err=) HEAD detached at f2cb035c8f 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=f2cb035c8f931efff4a020b164e657f16f51934b -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250117-180932'" "-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=\"f2cb035c8f931efff4a020b164e657f16f51934b\" /usr/bin/ld: /tmp/ccHkZ6Ym.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