possible deadlock in ieee80211_remove_interfaces ====================================================== WARNING: possible circular locking dependency detected 6.13.0-syzkaller-04046-g0ad9617c78ac #0 Not tainted ------------------------------------------------------ kworker/u8:5/269 is trying to acquire lock: ffffffff8fcc5a88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_acquire_if_cleanup_net net/core/dev.c:10272 [inline] ffffffff8fcc5a88 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 net/core/dev.c:11792 but task is already holding lock: ffff88807e030768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline] ffff88807e030768 (&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/u8:5/269: #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: ffffc9000303fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000303fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcb94d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 net/core/net_namespace.c:606 #3: ffff88807e030768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline] #3: ffff88807e030768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 net/mac80211/iface.c:2280 stack backtrace: CPU: 1 UID: 0 PID: 269 Comm: kworker/u8:5 Not tainted 6.13.0-syzkaller-04046-g0ad9617c78ac #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: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 bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered forwarding state bridge0: port 2(bridge_slave_1) entered blocking state bridge0: port 2(bridge_slave_1) entered forwarding state 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 '10.128.0.101' (ED25519) to the list of known hosts. 2025/01/25 02:07:27 ignoring optional flag "sandboxArg"="0" 2025/01/25 02:07:27 parsed 1 programs [ 67.834527][ T5831] cgroup: Unknown subsys name 'net' [ 67.943507][ T5831] cgroup: Unknown subsys name 'cpuset' [ 67.951565][ T5831] cgroup: Unknown subsys name 'rlimit' [ 69.282568][ T5831] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 71.963179][ T1294] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.969992][ T1294] ieee802154 phy1 wpan1: encryption failed: -22 [ 72.010272][ T5840] 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. [ 72.137338][ T5849] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 72.147806][ T5849] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 72.157357][ T5849] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 72.166695][ T5849] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 72.174988][ T5849] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 72.182888][ T5849] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 72.415238][ T53] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 72.431520][ T53] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 72.479400][ T53] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 72.487358][ T53] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 72.720443][ T5860] chnl_net:caif_netlink_parms(): no params data found [ 72.798855][ T5860] bridge0: port 1(bridge_slave_0) entered blocking state [ 72.806173][ T5860] bridge0: port 1(bridge_slave_0) entered disabled state [ 72.814988][ T5860] bridge_slave_0: entered allmulticast mode [ 72.822536][ T5860] bridge_slave_0: entered promiscuous mode [ 72.844219][ T5860] bridge0: port 2(bridge_slave_1) entered blocking state [ 72.852515][ T269] [ 72.852556][ T5860] bridge0: port 2(bridge_slave_1) entered disabled state [ 72.854855][ T269] ====================================================== [ 72.862540][ T5860] bridge_slave_1: entered allmulticast mode [ 72.868883][ T269] WARNING: possible circular locking dependency detected [ 72.876197][ T5860] bridge_slave_1: entered promiscuous mode [ 72.881760][ T269] 6.13.0-syzkaller-04046-g0ad9617c78ac #0 Not tainted [ 72.881772][ T269] ------------------------------------------------------ [ 72.881777][ T269] kworker/u8:5/269 is trying to acquire lock: [ 72.881787][ T269] ffffffff8fcc5a88 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 [ 72.918549][ T269] [ 72.918549][ T269] but task is already holding lock: [ 72.926086][ T269] ffff88807e030768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 72.936449][ T269] [ 72.936449][ T269] which lock already depends on the new lock. [ 72.936449][ T269] [ 72.946841][ T269] [ 72.946841][ T269] the existing dependency chain (in reverse order) is: [ 72.956107][ T269] [ 72.956107][ T269] -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}: [ 72.963832][ T269] lock_acquire+0x1ed/0x550 [ 72.968989][ T269] __mutex_lock+0x19c/0x1010 [ 72.974210][ T269] wiphy_register+0x1a49/0x27b0 [ 72.979585][ T269] ieee80211_register_hw+0x354e/0x4240 [ 72.985579][ T269] mac80211_hwsim_new_radio+0x2a9f/0x4a90 [ 72.991806][ T269] init_mac80211_hwsim+0x87a/0xb00 [ 72.997422][ T269] do_one_initcall+0x248/0x870 [ 73.002700][ T269] do_initcall_level+0x157/0x210 [ 73.008308][ T269] do_initcalls+0x3f/0x80 [ 73.013172][ T269] kernel_init_freeable+0x435/0x5d0 [ 73.018893][ T269] kernel_init+0x1d/0x2b0 [ 73.023849][ T269] ret_from_fork+0x4b/0x80 [ 73.028882][ T269] ret_from_fork_asm+0x1a/0x30 [ 73.034165][ T269] [ 73.034165][ T269] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 73.041376][ T269] validate_chain+0x18ef/0x5920 [ 73.046745][ T269] __lock_acquire+0x1397/0x2100 [ 73.052189][ T269] lock_acquire+0x1ed/0x550 [ 73.057223][ T269] __mutex_lock+0x19c/0x1010 [ 73.062325][ T269] unregister_netdevice_many_notify+0xac2/0x2030 [ 73.069172][ T269] unregister_netdevice_queue+0x303/0x370 [ 73.075512][ T269] _cfg80211_unregister_wdev+0x163/0x590 [ 73.081719][ T269] ieee80211_remove_interfaces+0x4ef/0x700 [ 73.088040][ T269] ieee80211_unregister_hw+0x5d/0x2c0 [ 73.093933][ T269] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 73.100013][ T269] hwsim_exit_net+0x5c1/0x670 [ 73.105478][ T269] cleanup_net+0x812/0xd60 [ 73.110502][ T269] process_scheduled_works+0xa66/0x1840 [ 73.116671][ T269] worker_thread+0x870/0xd30 [ 73.121961][ T269] kthread+0x7a9/0x920 [ 73.126547][ T269] ret_from_fork+0x4b/0x80 [ 73.131486][ T269] ret_from_fork_asm+0x1a/0x30 [ 73.136788][ T269] [ 73.136788][ T269] other info that might help us debug this: [ 73.136788][ T269] [ 73.147200][ T269] Possible unsafe locking scenario: [ 73.147200][ T269] [ 73.154745][ T269] CPU0 CPU1 [ 73.160378][ T269] ---- ---- [ 73.165739][ T269] lock(&rdev->wiphy.mtx); [ 73.170243][ T269] lock(rtnl_mutex); [ 73.176738][ T269] lock(&rdev->wiphy.mtx); [ 73.183784][ T269] lock(rtnl_mutex); [ 73.187824][ T269] [ 73.187824][ T269] *** DEADLOCK *** [ 73.187824][ T269] [ 73.196138][ T269] 4 locks held by kworker/u8:5/269: [ 73.201427][ T269] #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 [ 73.212390][ T269] #1: ffffc9000303fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 [ 73.222989][ T269] #2: ffffffff8fcb94d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 [ 73.232372][ T269] #3: ffff88807e030768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 73.243189][ T269] [ 73.243189][ T269] stack backtrace: [ 73.249078][ T269] CPU: 1 UID: 0 PID: 269 Comm: kworker/u8:5 Not tainted 6.13.0-syzkaller-04046-g0ad9617c78ac #0 [ 73.249095][ T269] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 73.249105][ T269] Workqueue: netns cleanup_net [ 73.249133][ T269] Call Trace: [ 73.249138][ T269] [ 73.249144][ T269] dump_stack_lvl+0x241/0x360 [ 73.249163][ T269] ? __pfx_dump_stack_lvl+0x10/0x10 [ 73.249175][ T269] ? __pfx__printk+0x10/0x10 [ 73.249190][ T269] print_circular_bug+0x13a/0x1b0 [ 73.249206][ T269] check_noncircular+0x36a/0x4a0 [ 73.249220][ T269] ? __pfx_check_noncircular+0x10/0x10 [ 73.249233][ T269] ? queued_spin_lock_slowpath+0x42/0x50 [ 73.249245][ T269] ? lockdep_lock+0x1b0/0x2b0 [ 73.249258][ T269] validate_chain+0x18ef/0x5920 [ 73.249276][ T269] ? __pfx_validate_chain+0x10/0x10 [ 73.249291][ T269] ? mark_lock+0x9a/0x360 [ 73.249303][ T269] ? __lock_acquire+0x1397/0x2100 [ 73.249317][ T269] ? mark_lock+0x9a/0x360 [ 73.249329][ T269] __lock_acquire+0x1397/0x2100 [ 73.249344][ T269] lock_acquire+0x1ed/0x550 [ 73.249354][ T269] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 73.249369][ T269] ? __pfx_lock_acquire+0x10/0x10 [ 73.249388][ T269] ? __pfx___might_resched+0x10/0x10 [ 73.249401][ T269] ? finish_wait+0xd4/0x1e0 [ 73.249414][ T269] __mutex_lock+0x19c/0x1010 [ 73.249430][ T269] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 73.249443][ T269] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 73.249455][ T269] ? __pfx___mutex_lock+0x10/0x10 [ 73.249468][ T269] ? __pfx___might_resched+0x10/0x10 [ 73.249478][ T269] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 73.249490][ T269] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 73.249502][ T269] unregister_netdevice_many_notify+0xac2/0x2030 [ 73.249515][ T269] ? mark_lock+0x9a/0x360 [ 73.249528][ T269] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 73.249540][ T269] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 73.249555][ T269] ? __pfx_lock_release+0x10/0x10 [ 73.249570][ T269] unregister_netdevice_queue+0x303/0x370 [ 73.249581][ T269] ? __pfx_up_write+0x10/0x10 [ 73.249589][ T269] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 73.249601][ T269] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 73.249614][ T269] _cfg80211_unregister_wdev+0x163/0x590 [ 73.249631][ T269] ieee80211_remove_interfaces+0x4ef/0x700 [ 73.249645][ T269] ? __pfx_ieee80211_remove_interfaces+0x10/0x10 [ 73.249656][ T269] ? rcu_is_watching+0x15/0xb0 [ 73.249672][ T269] ieee80211_unregister_hw+0x5d/0x2c0 [ 73.249682][ T269] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 73.249697][ T269] ? __pfx_mac80211_hwsim_del_radio+0x10/0x10 [ 73.249710][ T269] hwsim_exit_net+0x5c1/0x670 [ 73.249721][ T269] ? __pfx_hwsim_exit_net+0x10/0x10 [ 73.249732][ T269] ? __ip_vs_dev_cleanup_batch+0x239/0x260 [ 73.249748][ T269] cleanup_net+0x812/0xd60 [ 73.249758][ T269] ? __pfx_cleanup_net+0x10/0x10 [ 73.249768][ T269] ? process_scheduled_works+0x976/0x1840 [ 73.249779][ T269] process_scheduled_works+0xa66/0x1840 [ 73.249794][ T269] ? __pfx_process_scheduled_works+0x10/0x10 [ 73.249805][ T269] ? assign_work+0x364/0x3d0 [ 73.249815][ T269] worker_thread+0x870/0xd30 [ 73.249827][ T269] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 73.249840][ T269] ? __kthread_parkme+0x169/0x1d0 [ 73.249852][ T269] ? __pfx_worker_thread+0x10/0x10 [ 73.249861][ T269] kthread+0x7a9/0x920 [ 73.249872][ T269] ? __pfx_kthread+0x10/0x10 [ 73.249884][ T269] ? __pfx_worker_thread+0x10/0x10 [ 73.249894][ T269] ? __pfx_kthread+0x10/0x10 [ 73.249904][ T269] ? __pfx_kthread+0x10/0x10 [ 73.249916][ T269] ? __pfx_kthread+0x10/0x10 [ 73.249926][ T269] ? _raw_spin_unlock_irq+0x23/0x50 [ 73.249937][ T269] ? lockdep_hardirqs_on+0x99/0x150 [ 73.249951][ T269] ? __pfx_kthread+0x10/0x10 [ 73.249962][ T269] ret_from_fork+0x4b/0x80 [ 73.249973][ T269] ? __pfx_kthread+0x10/0x10 [ 73.249984][ T269] ret_from_fork_asm+0x1a/0x30 [ 73.249996][ T269] [ 73.654531][ T5860] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 73.666352][ T5860] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 73.688253][ T5860] team0: Port device team_slave_0 added [ 73.697025][ T5860] team0: Port device team_slave_1 added [ 73.729235][ T5860] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 73.736229][ T5860] 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. [ 73.763193][ T5860] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 73.775277][ T5860] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 73.784115][ T5860] 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. [ 73.810441][ T5860] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 73.838222][ T5860] hsr_slave_0: entered promiscuous mode [ 73.844321][ T5860] hsr_slave_1: entered promiscuous mode [ 73.910191][ T5860] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 73.920312][ T5860] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 73.931836][ T5860] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 73.940979][ T5860] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 73.977963][ T5860] 8021q: adding VLAN 0 to HW filter on device bond0 [ 73.993606][ T5860] 8021q: adding VLAN 0 to HW filter on device team0 [ 74.004443][ T269] bridge0: port 1(bridge_slave_0) entered blocking state [ 74.011572][ T269] bridge0: port 1(bridge_slave_0) entered forwarding state [ 74.024465][ T269] bridge0: port 2(bridge_slave_1) entered blocking state [ 74.031632][ T269] bridge0: port 2(bridge_slave_1) entered forwarding state [ 74.116602][ T5860] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 74.143707][ T5860] veth0_vlan: entered promiscuous mode [ 74.153995][ T5860] veth1_vlan: entered promiscuous mode [ 74.171842][ T5860] veth0_macvtap: entered promiscuous mode [ 74.180265][ T5860] veth1_macvtap: entered promiscuous mode [ 74.194288][ T5860] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 74.206553][ T5860] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 74.216576][ T5860] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 74.225690][ T5860] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 74.234490][ T5860] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 74.243834][ T5860] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 74.322655][ T269] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 74.397592][ T269] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 74.435588][ T269] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 74.506747][ T269] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 2025/01/25 02:07:37 executed programs: 0 [ 75.819966][ T5146] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 75.827621][ T5146] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 75.835286][ T5146] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 75.843447][ T5146] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 75.851221][ T5146] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 75.858563][ T5146] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 75.933461][ T5925] chnl_net:caif_netlink_parms(): no params data found [ 75.967687][ T5925] bridge0: port 1(bridge_slave_0) entered blocking state [ 75.975280][ T5925] bridge0: port 1(bridge_slave_0) entered disabled state [ 75.982850][ T5925] bridge_slave_0: entered allmulticast mode [ 75.990287][ T5925] bridge_slave_0: entered promiscuous mode [ 75.998007][ T5925] bridge0: port 2(bridge_slave_1) entered blocking state [ 76.005525][ T5925] bridge0: port 2(bridge_slave_1) entered disabled state [ 76.013147][ T5925] bridge_slave_1: entered allmulticast mode [ 76.019866][ T5925] bridge_slave_1: entered promiscuous mode [ 76.036812][ T5925] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 76.047905][ T5925] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 76.071515][ T5925] team0: Port device team_slave_0 added [ 76.079593][ T5925] team0: Port device team_slave_1 added [ 76.094298][ T5925] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 76.101586][ T5925] 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. [ 76.128228][ T5925] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 76.141076][ T5925] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 76.148023][ T5925] 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. [ 76.174431][ T5925] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 76.202365][ T5925] hsr_slave_0: entered promiscuous mode [ 76.208405][ T5925] hsr_slave_1: entered promiscuous mode [ 76.214941][ T5925] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 76.222660][ T5925] Cannot create hsr debugfs directory [ 77.563530][ T269] bridge_slave_1: left allmulticast mode [ 77.569599][ T269] bridge_slave_1: left promiscuous mode [ 77.575357][ T269] bridge0: port 2(bridge_slave_1) entered disabled state [ 77.585773][ T269] bridge_slave_0: left allmulticast mode [ 77.592848][ T269] bridge_slave_0: left promiscuous mode [ 77.598580][ T269] bridge0: port 1(bridge_slave_0) entered disabled state [ 77.725339][ T269] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 77.735575][ T269] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 77.748695][ T269] bond0 (unregistering): Released all slaves [ 77.862047][ T269] hsr_slave_0: left promiscuous mode [ 77.874704][ T269] hsr_slave_1: left promiscuous mode [ 77.879358][ T5146] Bluetooth: hci0: command tx timeout [ 77.882366][ T269] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 77.893407][ T269] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 77.903924][ T269] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 77.911991][ T269] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 77.921665][ T269] veth1_macvtap: left promiscuous mode [ 77.928965][ T269] veth0_macvtap: left promiscuous mode [ 77.935331][ T269] veth1_vlan: left promiscuous mode [ 77.940866][ T269] veth0_vlan: left promiscuous mode [ 78.068576][ T269] team0 (unregistering): Port device team_slave_1 removed [ 78.083791][ T269] team0 (unregistering): Port device team_slave_0 removed [ 78.150060][ T5925] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 78.158668][ T5925] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 78.168675][ T5925] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 78.179349][ T5925] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 78.218423][ T5925] 8021q: adding VLAN 0 to HW filter on device bond0 [ 78.236210][ T5925] 8021q: adding VLAN 0 to HW filter on device team0 [ 78.247004][ T12] bridge0: port 1(bridge_slave_0) entered blocking state [ 78.254139][ T12] bridge0: port 1(bridge_slave_0) entered forwarding state [ 78.266039][ T53] bridge0: port 2(bridge_slave_1) entered blocking state [ 78.273298][ T53] bridge0: port 2(bridge_slave_1) entered forwarding state [ 78.366771][ T5925] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 78.396220][ T5925] veth0_vlan: entered promiscuous mode [ 78.409871][ T5925] veth1_vlan: entered promiscuous mode [ 78.428891][ T5925] veth0_macvtap: entered promiscuous mode [ 78.438222][ T5925] veth1_macvtap: entered promiscuous mode [ 78.581800][ T5925] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 78.593323][ T5925] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 78.604709][ T5925] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 78.614113][ T5925] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 78.623945][ T5925] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 78.633407][ T5925] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 78.661526][ T5925] ieee80211 phy5: Selected rate control algorithm 'minstrel_ht' [ 78.682733][ T53] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 78.683655][ T5925] ieee80211 phy6: Selected rate control algorithm 'minstrel_ht' [ 78.702280][ T53] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 78.736233][ T12] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 78.744841][ T12] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 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-build233722024=/tmp/go-build -gno-record-gcc-switches' git status (err=) HEAD detached at 67d7ec0a69 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=67d7ec0a69193b2acbb8cdb5109d5505a9128ac5 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250109-184308'" "-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=\"67d7ec0a69193b2acbb8cdb5109d5505a9128ac5\" /usr/bin/ld: /tmp/cc1V1Xcs.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