last executing test programs: 2.869113273s ago: executing program 0 (id=1): sendmsg(0xffffffffffffffff, &(0x7f0000000000), 0x0) 2.823325733s ago: executing program 3 (id=7): getpid() 2.821926854s ago: executing program 1 (id=2): ioctl(0xffffffffffffffff, 0x0, &(0x7f0000000000)) 2.820997713s ago: executing program 2 (id=8): write(0xffffffffffffffff, &(0x7f0000000000), 0x0) 2.820880695s ago: executing program 4 (id=5): bpf$BPF_BTF_GET_FD_BY_ID(0x13, &(0x7f0000000000), 0x0) 2.820727939s ago: executing program 3 (id=9): gettid() 2.820258583s ago: executing program 0 (id=10): socket(0x1e, 0x2, 0x0) 2.814973892s ago: executing program 2 (id=11): 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) 2.814125758s ago: executing program 4 (id=12): close(0xffffffffffffffff) 2.813690079s ago: executing program 3 (id=13): mkdirat(0xffffffffffffffff, &(0x7f0000000000), 0x0) 2.793888598s ago: executing program 1 (id=14): socket(0x1, 0x1, 0x0) 2.743217606s ago: executing program 2 (id=15): perf_event_open(&(0x7f0000000000), 0x0, 0x0, 0xffffffffffffffff, 0x0) 2.741764233s ago: executing program 0 (id=16): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/ppp', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/ppp', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/ppp', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/ppp', 0x800, 0x0) 2.74138722s ago: executing program 0 (id=18): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/net/tun', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/net/tun', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/net/tun', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/net/tun', 0x800, 0x0) 2.072660791s ago: executing program 1 (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.072387041s ago: executing program 2 (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) 1.942953971s ago: executing program 3 (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.136670562s ago: executing program 0 (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) 995.351198ms ago: executing program 2 (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) 995.080915ms ago: executing program 3 (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) 949.708952ms ago: executing program 1 (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) 469.490939ms ago: executing program 0 (id=27): unlink(&(0x7f0000000000)) 320.392226ms 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) 64.230003ms ago: executing program 1 (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) 0s ago: executing program 3 (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) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.0.103' (ED25519) to the list of known hosts. [ 56.619234][ T5819] cgroup: Unknown subsys name 'net' [ 56.770818][ T5819] cgroup: Unknown subsys name 'cpuset' [ 56.779361][ T5819] cgroup: Unknown subsys name 'rlimit' Setting up swapspace version 1, size = 127995904 bytes [ 58.128519][ T5819] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 60.257651][ T5864] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 60.268920][ T5864] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 60.277625][ T5864] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 60.290096][ T5864] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 60.312826][ T5864] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 60.321241][ T5864] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 60.699349][ T5866] 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. [ 60.893945][ T5859] chnl_net:caif_netlink_parms(): no params data found [ 61.101698][ T3013] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 61.134924][ T3013] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 61.465633][ T5859] bridge0: port 1(bridge_slave_0) entered blocking state [ 61.474336][ T5859] bridge0: port 1(bridge_slave_0) entered disabled state [ 61.482046][ T5859] bridge_slave_0: entered allmulticast mode [ 61.491595][ T5859] bridge_slave_0: entered promiscuous mode [ 61.563211][ T51] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 61.576211][ T51] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 61.587044][ T5859] bridge0: port 2(bridge_slave_1) entered blocking state [ 61.594320][ T5859] bridge0: port 2(bridge_slave_1) entered disabled state [ 61.602104][ T5859] bridge_slave_1: entered allmulticast mode [ 61.609173][ T5859] bridge_slave_1: entered promiscuous mode [ 61.670171][ T5859] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 61.682394][ T5859] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 61.743346][ T5859] team0: Port device team_slave_0 added [ 61.752900][ T5859] team0: Port device team_slave_1 added [ 61.872332][ T5859] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 61.888723][ T5859] 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. [ 61.914960][ T5859] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 61.954677][ T5859] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 61.972162][ T5859] 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. [ 62.052535][ T5859] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 62.235435][ T5859] hsr_slave_0: entered promiscuous mode [ 62.257194][ T5859] hsr_slave_1: entered promiscuous mode [ 63.053942][ T35] [ 63.056318][ T35] ====================================================== [ 63.063355][ T35] WARNING: possible circular locking dependency detected [ 63.070394][ T35] 6.13.0-syzkaller-gd0d106a2bd21 #0 Not tainted [ 63.076727][ T35] ------------------------------------------------------ [ 63.083850][ T35] kworker/u8:2/35 is trying to acquire lock: [ 63.090099][ T35] ffffffff8fcc1608 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 [ 63.101196][ T35] [ 63.101196][ T35] but task is already holding lock: [ 63.108749][ T35] ffff888057c28768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 63.119138][ T35] [ 63.119138][ T35] which lock already depends on the new lock. [ 63.119138][ T35] [ 63.129619][ T35] [ 63.129619][ T35] the existing dependency chain (in reverse order) is: [ 63.138622][ T35] [ 63.138622][ T35] -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}: [ 63.146392][ T35] lock_acquire+0x1ed/0x550 [ 63.151410][ T35] __mutex_lock+0x19c/0x1010 [ 63.156516][ T35] wiphy_register+0x1a49/0x27b0 [ 63.162227][ T35] ieee80211_register_hw+0x354e/0x4240 [ 63.168375][ T35] mac80211_hwsim_new_radio+0x2a9f/0x4a90 [ 63.174606][ T35] init_mac80211_hwsim+0x87a/0xb00 [ 63.180346][ T35] do_one_initcall+0x248/0x870 [ 63.185641][ T35] do_initcall_level+0x157/0x210 [ 63.191109][ T35] do_initcalls+0x3f/0x80 [ 63.196013][ T35] kernel_init_freeable+0x435/0x5d0 [ 63.201754][ T35] kernel_init+0x1d/0x2b0 [ 63.206609][ T35] ret_from_fork+0x4b/0x80 [ 63.211627][ T35] ret_from_fork_asm+0x1a/0x30 [ 63.216916][ T35] [ 63.216916][ T35] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 63.224132][ T35] validate_chain+0x18ef/0x5920 [ 63.229514][ T35] __lock_acquire+0x1397/0x2100 [ 63.234879][ T35] lock_acquire+0x1ed/0x550 [ 63.239978][ T35] __mutex_lock+0x19c/0x1010 [ 63.245367][ T35] unregister_netdevice_many_notify+0xac2/0x2030 [ 63.252225][ T35] unregister_netdevice_queue+0x303/0x370 [ 63.258460][ T35] _cfg80211_unregister_wdev+0x163/0x590 [ 63.264605][ T35] ieee80211_remove_interfaces+0x4ef/0x700 [ 63.271014][ T35] ieee80211_unregister_hw+0x5d/0x2c0 [ 63.276919][ T35] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 63.282975][ T35] hwsim_exit_net+0x5c1/0x670 [ 63.288247][ T35] cleanup_net+0x812/0xd60 [ 63.293180][ T35] process_scheduled_works+0xa66/0x1840 [ 63.299258][ T35] worker_thread+0x870/0xd30 [ 63.304441][ T35] kthread+0x7a9/0x920 [ 63.309106][ T35] ret_from_fork+0x4b/0x80 [ 63.314119][ T35] ret_from_fork_asm+0x1a/0x30 [ 63.319479][ T35] [ 63.319479][ T35] other info that might help us debug this: [ 63.319479][ T35] [ 63.329794][ T35] Possible unsafe locking scenario: [ 63.329794][ T35] [ 63.337339][ T35] CPU0 CPU1 [ 63.342733][ T35] ---- ---- [ 63.348091][ T35] lock(&rdev->wiphy.mtx); [ 63.352585][ T35] lock(rtnl_mutex); [ 63.359075][ T35] lock(&rdev->wiphy.mtx); [ 63.366089][ T35] lock(rtnl_mutex); [ 63.370157][ T35] [ 63.370157][ T35] *** DEADLOCK *** [ 63.370157][ T35] [ 63.378291][ T35] 4 locks held by kworker/u8:2/35: [ 63.383386][ T35] #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 [ 63.394274][ T35] #1: ffffc90000ab7c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 [ 63.404923][ T35] #2: ffffffff8fcb5050 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 [ 63.414315][ T35] #3: ffff888057c28768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 63.425215][ T35] [ 63.425215][ T35] stack backtrace: [ 63.431124][ T35] CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.13.0-syzkaller-gd0d106a2bd21 #0 [ 63.431140][ T35] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 63.431150][ T35] Workqueue: netns cleanup_net [ 63.431180][ T35] Call Trace: [ 63.431188][ T35] [ 63.431194][ T35] dump_stack_lvl+0x241/0x360 [ 63.431215][ T35] ? __pfx_dump_stack_lvl+0x10/0x10 [ 63.431232][ T35] ? __pfx__printk+0x10/0x10 [ 63.431251][ T35] print_circular_bug+0x13a/0x1b0 [ 63.431270][ T35] check_noncircular+0x36a/0x4a0 [ 63.431288][ T35] ? __pfx_check_noncircular+0x10/0x10 [ 63.431305][ T35] ? lockdep_lock+0x123/0x2b0 [ 63.431321][ T35] validate_chain+0x18ef/0x5920 [ 63.431344][ T35] ? __pfx_validate_chain+0x10/0x10 [ 63.431363][ T35] ? mark_lock+0x9a/0x360 [ 63.431379][ T35] ? __lock_acquire+0x1397/0x2100 [ 63.431397][ T35] ? mark_lock+0x9a/0x360 [ 63.431412][ T35] __lock_acquire+0x1397/0x2100 [ 63.431430][ T35] lock_acquire+0x1ed/0x550 [ 63.431443][ T35] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 63.431462][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 63.431482][ T35] ? __pfx___might_resched+0x10/0x10 [ 63.431495][ T35] ? finish_wait+0xd4/0x1e0 [ 63.431511][ T35] __mutex_lock+0x19c/0x1010 [ 63.431529][ T35] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 63.431548][ T35] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 63.431564][ T35] ? __pfx___mutex_lock+0x10/0x10 [ 63.431581][ T35] ? __pfx___might_resched+0x10/0x10 [ 63.431594][ T35] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 63.431610][ T35] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 63.431627][ T35] unregister_netdevice_many_notify+0xac2/0x2030 [ 63.431642][ T35] ? mark_lock+0x9a/0x360 [ 63.431660][ T35] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 63.431676][ T35] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 63.431693][ T35] ? __pfx_lock_release+0x10/0x10 [ 63.431713][ T35] unregister_netdevice_queue+0x303/0x370 [ 63.431727][ T35] ? __pfx_up_write+0x10/0x10 [ 63.431746][ T35] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 63.431762][ T35] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 63.431779][ T35] _cfg80211_unregister_wdev+0x163/0x590 [ 63.431798][ T35] ieee80211_remove_interfaces+0x4ef/0x700 [ 63.431816][ T35] ? __pfx_ieee80211_remove_interfaces+0x10/0x10 [ 63.431830][ T35] ? rcu_is_watching+0x15/0xb0 [ 63.431849][ T35] ieee80211_unregister_hw+0x5d/0x2c0 [ 63.431869][ T35] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 63.431886][ T35] ? __pfx_mac80211_hwsim_del_radio+0x10/0x10 [ 63.431903][ T35] hwsim_exit_net+0x5c1/0x670 [ 63.431916][ T35] ? __pfx_hwsim_exit_net+0x10/0x10 [ 63.431928][ T35] ? __ip_vs_dev_cleanup_batch+0x239/0x260 [ 63.431948][ T35] cleanup_net+0x812/0xd60 [ 63.431967][ T35] ? __pfx_cleanup_net+0x10/0x10 [ 63.431987][ T35] ? process_scheduled_works+0x976/0x1840 [ 63.432006][ T35] process_scheduled_works+0xa66/0x1840 [ 63.432033][ T35] ? __pfx_process_scheduled_works+0x10/0x10 [ 63.432053][ T35] ? assign_work+0x364/0x3d0 [ 63.432072][ T35] worker_thread+0x870/0xd30 [ 63.432088][ T35] ? __kthread_parkme+0x169/0x1d0 [ 63.432102][ T35] ? __pfx_worker_thread+0x10/0x10 [ 63.432114][ T35] kthread+0x7a9/0x920 [ 63.432128][ T35] ? __pfx_kthread+0x10/0x10 [ 63.432143][ T35] ? __pfx_worker_thread+0x10/0x10 [ 63.432155][ T35] ? __pfx_kthread+0x10/0x10 [ 63.432168][ T35] ? __pfx_kthread+0x10/0x10 [ 63.432182][ T35] ? __pfx_kthread+0x10/0x10 [ 63.432196][ T35] ? _raw_spin_unlock_irq+0x23/0x50 [ 63.432211][ T35] ? lockdep_hardirqs_on+0x99/0x150 [ 63.432228][ T35] ? __pfx_kthread+0x10/0x10 [ 63.432242][ T35] ret_from_fork+0x4b/0x80 [ 63.432256][ T35] ? __pfx_kthread+0x10/0x10 [ 63.432270][ T35] ret_from_fork_asm+0x1a/0x30 SYZFAIL: failed to recv rpc fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor) [ 63.432286][ T35] [ 63.858972][ T5859] netdevsim netdevsim4 netdevsim0: renamed from eth0 [ 63.908233][ T5859] netdevsim netdevsim4 netdevsim1: renamed from eth1 [ 64.490628][ T35] bridge_slave_1: left allmulticast mode [ 64.496327][ T35] bridge_slave_1: left promiscuous mode [ 64.503398][ T35] bridge0: port 2(bridge_slave_1) entered disabled state [ 64.511453][ T35] bridge_slave_0: left allmulticast mode [ 64.517240][ T35] bridge_slave_0: left promiscuous mode [ 64.523010][ T35] bridge0: port 1(bridge_slave_0) entered disabled state [ 64.637825][ T35] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 64.647954][ T35] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 64.658100][ T35] bond0 (unregistering): Released all slaves [ 64.753962][ T35] hsr_slave_0: left promiscuous mode [ 64.761941][ T35] hsr_slave_1: left promiscuous mode [ 64.767807][ T35] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 64.775679][ T35] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 64.868436][ T35] team0 (unregistering): Port device team_slave_1 removed [ 64.889363][ T35] team0 (unregistering): Port device team_slave_0 removed [ 71.808582][ T1297] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.814962][ T1297] ieee802154 phy1 wpan1: encryption failed: -22