syzkaller login: [ 65.988669] sshd (242) used greatest stack depth: 24072 bytes left Warning: Permanently added '[localhost]:25985' (ECDSA) to the list of known hosts. 2025/01/17 16:06:50 fuzzer started 2025/01/17 16:06:51 dialing manager at localhost:44245 2025/01/17 16:06:51 checking machine... 2025/01/17 16:06:51 checking revisions... [ 67.956946] kmemleak: Automatic memory scanning thread ended 2025/01/17 16:06:51 testing simple program... [ 68.107746] cgroup: Unknown subsys name 'net' [ 68.239359] cgroup: Unknown subsys name 'cpuset' [ 68.278609] cgroup: Unknown subsys name 'rlimit' executing program executing program [ 74.440754] kmemleak: 2 new suspected memory leaks (see /sys/kernel/debug/kmemleak) executing program executing program executing program executing program [ 86.395698] kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak) [ 86.729020] audit: type=1400 audit(1737130030.436:7): avc: denied { execmem } for pid=275 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 87.876305] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 87.878665] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 87.882257] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 87.890608] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 87.894322] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 87.896228] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 executing program [ 89.962966] Bluetooth: hci0: command tx timeout executing program [ 92.011070] Bluetooth: hci0: command tx timeout [ 94.058122] Bluetooth: hci0: command tx timeout executing program [ 96.106148] Bluetooth: hci0: command tx timeout executing program executing program executing program executing program executing program executing program [ 114.453981] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 114.454240] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 114.525966] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 114.526132] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 2025/01/17 16:07:38 building call list... [ 115.555297] [ 115.555748] ====================================================== [ 115.556936] WARNING: possible circular locking dependency detected [ 115.558133] 6.13.0-rc7-next-20250117 #1 Not tainted [ 115.562344] ------------------------------------------------------ [ 115.563498] kworker/u8:1/66 is trying to acquire lock: [ 115.564517] ffffffff8621b968 (rtnl_mutex){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x1612/0x1c80 [ 115.566456] [ 115.566456] but task is already holding lock: [ 115.567561] ffff8880166c8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0xf2/0x6b0 [ 115.569545] [ 115.569545] which lock already depends on the new lock. [ 115.569545] [ 115.571033] [ 115.571033] the existing dependency chain (in reverse order) is: [ 115.572443] [ 115.572443] -> #1 (&rdev->wiphy.mtx){+.+.}-{4:4}: [ 115.573727] __mutex_lock+0x13d/0xb50 [ 115.574643] wiphy_register+0x1b2e/0x25d0 [ 115.575609] ieee80211_register_hw+0x23a4/0x3d60 [ 115.576675] mac80211_hwsim_new_radio+0x2759/0x4d50 [ 115.577807] init_mac80211_hwsim+0x389/0x870 [ 115.578838] do_one_initcall+0xf9/0x640 [ 115.579788] kernel_init_freeable+0x53d/0x7a0 [ 115.580871] kernel_init+0x1e/0x2d0 [ 115.581701] ret_from_fork+0x48/0x80 [ 115.582588] ret_from_fork_asm+0x1a/0x30 [ 115.583589] [ 115.583589] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 115.584787] __lock_acquire+0x29fd/0x4580 [ 115.585784] lock_acquire+0x19b/0x520 [ 115.586709] __mutex_lock+0x13d/0xb50 [ 115.587614] unregister_netdevice_many_notify+0x1612/0x1c80 [ 115.588840] unregister_netdevice_queue+0x224/0x2e0 [ 115.589981] _cfg80211_unregister_wdev+0x57b/0x700 [ 115.591125] ieee80211_remove_interfaces+0x2f2/0x6b0 [ 115.592209] ieee80211_unregister_hw+0x55/0x3a0 [ 115.593247] hwsim_exit_net+0x3a0/0x730 [ 115.594168] ops_exit_list+0xb3/0x180 [ 115.595051] cleanup_net+0x546/0xad0 [ 115.595918] process_one_work+0x8ee/0x1a10 [ 115.596930] worker_thread+0x674/0xe70 [ 115.597847] kthread+0x3ab/0x720 [ 115.598682] ret_from_fork+0x48/0x80 [ 115.599536] ret_from_fork_asm+0x1a/0x30 [ 115.600509] [ 115.600509] other info that might help us debug this: [ 115.600509] [ 115.601990] Possible unsafe locking scenario: [ 115.601990] [ 115.603145] CPU0 CPU1 [ 115.604076] ---- ---- [ 115.605002] lock(&rdev->wiphy.mtx); [ 115.605799] lock(rtnl_mutex); [ 115.606913] lock(&rdev->wiphy.mtx); [ 115.608132] lock(rtnl_mutex); [ 115.608864] [ 115.608864] *** DEADLOCK *** [ 115.608864] [ 115.609991] 4 locks held by kworker/u8:1/66: [ 115.610824] #0: ffff888008fdb948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12b6/0x1a10 [ 115.612840] #1: ffff88800f2bfd30 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x861/0x1a10 [ 115.614741] #2: ffffffff8620f810 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xca/0xad0 [ 115.616528] #3: ffff8880166c8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0xf2/0x6b0 [ 115.618523] [ 115.618523] stack backtrace: [ 115.619365] CPU: 0 UID: 0 PID: 66 Comm: kworker/u8:1 Not tainted 6.13.0-rc7-next-20250117 #1 [ 115.620952] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 115.622488] Workqueue: netns cleanup_net [ 115.623320] Call Trace: [ 115.623824] [ 115.624288] dump_stack_lvl+0xca/0x120 [ 115.625104] print_circular_bug+0x47b/0x750 [ 115.625970] check_noncircular+0x2e9/0x3c0 [ 115.626815] ? srso_return_thunk+0x5/0x5f [ 115.627685] ? __pfx_check_noncircular+0x10/0x10 [ 115.628644] ? __pfx_mark_lock+0x10/0x10 [ 115.629499] ? lockdep_lock+0xba/0x1b0 [ 115.630311] ? __pfx_lockdep_lock+0x10/0x10 [ 115.631246] __lock_acquire+0x29fd/0x4580 [ 115.632150] ? __pfx___lock_acquire+0x10/0x10 [ 115.633065] ? srso_return_thunk+0x5/0x5f [ 115.633947] lock_acquire+0x19b/0x520 [ 115.634710] ? unregister_netdevice_many_notify+0x1612/0x1c80 [ 115.635862] ? __pfx_lock_acquire+0x10/0x10 [ 115.636748] ? srso_return_thunk+0x5/0x5f [ 115.637612] ? lock_is_held_type+0x9e/0x120 [ 115.638483] __mutex_lock+0x13d/0xb50 [ 115.639182] ? unregister_netdevice_many_notify+0x1612/0x1c80 [ 115.640189] ? unregister_netdevice_many_notify+0x1612/0x1c80 [ 115.641162] ? srso_return_thunk+0x5/0x5f [ 115.641890] ? mark_held_locks+0x9e/0xe0 [ 115.642606] ? __pfx___mutex_lock+0x10/0x10 [ 115.643382] ? srso_return_thunk+0x5/0x5f [ 115.644134] ? lockdep_hardirqs_on_prepare+0x262/0x3f0 [ 115.645057] ? __mutex_unlock_slowpath+0x158/0x650 [ 115.645938] unregister_netdevice_many_notify+0x1612/0x1c80 [ 115.646941] ? __virt_addr_valid+0x2e8/0x5d0 [ 115.647894] ? __pfx_lock_release+0x10/0x10 [ 115.648807] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 115.649909] ? find_held_lock+0x2c/0x110 [ 115.650696] ? srso_return_thunk+0x5/0x5f [ 115.651527] ? kernfs_remove_by_name_ns+0xc7/0x130 [ 115.652492] ? srso_return_thunk+0x5/0x5f [ 115.653258] ? lock_release+0x20f/0x6f0 [ 115.653979] ? __pfx_lock_release+0x10/0x10 [ 115.654759] ? srso_return_thunk+0x5/0x5f [ 115.655526] ? lockdep_hardirqs_on_prepare+0x262/0x3f0 [ 115.656452] ? srso_return_thunk+0x5/0x5f [ 115.657222] unregister_netdevice_queue+0x224/0x2e0 [ 115.658096] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 115.658992] ? up_write+0x195/0x520 [ 115.659668] _cfg80211_unregister_wdev+0x57b/0x700 [ 115.660527] ? srso_return_thunk+0x5/0x5f [ 115.661292] ieee80211_remove_interfaces+0x2f2/0x6b0 [ 115.662159] ? __pfx_ieee80211_remove_interfaces+0x10/0x10 [ 115.663110] ? srso_return_thunk+0x5/0x5f [ 115.663872] ? srso_return_thunk+0x5/0x5f [ 115.664700] ? synchronize_rcu+0x1ff/0x260 [ 115.665468] ieee80211_unregister_hw+0x55/0x3a0 [ 115.666288] hwsim_exit_net+0x3a0/0x730 [ 115.666997] ? __pfx_hwsim_exit_net+0x10/0x10 [ 115.667773] ? srso_return_thunk+0x5/0x5f [ 115.668553] ? netdev_run_todo+0x788/0x1040 [ 115.669326] ? __pfx_hwsim_exit_net+0x10/0x10 [ 115.670127] ops_exit_list+0xb3/0x180 [ 115.670793] cleanup_net+0x546/0xad0 [ 115.671458] ? __pfx_cleanup_net+0x10/0x10 [ 115.672236] process_one_work+0x8ee/0x1a10 [ 115.673032] ? __pfx_lock_acquire+0x10/0x10 [ 115.673796] ? __pfx_process_one_work+0x10/0x10 [ 115.674635] ? srso_return_thunk+0x5/0x5f [ 115.675382] ? move_linked_works+0x172/0x270 [ 115.676172] ? srso_return_thunk+0x5/0x5f [ 115.676907] ? assign_work+0x196/0x240 [ 115.677628] worker_thread+0x674/0xe70 [ 115.678361] ? lockdep_hardirqs_on_prepare+0x262/0x3f0 [ 115.679281] ? __pfx_worker_thread+0x10/0x10 [ 115.680102] kthread+0x3ab/0x720 [ 115.680726] ? __pfx_kthread+0x10/0x10 [ 115.681434] ? srso_return_thunk+0x5/0x5f [ 115.682200] ? finish_task_switch.isra.0+0x206/0x840 [ 115.683104] ? __pfx_kthread+0x10/0x10 [ 115.683803] ret_from_fork+0x48/0x80 [ 115.684464] ? __pfx_kthread+0x10/0x10 [ 115.685180] ret_from_fork_asm+0x1a/0x30 [ 115.685937] executing program executing program [ 119.612561] audit: type=1400 audit(1737130063.318:8): avc: denied { create } for pid=255 comm="syz-fuzzer" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dccp_socket permissive=1 [ 120.475679] UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list [ 121.481755] UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list executing program 2025/01/17 16:07:46 syscalls: 2217 2025/01/17 16:07:46 code coverage: enabled 2025/01/17 16:07:46 comparison tracing: enabled 2025/01/17 16:07:46 extra coverage: enabled 2025/01/17 16:07:46 setuid sandbox: enabled 2025/01/17 16:07:46 namespace sandbox: enabled 2025/01/17 16:07:46 Android sandbox: enabled 2025/01/17 16:07:46 fault injection: enabled 2025/01/17 16:07:46 leak checking: enabled 2025/01/17 16:07:46 net packet injection: enabled 2025/01/17 16:07:46 net device setup: enabled 2025/01/17 16:07:46 concurrency sanitizer: /sys/kernel/debug/kcsan does not exist 2025/01/17 16:07:46 devlink PCI setup: PCI device 0000:00:10.0 is not available 2025/01/17 16:07:46 USB emulation: enabled 2025/01/17 16:07:46 hci packet injection: enabled 2025/01/17 16:07:46 wifi device emulation: enabled 2025/01/17 16:07:46 802.15.4 emulation: enabled 2025/01/17 16:07:46 fetching corpus: 0, signal 0/0 (executing program) 2025/01/17 16:07:46 fetching corpus: 0, signal 0/0 (executing program) 2025/01/17 16:07:47 starting 8 fuzzer processes 16:07:47 executing program 0: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xce, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={0x0}}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = socket$inet6(0xa, 0x3, 0xff) connect$inet6(r0, &(0x7f0000000040)={0xa, 0x0, 0x0, @empty}, 0x1c) sendmmsg$inet6(r0, &(0x7f0000000140)=[{{0x0, 0x0, &(0x7f0000000000)=[{&(0x7f0000000080)="9c08c10a5e769fca815874eaf5ece38a1f8cc5a85857c94ad2624a8833900e2dc09b45daf46d8571", 0x28}], 0x1}}], 0x2, 0x4884) 16:07:47 executing program 2: r0 = socket$packet(0x11, 0x3, 0x300) getsockopt$packet_int(r0, 0x107, 0xa, 0x0, &(0x7f0000000100)) 16:07:47 executing program 1: socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000100)={0xffffffffffffffff, 0xffffffffffffffff}) write$binfmt_aout(r0, &(0x7f0000000400)=ANY=[], 0xb5) ioctl$sock_SIOCINQ(r1, 0x541b, &(0x7f0000000140)) 16:07:48 executing program 3: pipe2$9p(&(0x7f0000000140)={0xffffffffffffffff, 0xffffffffffffffff}, 0x0) r2 = epoll_create(0x8) epoll_ctl$EPOLL_CTL_ADD(r2, 0x1, r0, &(0x7f0000000000)) write$P9_RREADDIR(r1, &(0x7f0000000040)={0xb}, 0xb) 16:07:48 executing program 4: syz_mount_image$ext4(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, 0x0) mount(0x0, &(0x7f0000000040)='./file0\x00', &(0x7f0000000000)='debugfs\x00', 0x0, 0x0) mount$9p_virtio(0x0, &(0x7f00000001c0)='./file0\x00', 0x0, 0x80020, &(0x7f00000000c0)={'trans=virtio,', {[], [{@uid_eq={'uid', 0x3d, 0xffffffffffffffff}, 0x22}]}}) 16:07:48 executing program 5: syz_usb_connect(0x0, 0x24, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x25, 0x40, 0x8b, 0x0, 0x13d3, 0x3273, 0xf15e, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x12, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x0, 0x39, 0xd6, 0x72}}]}}]}}, 0x0) r0 = syz_open_procfs(0xffffffffffffffff, &(0x7f00000000c0)='fd/3\x00') ioctl$BTRFS_IOC_TREE_SEARCH(r0, 0x5509, 0x0) 16:07:48 executing program 6: syz_mount_image$ext4(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, 0x0) mount(0x0, &(0x7f00000000c0)='./file0\x00', &(0x7f0000000280)='devpts\x00', 0x0, 0x0) link(&(0x7f0000000040)='./file0\x00', &(0x7f0000000000)='./file0/file0\x00') 16:07:48 executing program 7: r0 = epoll_create(0x3) r1 = socket$nl_netfilter(0x10, 0x3, 0xc) epoll_ctl$EPOLL_CTL_ADD(r0, 0x1, r1, &(0x7f0000000000)={0x20002006}) r2 = epoll_create1(0x0) r3 = epoll_create(0x5) epoll_ctl$EPOLL_CTL_ADD(r3, 0x1, r2, &(0x7f0000000740)) epoll_ctl$EPOLL_CTL_ADD(r2, 0x1, r0, &(0x7f0000000040)) epoll_ctl$EPOLL_CTL_MOD(r2, 0x3, r0, &(0x7f0000000080)={0x11}) sendmsg$IPCTNL_MSG_CT_GET_CTRZERO(r1, &(0x7f0000000280)={0x0, 0x0, &(0x7f0000000240)={&(0x7f0000000100)={0x14, 0x3, 0x1, 0x3}, 0x14}}, 0x0) VM DIAGNOSIS: 16:07:39 Registers: info registers vcpu 0 RAX=000000000000002d RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff8283cdc5 RDI=ffffffff886930a0 RBP=ffffffff88693060 RSP=ffff88800f2bebb8 R8 =0000000000000001 R9 =ffffed1001e57d67 R10=000000000000002d R11=0000000033312e36 R12=000000000000002d R13=0000000000000001 R14=ffff888008fea01f R15=ffff88800f2beeb8 RIP=ffffffff8283ce1d RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 00000000 00000000 FS =0000 0000000000000000 00000000 00000000 GS =0000 ffff88806ce00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007f37ed59e548 CR3=00000000157f6000 CR4=00350ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001fa0 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000004112c6a000000000 XMM03=0000ff00000000000000000000000000 XMM04=732f6c61636f6c2f7273752f3d485441 XMM05=622f6c61636f6c2f7273752f3a6e6962 XMM06=73752f3a6e6962732f7273752f3a6e69 XMM07=6e69622f3a6e6962732f3a6e69622f72 XMM08=00000000000000000000000000000000 XMM09=00000000000000000000000000000000 XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000 info registers vcpu 1 RAX=0000000000000000 RBX=0000000000000004 RCX=ffffffff84a64f69 RDX=ffff888015759bc0 RSI=0000000000000003 RDI=0000000000000001 RBP=ffffffff852d7ca0 RSP=ffff888015af78a8 R8 =0000000000000001 R9 =ffffed1002ca71c0 R10=0000000000000000 R11=0000000000000000 R12=0000000000000000 R13=0000000000000001 R14=0000000000000008 R15=ffffffff84ca6606 RIP=ffffffff81719cf4 RFL=00000293 [--S-A-C] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 00000000 00000000 FS =0000 000000c000030790 00000000 00000000 GS =0000 ffff88806cf00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe000004a000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000048000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=000000c0008ad000 CR3=00000000157f6000 CR4=00350ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001fa0 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=666666666666660a74696e695f73706f XMM02=0a776f68735f65646f6d5f69736d5f78 XMM03=776f68735f65646f6d5f69736d207420 XMM04=30303030303030303030303030303030 XMM05=776f68735f65646f6d5f69736d207420 XMM06=3262343635313866666666666666660a XMM07=79735f69736d5f7866705f5f20742030 XMM08=0a637365645f65766f6d65725f736673 XMM09=30336234363531386666666666666666 XMM10=6d65725f73667379735f69736d207420 XMM11=666666666666660a637365645f65766f XMM12=66705f5f207420306563343635313866 XMM13=00000000008a4dee00000000008a69cf XMM14=000000000089d9b900000000008a4694 XMM15=00000000004643c100000000004360f2