last executing test programs: 4.39013519s ago: executing program 2 (id=21): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/infiniband/rdma_cm', 0x2, 0x0) 4.389108722s ago: executing program 2 (id=25): timer_getoverrun(0x0) 4.374888162s ago: executing program 2 (id=28): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/v4l/by-path/platform-soc@0:qcom_cam-req-mgr-video-index0', 0x2, 0x0) 4.307727985s ago: executing program 2 (id=32): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/dlm-monitor', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/dlm-monitor', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/dlm-monitor', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/dlm-monitor', 0x800, 0x0) 4.307126994s ago: executing program 2 (id=36): pause() 3.64826937s ago: executing program 3 (id=103): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/nvme-fabrics', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/nvme-fabrics', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/nvme-fabrics', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/nvme-fabrics', 0x800, 0x0) 3.588787915s ago: executing program 3 (id=106): openat(0xffffffffffffff9c, &(0x7f0000000040)='/proc/self/reclaim', 0x1, 0x0) 3.588214457s ago: executing program 3 (id=112): process_madvise(0xffffffffffffffff, &(0x7f0000000000), 0x0, 0x0, 0x0) 3.525690002s ago: executing program 3 (id=116): openat(0xffffffffffffff9c, &(0x7f0000000040)='/selinux/user', 0x2, 0x0) 3.525384667s ago: executing program 3 (id=119): msgrcv(0x0, &(0x7f0000000000), 0x0, 0x0, 0x0) 2.922735242s ago: executing program 0 (id=197): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/img-rogue', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/img-rogue', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/img-rogue', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/img-rogue', 0x800, 0x0) 2.922263007s ago: executing program 0 (id=199): getcwd(&(0x7f0000000000), 0x0) 2.921933655s ago: executing program 0 (id=202): syz_open_dev$usbmon(&(0x7f0000000040), 0x0, 0x0) syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x1) syz_open_dev$usbmon(&(0x7f00000000c0), 0x0, 0x2) syz_open_dev$usbmon(&(0x7f0000000100), 0x0, 0x800) syz_open_dev$usbmon(&(0x7f0000000140), 0x1, 0x0) syz_open_dev$usbmon(&(0x7f0000000180), 0x1, 0x1) syz_open_dev$usbmon(&(0x7f00000001c0), 0x1, 0x2) syz_open_dev$usbmon(&(0x7f0000000200), 0x1, 0x800) syz_open_dev$usbmon(&(0x7f0000000240), 0x2, 0x0) syz_open_dev$usbmon(&(0x7f0000000280), 0x2, 0x1) syz_open_dev$usbmon(&(0x7f00000002c0), 0x2, 0x2) syz_open_dev$usbmon(&(0x7f0000000300), 0x2, 0x800) syz_open_dev$usbmon(&(0x7f0000000340), 0x3, 0x0) syz_open_dev$usbmon(&(0x7f0000000380), 0x3, 0x1) syz_open_dev$usbmon(&(0x7f00000003c0), 0x3, 0x2) syz_open_dev$usbmon(&(0x7f0000000400), 0x3, 0x800) syz_open_dev$usbmon(&(0x7f0000000440), 0x4, 0x0) syz_open_dev$usbmon(&(0x7f0000000480), 0x4, 0x1) syz_open_dev$usbmon(&(0x7f00000004c0), 0x4, 0x2) syz_open_dev$usbmon(&(0x7f0000000500), 0x4, 0x800) 2.793597754s ago: executing program 0 (id=215): acct(0x0) 2.781286237s ago: executing program 0 (id=218): rt_sigreturn() 2.281849824s ago: executing program 4 (id=257): inotify_rm_watch(0xffffffffffffffff, 0x0) 2.281681904s ago: executing program 4 (id=259): socket$nl_route(0x10, 0x3, 0x0) 2.277739361s ago: executing program 4 (id=261): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/acpi_thermal_rel', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/acpi_thermal_rel', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/acpi_thermal_rel', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/acpi_thermal_rel', 0x800, 0x0) 2.253226313s ago: executing program 1 (id=262): writev(0xffffffffffffffff, &(0x7f0000000000), 0x0) 2.206105315s ago: executing program 4 (id=263): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/dlm_plock', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/dlm_plock', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/dlm_plock', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/dlm_plock', 0x800, 0x0) 2.205707965s ago: executing program 1 (id=264): rt_sigprocmask(0x0, &(0x7f0000000000), 0x0, 0x0) 1.803454428s ago: executing program 1 (id=266): 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.323169621s ago: executing program 4 (id=265): 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) 785.216499ms ago: executing program 2 (id=268): 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) 715.112113ms ago: executing program 1 (id=267): 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) 374.964914ms ago: executing program 0 (id=273): openat(0xffffffffffffff9c, &(0x7f0000000040)='/proc/thread-self/attr/exec', 0x2, 0x0) 272.541676ms ago: executing program 1 (id=271): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/dsp', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/dsp', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/dsp', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/dsp', 0x800, 0x0) 256.818776ms ago: executing program 1 (id=274): openat(0xffffffffffffff9c, &(0x7f0000000040)='/dev/sr0', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000080)='/dev/sr0', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f00000000c0)='/dev/sr0', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='/dev/sr0', 0x800, 0x0) 200.785635ms ago: executing program 4 (id=269): 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=272): 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.90' (ED25519) to the list of known hosts. [ 56.728919][ T5820] cgroup: Unknown subsys name 'net' [ 56.856830][ T5820] cgroup: Unknown subsys name 'cpuset' [ 56.864808][ T5820] cgroup: Unknown subsys name 'rlimit' Setting up swapspace version 1, size = 127995904 bytes [ 58.149051][ T5820] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 60.397411][ T5884] mmap: syz.4.43 (5884) uses deprecated remap_file_pages() syscall. See Documentation/mm/remap_file_pages.rst. [ 61.926806][ T6072] UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list [ 62.729770][ T6113] 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. [ 63.628233][ T35] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 63.678381][ T35] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 63.748489][ T1141] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 63.765949][ T1141] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 64.526874][ T6138] chnl_net:caif_netlink_parms(): no params data found [ 64.724688][ T6138] bridge0: port 1(bridge_slave_0) entered blocking state [ 64.732539][ T6138] bridge0: port 1(bridge_slave_0) entered disabled state [ 64.742016][ T6138] bridge_slave_0: entered allmulticast mode [ 64.753035][ T6138] bridge_slave_0: entered promiscuous mode [ 64.763438][ T6138] bridge0: port 2(bridge_slave_1) entered blocking state [ 64.770717][ T6138] bridge0: port 2(bridge_slave_1) entered disabled state [ 64.777979][ T6138] bridge_slave_1: entered allmulticast mode [ 64.785058][ T6138] bridge_slave_1: entered promiscuous mode [ 64.819838][ T6138] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 64.835994][ T6138] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 64.884235][ T1087] [ 64.886620][ T1087] ====================================================== [ 64.893667][ T1087] WARNING: possible circular locking dependency detected [ 64.900670][ T1087] 6.13.0-syzkaller-06077-gab18b8fff124 #0 Not tainted [ 64.907415][ T1087] ------------------------------------------------------ [ 64.914441][ T1087] kworker/u8:5/1087 is trying to acquire lock: [ 64.920570][ T1087] ffffffff8fcc35c8 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xac2/0x2030 [ 64.931040][ T1087] SYZFAIL: failed to recv rpc fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor) [ 64.931040][ T1087] but task is already holding lock: [ 64.938421][ T1087] ffff88802a710768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 64.948900][ T1087] [ 64.948900][ T1087] which lock already depends on the new lock. [ 64.948900][ T1087] [ 64.959407][ T1087] [ 64.959407][ T1087] the existing dependency chain (in reverse order) is: [ 64.968523][ T1087] [ 64.968523][ T1087] -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}: [ 64.976301][ T1087] lock_acquire+0x1ed/0x550 [ 64.981350][ T1087] __mutex_lock+0x19c/0x1010 [ 64.986479][ T1087] wiphy_register+0x1a49/0x27b0 [ 64.991861][ T1087] ieee80211_register_hw+0x354e/0x4240 [ 64.997855][ T1087] mac80211_hwsim_new_radio+0x2a9f/0x4a90 [ 65.004199][ T1087] init_mac80211_hwsim+0x87a/0xb00 [ 65.009944][ T1087] do_one_initcall+0x248/0x870 [ 65.015241][ T1087] do_initcall_level+0x157/0x210 [ 65.020700][ T1087] do_initcalls+0x3f/0x80 [ 65.025587][ T1087] kernel_init_freeable+0x435/0x5d0 [ 65.031298][ T1087] kernel_init+0x1d/0x2b0 [ 65.036142][ T1087] ret_from_fork+0x4b/0x80 [ 65.041069][ T1087] ret_from_fork_asm+0x1a/0x30 [ 65.046412][ T1087] [ 65.046412][ T1087] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 65.053617][ T1087] validate_chain+0x18ef/0x5920 [ 65.058976][ T1087] __lock_acquire+0x1397/0x2100 [ 65.064337][ T1087] lock_acquire+0x1ed/0x550 [ 65.069376][ T1087] __mutex_lock+0x19c/0x1010 [ 65.074479][ T1087] unregister_netdevice_many_notify+0xac2/0x2030 [ 65.081318][ T1087] unregister_netdevice_queue+0x303/0x370 [ 65.087575][ T1087] _cfg80211_unregister_wdev+0x163/0x590 [ 65.093756][ T1087] ieee80211_remove_interfaces+0x4ef/0x700 [ 65.100086][ T1087] ieee80211_unregister_hw+0x5d/0x2c0 [ 65.105975][ T1087] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 65.112032][ T1087] hwsim_exit_net+0x5c1/0x670 [ 65.117233][ T1087] cleanup_net+0x812/0xd60 [ 65.122165][ T1087] process_scheduled_works+0xa66/0x1840 [ 65.128218][ T1087] worker_thread+0x870/0xd30 [ 65.133315][ T1087] kthread+0x7a9/0x920 [ 65.137902][ T1087] ret_from_fork+0x4b/0x80 [ 65.142826][ T1087] ret_from_fork_asm+0x1a/0x30 [ 65.148113][ T1087] [ 65.148113][ T1087] other info that might help us debug this: [ 65.148113][ T1087] [ 65.158354][ T1087] Possible unsafe locking scenario: [ 65.158354][ T1087] [ 65.165797][ T1087] CPU0 CPU1 [ 65.171167][ T1087] ---- ---- [ 65.176699][ T1087] lock(&rdev->wiphy.mtx); [ 65.181196][ T1087] lock(rtnl_mutex); [ 65.187690][ T1087] lock(&rdev->wiphy.mtx); [ 65.194702][ T1087] lock(rtnl_mutex); [ 65.198681][ T1087] [ 65.198681][ T1087] *** DEADLOCK *** [ 65.198681][ T1087] [ 65.206813][ T1087] 4 locks held by kworker/u8:5/1087: [ 65.212082][ T1087] #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 [ 65.223037][ T1087] #1: ffffc9000421fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 [ 65.233558][ T1087] #2: ffffffff8fcb7010 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 [ 65.242953][ T1087] #3: ffff88802a710768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x129/0x700 [ 65.253732][ T1087] [ 65.253732][ T1087] stack backtrace: [ 65.259622][ T1087] CPU: 1 UID: 0 PID: 1087 Comm: kworker/u8:5 Not tainted 6.13.0-syzkaller-06077-gab18b8fff124 #0 [ 65.259636][ T1087] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 65.259645][ T1087] Workqueue: netns cleanup_net [ 65.259663][ T1087] Call Trace: [ 65.259668][ T1087] [ 65.259674][ T1087] dump_stack_lvl+0x241/0x360 [ 65.259689][ T1087] ? __pfx_dump_stack_lvl+0x10/0x10 [ 65.259701][ T1087] ? __pfx__printk+0x10/0x10 [ 65.259722][ T1087] print_circular_bug+0x13a/0x1b0 [ 65.259736][ T1087] check_noncircular+0x36a/0x4a0 [ 65.259751][ T1087] ? __pfx_check_noncircular+0x10/0x10 [ 65.259763][ T1087] ? lockdep_lock+0x123/0x2b0 [ 65.259781][ T1087] validate_chain+0x18ef/0x5920 [ 65.259800][ T1087] ? __pfx_validate_chain+0x10/0x10 [ 65.259814][ T1087] ? mark_lock+0x9a/0x360 [ 65.259831][ T1087] ? __lock_acquire+0x1397/0x2100 [ 65.259851][ T1087] ? mark_lock+0x9a/0x360 [ 65.259868][ T1087] __lock_acquire+0x1397/0x2100 [ 65.259888][ T1087] lock_acquire+0x1ed/0x550 [ 65.259903][ T1087] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 65.259924][ T1087] ? __pfx_lock_acquire+0x10/0x10 [ 65.259940][ T1087] ? __pfx___might_resched+0x10/0x10 [ 65.259955][ T1087] ? finish_wait+0xd4/0x1e0 [ 65.259972][ T1087] __mutex_lock+0x19c/0x1010 [ 65.259986][ T1087] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 65.260007][ T1087] ? unregister_netdevice_many_notify+0xac2/0x2030 [ 65.260025][ T1087] ? __pfx___mutex_lock+0x10/0x10 [ 65.260039][ T1087] ? __pfx___might_resched+0x10/0x10 [ 65.260054][ T1087] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 65.260072][ T1087] ? unregister_netdevice_many_notify+0x9fa/0x2030 [ 65.260091][ T1087] unregister_netdevice_many_notify+0xac2/0x2030 [ 65.260110][ T1087] ? mark_lock+0x9a/0x360 [ 65.260129][ T1087] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 65.260148][ T1087] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 65.260161][ T1087] ? __pfx_lock_release+0x10/0x10 [ 65.260183][ T1087] unregister_netdevice_queue+0x303/0x370 [ 65.260200][ T1087] ? __pfx_up_write+0x10/0x10 [ 65.260212][ T1087] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 65.260230][ T1087] ? kernfs_remove_by_name_ns+0x11b/0x160 [ 65.260243][ T1087] _cfg80211_unregister_wdev+0x163/0x590 [ 65.260259][ T1087] ieee80211_remove_interfaces+0x4ef/0x700 [ 65.260278][ T1087] ? __pfx_ieee80211_remove_interfaces+0x10/0x10 [ 65.260295][ T1087] ? rcu_is_watching+0x15/0xb0 [ 65.260309][ T1087] ieee80211_unregister_hw+0x5d/0x2c0 [ 65.260325][ T1087] mac80211_hwsim_del_radio+0x2c4/0x4c0 [ 65.260350][ T1087] ? __pfx_mac80211_hwsim_del_radio+0x10/0x10 [ 65.260370][ T1087] hwsim_exit_net+0x5c1/0x670 [ 65.260385][ T1087] ? __pfx_hwsim_exit_net+0x10/0x10 [ 65.260400][ T1087] ? __ip_vs_dev_cleanup_batch+0x239/0x260 [ 65.260415][ T1087] cleanup_net+0x812/0xd60 [ 65.260431][ T1087] ? __pfx_cleanup_net+0x10/0x10 [ 65.260447][ T1087] ? process_scheduled_works+0x976/0x1840 [ 65.260462][ T1087] process_scheduled_works+0xa66/0x1840 [ 65.260483][ T1087] ? __pfx_process_scheduled_works+0x10/0x10 [ 65.260499][ T1087] ? assign_work+0x364/0x3d0 [ 65.260513][ T1087] worker_thread+0x870/0xd30 [ 65.260531][ T1087] ? __kthread_parkme+0x169/0x1d0 [ 65.260547][ T1087] ? __pfx_worker_thread+0x10/0x10 [ 65.260561][ T1087] kthread+0x7a9/0x920 [ 65.260576][ T1087] ? __pfx_kthread+0x10/0x10 [ 65.260593][ T1087] ? __pfx_worker_thread+0x10/0x10 [ 65.260607][ T1087] ? __pfx_kthread+0x10/0x10 [ 65.260622][ T1087] ? __pfx_kthread+0x10/0x10 [ 65.260638][ T1087] ? __pfx_kthread+0x10/0x10 [ 65.260652][ T1087] ? _raw_spin_unlock_irq+0x23/0x50 [ 65.260664][ T1087] ? lockdep_hardirqs_on+0x99/0x150 [ 65.260677][ T1087] ? __pfx_kthread+0x10/0x10 [ 65.260693][ T1087] ret_from_fork+0x4b/0x80 [ 65.260709][ T1087] ? __pfx_kthread+0x10/0x10 [ 65.260724][ T1087] ret_from_fork_asm+0x1a/0x30 [ 65.260742][ T1087] [ 65.876583][ T1087] bridge_slave_1: left allmulticast mode [ 65.882261][ T1087] bridge_slave_1: left promiscuous mode [ 65.888857][ T1087] bridge0: port 2(bridge_slave_1) entered disabled state [ 65.897055][ T1087] bridge_slave_0: left allmulticast mode [ 65.902708][ T1087] bridge_slave_0: left promiscuous mode [ 65.908580][ T1087] bridge0: port 1(bridge_slave_0) entered disabled state [ 66.018602][ T1087] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 66.028323][ T1087] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 66.037850][ T1087] bond0 (unregistering): Released all slaves [ 71.764987][ T1297] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.771400][ T1297] ieee802154 phy1 wpan1: encryption failed: -22