last executing test programs: 3.207657884s ago: executing program 4 (id=5): openat(0xffffffffffffff9c, &(0x7f0000000040)='/proc/cmdline', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/cmdline', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/proc/cmdline', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/proc/cmdline', 0x800, 0x0) 3.205931869s ago: executing program 0 (id=1): sendmsg(0xffffffffffffffff, &(0x7f0000000000), 0x0) 3.205852117s ago: executing program 1 (id=2): write(0xffffffffffffffff, &(0x7f0000000000), 0x0) 3.200024923s ago: executing program 2 (id=11): recvmsg(0xffffffffffffffff, &(0x7f0000000000), 0x0) 3.18388022s ago: executing program 0 (id=13): clone(0x0, &(0x7f0000000000), &(0x7f0000000000), &(0x7f0000000000), &(0x7f0000000000)) exit(0x0) 3.183476678s ago: executing program 4 (id=14): socket(0x1, 0x1, 0x0) 3.128824549s ago: executing program 2 (id=16): socket(0x1e, 0x2, 0x0) 3.127085505s ago: executing program 0 (id=18): mkdir(&(0x7f0000000000), 0x0) 2.517750713s ago: executing program 2 (id=19): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 2.47852317s ago: executing program 3 (id=20): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 2.39216336s ago: executing program 0 (id=22): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 1.873099338s ago: executing program 4 (id=21): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 1.642385762s ago: executing program 0 (id=25): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 1.513987794s ago: executing program 3 (id=24): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 1.482152358s ago: executing program 2 (id=23): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 1.314159325s ago: executing program 4 (id=26): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 1.214582155s ago: executing program 2 (id=30): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 742.285259ms ago: executing program 3 (id=28): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 480.114224ms ago: executing program 3 (id=32): unlink(&(0x7f0000000000)) 478.958538ms ago: executing program 4 (id=29): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 457.770626ms ago: executing program 2 (id=31): mmap(&(0x7efffffff000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000000000/0x1000000)=nil, 0x1000000, 0x7, 0x32, 0xffffffffffffffff, 0x0) mmap(&(0x7f0001000000/0x1000)=nil, 0x1000, 0x0, 0x32, 0xffffffffffffffff, 0x0) 457.41041ms ago: executing program 3 (id=34): perf_event_open(&(0x7f0000000000), 0x0, 0x0, 0xffffffffffffffff, 0x0) 81.22037ms ago: executing program 0 (id=33): getpid() 0s ago: executing program 3 (id=35): expanding glob: /sys/**/* kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.1.138' (ED25519) to the list of known hosts. [ 57.241729][ T5824] cgroup: Unknown subsys name 'net' [ 57.392683][ T5824] cgroup: Unknown subsys name 'cpuset' [ 57.400761][ T5824] cgroup: Unknown subsys name 'rlimit' Setting up swapspace version 1, size = 127995904 bytes [ 58.756602][ T5824] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 60.913007][ T5871] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 60.925720][ T5871] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 60.934022][ T5871] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 60.941976][ T5871] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 60.949890][ T5871] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 60.958405][ T5871] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 61.314463][ T5868] 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. [ 61.362316][ T1109] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 61.391046][ T1109] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 61.573031][ T5865] chnl_net:caif_netlink_parms(): no params data found [ 61.652592][ T11] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 61.681644][ T11] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 62.159054][ T5865] bridge0: port 1(bridge_slave_0) entered blocking state [ 62.167346][ T5865] bridge0: port 1(bridge_slave_0) entered disabled state [ 62.174738][ T5865] bridge_slave_0: entered allmulticast mode [ 62.181549][ T5865] bridge_slave_0: entered promiscuous mode [ 62.211749][ T5865] bridge0: port 2(bridge_slave_1) entered blocking state [ 62.218953][ T5865] bridge0: port 2(bridge_slave_1) entered disabled state [ 62.226680][ T5865] bridge_slave_1: entered allmulticast mode [ 62.235104][ T5865] bridge_slave_1: entered promiscuous mode [ 62.554131][ T5865] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 62.580988][ T5865] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 62.733550][ T5865] team0: Port device team_slave_0 added [ 62.762883][ T5865] team0: Port device team_slave_1 added [ 62.874391][ T5865] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 62.899748][ T5865] 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. [ 62.951727][ T5865] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 63.047946][ T5865] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 63.088233][ T5865] 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. [ 63.114945][ T5865] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 63.286060][ T5865] hsr_slave_0: entered promiscuous mode [ 63.293869][ T5865] hsr_slave_1: entered promiscuous mode [ 63.923173][ T5865] netdevsim netdevsim1 netdevsim0: renamed from eth0 [ 63.946400][ T5865] netdevsim netdevsim1 netdevsim1: renamed from eth1 [ 64.004518][ T5865] netdevsim netdevsim1 netdevsim2: renamed from eth2 [ 64.018875][ T3490] [ 64.021257][ T3490] ====================================================== [ 64.028298][ T3490] WARNING: possible circular locking dependency detected [ 64.035346][ T3490] 6.13.0-syzkaller-gb420b5756549 #0 Not tainted [ 64.041597][ T3490] ------------------------------------------------------ [ 64.048622][ T3490] kworker/u8:8/3490 is trying to acquire lock: SYZFAIL: failed to recv rpc fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor) [ 64.054779][ T3490] ffffffff8fcc1608 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 [ 64.065175][ T3490] [ 64.065175][ T3490] but task is already holding lock: [ 64.072545][ T3490] ffff888078a00768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 64.082900][ T3490] [ 64.082900][ T3490] which lock already depends on the new lock. [ 64.082900][ T3490] [ 64.093293][ T3490] [ 64.093293][ T3490] the existing dependency chain (in reverse order) is: [ 64.102381][ T3490] [ 64.102381][ T3490] -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}: [ 64.110115][ T3490] lock_acquire+0x1ed/0x550 [ 64.115134][ T3490] __mutex_lock+0x19c/0x1010 [ 64.120244][ T3490] wiphy_register+0x1a49/0x27b0 [ 64.125614][ T3490] ieee80211_register_hw+0x354e/0x4240 [ 64.131587][ T3490] mac80211_hwsim_new_radio+0x2a9f/0x4a90 [ 64.137819][ T3490] init_mac80211_hwsim+0x87a/0xb00 [ 64.143528][ T3490] do_one_initcall+0x248/0x870 [ 64.148807][ T3490] do_initcall_level+0x157/0x210 [ 64.154253][ T3490] do_initcalls+0x3f/0x80 [ 64.159094][ T3490] kernel_init_freeable+0x435/0x5d0 [ 64.165147][ T3490] kernel_init+0x1d/0x2b0 [ 64.169990][ T3490] ret_from_fork+0x4b/0x80 [ 64.174930][ T3490] ret_from_fork_asm+0x1a/0x30 [ 64.180201][ T3490] [ 64.180201][ T3490] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 64.187430][ T3490] validate_chain+0x18ef/0x5920 [ 64.192808][ T3490] __lock_acquire+0x1397/0x2100 [ 64.198173][ T3490] lock_acquire+0x1ed/0x550 [ 64.203273][ T3490] __mutex_lock+0x19c/0x1010 [ 64.208380][ T3490] unregister_netdevice_many_notify+0xac2/0x2030 [ 64.215217][ T3490] unregister_netdevice_queue+0x303/0x370 [ 64.221450][ T3490] _cfg80211_unregister_wdev+0x163/0x590 [ 64.227681][ T3490] ieee80211_remove_interfaces+0x4ef/0x700 [ 64.234091][ T3490] ieee80211_unregister_hw+0x5d/0x2c0 [ 64.240064][ T3490] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 64.246126][ T3490] hwsim_exit_net+0x5c1/0x670 [ 64.251320][ T3490] cleanup_net+0x812/0xd60 [ 64.256246][ T3490] process_scheduled_works+0xa66/0x1840 [ 64.262305][ T3490] worker_thread+0x870/0xd30 [ 64.267411][ T3490] kthread+0x7a9/0x920 [ 64.271991][ T3490] ret_from_fork+0x4b/0x80 [ 64.276928][ T3490] ret_from_fork_asm+0x1a/0x30 [ 64.282202][ T3490] [ 64.282202][ T3490] other info that might help us debug this: [ 64.282202][ T3490] [ 64.292416][ T3490] Possible unsafe locking scenario: [ 64.292416][ T3490] [ 64.299848][ T3490] CPU0 CPU1 [ 64.305206][ T3490] ---- ---- [ 64.310558][ T3490] lock(&rdev->wiphy.mtx); [ 64.315054][ T3490] lock(rtnl_mutex); [ 64.321547][ T3490] lock(&rdev->wiphy.mtx); [ 64.328555][ T3490] lock(rtnl_mutex); [ 64.332531][ T3490] [ 64.332531][ T3490] *** DEADLOCK *** [ 64.332531][ T3490] [ 64.340659][ T3490] 4 locks held by kworker/u8:8/3490: [ 64.345935][ T3490] #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 [ 64.356819][ T3490] #1: ffffc9000cf77c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 [ 64.367462][ T3490] #2: ffffffff8fcb5050 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 [ 64.376874][ T3490] #3: ffff888078a00768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 64.387662][ T3490] [ 64.387662][ T3490] stack backtrace: [ 64.393556][ T3490] CPU: 0 UID: 0 PID: 3490 Comm: kworker/u8:8 Not tainted 6.13.0-syzkaller-gb420b5756549 #0 [ 64.393572][ T3490] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 64.393581][ T3490] Workqueue: netns cleanup_net [ 64.393607][ T3490] Call Trace: [ 64.393613][ T3490] [ 64.393619][ T3490] dump_stack_lvl+0x241/0x360 [ 64.393639][ T3490] ? __pfx_dump_stack_lvl+0x10/0x10 [ 64.393656][ T3490] ? __pfx__printk+0x10/0x10 [ 64.393675][ T3490] print_circular_bug+0x13a/0x1b0 [ 64.393694][ T3490] check_noncircular+0x36a/0x4a0 [ 64.393712][ T3490] ? __pfx_check_noncircular+0x10/0x10 [ 64.393729][ T3490] ? lockdep_lock+0x123/0x2b0 [ 64.393743][ T3490] ? rcu_read_lock_sched_held+0x8d/0x130 [ 64.393763][ T3490] validate_chain+0x18ef/0x5920 [ 64.393786][ T3490] ? __pfx_validate_chain+0x10/0x10 [ 64.393805][ T3490] ? mark_lock+0x9a/0x360 [ 64.393821][ T3490] ? __lock_acquire+0x1397/0x2100 [ 64.393839][ T3490] ? mark_lock+0x9a/0x360 [ 64.393854][ T3490] __lock_acquire+0x1397/0x2100 [ 64.393873][ T3490] lock_acquire+0x1ed/0x550 [ 64.393886][ T3490] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 64.393904][ T3490] ? __pfx_lock_acquire+0x10/0x10 [ 64.393919][ T3490] ? __pfx___might_resched+0x10/0x10 [ 64.393932][ T3490] ? finish_wait+0xd4/0x1e0 [ 64.393947][ T3490] __mutex_lock+0x19c/0x1010 [ 64.393966][ T3490] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 64.393985][ T3490] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 64.394002][ T3490] ? __pfx___mutex_lock+0x10/0x10 [ 64.394019][ T3490] ? __pfx___might_resched+0x10/0x10 [ 64.394032][ T3490] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 64.394048][ T3490] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 64.394065][ T3490] unregister_netdevice_many_notify+0xac2/0x2030 [ 64.394085][ T3490] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 64.394101][ T3490] ? _raw_spin_unlock_irqrestore+0x8f/0x140 [ 64.394117][ T3490] ? lockdep_hardirqs_on+0x99/0x150 [ 64.394135][ T3490] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 64.394151][ T3490] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 64.394168][ T3490] ? wake_up_q+0xdc/0x120 [ 64.394181][ T3490] unregister_netdevice_queue+0x303/0x370 [ 64.394196][ T3490] ? __pfx_up_write+0x10/0x10 [ 64.394212][ T3490] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 64.394228][ T3490] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 64.394252][ T3490] _cfg80211_unregister_wdev+0x163/0x590 [ 64.394272][ T3490] ieee80211_remove_interfaces+0x4ef/0x700 [ 64.394289][ T3490] ? __pfx_ieee80211_remove_interfaces+0x10/0x10 [ 64.394303][ T3490] ? rcu_is_watching+0x15/0xb0 [ 64.394321][ T3490] ieee80211_unregister_hw+0x5d/0x2c0 [ 64.394341][ T3490] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 64.394359][ T3490] ? __pfx_mac80211_hwsim_del_radio+0x10/0x10 [ 64.394376][ T3490] hwsim_exit_net+0x5c1/0x670 [ 64.394389][ T3490] ? __pfx_hwsim_exit_net+0x10/0x10 [ 64.394402][ T3490] ? __ip_vs_dev_cleanup_batch+0x239/0x260 [ 64.394421][ T3490] cleanup_net+0x812/0xd60 [ 64.394440][ T3490] ? __pfx_cleanup_net+0x10/0x10 [ 64.394460][ T3490] ? process_scheduled_works+0x976/0x1840 [ 64.394479][ T3490] process_scheduled_works+0xa66/0x1840 [ 64.394505][ T3490] ? __pfx_process_scheduled_works+0x10/0x10 [ 64.394526][ T3490] ? assign_work+0x364/0x3d0 [ 64.394546][ T3490] worker_thread+0x870/0xd30 [ 64.394560][ T3490] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 64.394577][ T3490] ? __kthread_parkme+0x169/0x1d0 [ 64.394591][ T3490] ? __pfx_worker_thread+0x10/0x10 [ 64.394603][ T3490] kthread+0x7a9/0x920 [ 64.394617][ T3490] ? __pfx_kthread+0x10/0x10 [ 64.394631][ T3490] ? __pfx_worker_thread+0x10/0x10 [ 64.394644][ T3490] ? __pfx_kthread+0x10/0x10 [ 64.394657][ T3490] ? __pfx_kthread+0x10/0x10 [ 64.394671][ T3490] ? __pfx_kthread+0x10/0x10 [ 64.394685][ T3490] ? _raw_spin_unlock_irq+0x23/0x50 [ 64.394699][ T3490] ? lockdep_hardirqs_on+0x99/0x150 [ 64.394715][ T3490] ? __pfx_kthread+0x10/0x10 [ 64.394729][ T3490] ret_from_fork+0x4b/0x80 [ 64.394743][ T3490] ? __pfx_kthread+0x10/0x10 [ 64.394757][ T3490] ret_from_fork_asm+0x1a/0x30 [ 64.394773][ T3490] [ 65.297584][ T3490] bridge_slave_1: left allmulticast mode [ 65.303331][ T3490] bridge_slave_1: left promiscuous mode [ 65.308981][ T3490] bridge0: port 2(bridge_slave_1) entered disabled state [ 65.317181][ T3490] bridge_slave_0: left allmulticast mode [ 65.323463][ T3490] bridge_slave_0: left promiscuous mode [ 65.329236][ T3490] bridge0: port 1(bridge_slave_0) entered disabled state [ 65.494415][ T3490] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 65.504864][ T3490] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 65.514435][ T3490] bond0 (unregistering): Released all slaves [ 65.594946][ T3490] hsr_slave_0: left promiscuous mode [ 65.601122][ T3490] hsr_slave_1: left promiscuous mode [ 65.606835][ T3490] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 65.614752][ T3490] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 65.705553][ T3490] team0 (unregistering): Port device team_slave_1 removed [ 65.728632][ T3490] team0 (unregistering): Port device team_slave_0 removed [ 71.821495][ T1293] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.827805][ T1293] ieee802154 phy1 wpan1: encryption failed: -22