syzkaller login: [ 81.439730][ T1109] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.0.81' (ED25519) to the list of known hosts. 2024/12/11 23:05:41 ignoring optional flag "sandboxArg"="0" 2024/12/11 23:05:41 parsed 1 programs [ 89.777895][ T4170] cgroup: Unknown subsys name 'net' [ 89.935121][ T4170] cgroup: Unknown subsys name 'rlimit' [ 91.371212][ T4170] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k FS [ 93.515489][ T4199] chnl_net:caif_netlink_parms(): no params data found [ 93.584420][ T4199] bridge0: port 1(bridge_slave_0) entered blocking state [ 93.593485][ T4199] bridge0: port 1(bridge_slave_0) entered disabled state [ 93.602343][ T4199] device bridge_slave_0 entered promiscuous mode [ 93.613735][ T4199] bridge0: port 2(bridge_slave_1) entered blocking state [ 93.621255][ T4199] bridge0: port 2(bridge_slave_1) entered disabled state [ 93.630868][ T4199] device bridge_slave_1 entered promiscuous mode [ 93.661280][ T4199] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 93.674281][ T4199] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 93.708971][ T4199] team0: Port device team_slave_0 added [ 93.716803][ T4199] team0: Port device team_slave_1 added [ 93.743281][ T4199] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 93.751605][ T4199] 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. [ 93.779283][ T4199] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 93.792660][ T4199] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 93.801279][ T4199] 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. [ 93.828935][ T4199] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 93.870562][ T4199] device hsr_slave_0 entered promiscuous mode [ 93.877918][ T4199] device hsr_slave_1 entered promiscuous mode [ 94.008073][ T4199] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 94.020851][ T4199] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 94.031519][ T4199] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 94.041758][ T4199] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 94.072451][ T4199] bridge0: port 2(bridge_slave_1) entered blocking state [ 94.079714][ T4199] bridge0: port 2(bridge_slave_1) entered forwarding state [ 94.087835][ T4199] bridge0: port 1(bridge_slave_0) entered blocking state [ 94.094922][ T4199] bridge0: port 1(bridge_slave_0) entered forwarding state [ 94.163837][ T4199] 8021q: adding VLAN 0 to HW filter on device bond0 [ 94.180187][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 94.191713][ T1407] bridge0: port 1(bridge_slave_0) entered disabled state [ 94.201751][ T1407] bridge0: port 2(bridge_slave_1) entered disabled state [ 94.211165][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 94.227836][ T4199] 8021q: adding VLAN 0 to HW filter on device team0 [ 94.241627][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 94.252140][ T1407] bridge0: port 1(bridge_slave_0) entered blocking state [ 94.259268][ T1407] bridge0: port 1(bridge_slave_0) entered forwarding state [ 94.273315][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 94.283181][ T144] bridge0: port 2(bridge_slave_1) entered blocking state [ 94.290300][ T144] bridge0: port 2(bridge_slave_1) entered forwarding state [ 94.311997][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 94.322219][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 94.341606][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 94.360532][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 94.370592][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 94.383349][ T4199] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 94.480402][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 94.488728][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 94.502736][ T4199] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 94.524725][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_virt_wifi: link becomes ready [ 94.535375][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 94.559027][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 94.569135][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 94.578533][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 94.586335][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 94.600417][ T4199] device veth0_vlan entered promiscuous mode [ 94.614779][ T4199] device veth1_vlan entered promiscuous mode [ 94.635262][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 94.644722][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 94.653346][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 94.662616][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 94.673662][ T4199] device veth0_macvtap entered promiscuous mode [ 94.684302][ T4199] device veth1_macvtap entered promiscuous mode [ 94.706925][ T4199] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 94.733268][ T4199] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 94.741272][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 94.751059][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 94.760357][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 94.771188][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 94.781010][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 94.790144][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 94.805171][ T4199] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 94.814373][ T4199] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 94.823401][ T4199] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 94.832555][ T4199] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 94.918528][ T4199] syz-executor (4199) used greatest stack depth: 19224 bytes left [ 96.122160][ T144] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 96.144613][ T144] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 96.164642][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 96.179542][ T1407] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 96.198799][ T1407] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 96.213420][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready 2024/12/11 23:05:51 executed programs: 0 [ 96.498543][ T4252] chnl_net:caif_netlink_parms(): no params data found [ 96.561601][ T4252] bridge0: port 1(bridge_slave_0) entered blocking state [ 96.571563][ T4252] bridge0: port 1(bridge_slave_0) entered disabled state [ 96.579932][ T4252] device bridge_slave_0 entered promiscuous mode [ 96.589138][ T4252] bridge0: port 2(bridge_slave_1) entered blocking state [ 96.596268][ T4252] bridge0: port 2(bridge_slave_1) entered disabled state [ 96.608188][ T4252] device bridge_slave_1 entered promiscuous mode [ 96.636334][ T4252] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 96.649505][ T4252] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 96.679094][ T4252] team0: Port device team_slave_0 added [ 96.687072][ T4252] team0: Port device team_slave_1 added [ 96.712762][ T4252] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 96.720060][ T4252] 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. [ 96.746045][ T4252] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 96.758527][ T4252] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 96.765487][ T4252] 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. [ 96.791552][ T4252] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 96.833255][ T4252] device hsr_slave_0 entered promiscuous mode [ 96.840413][ T4252] device hsr_slave_1 entered promiscuous mode [ 96.847061][ T4252] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 96.858608][ T4252] Cannot create hsr debugfs directory [ 96.960113][ T4252] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 98.398126][ T4212] Bluetooth: hci0: command 0x0409 tx timeout [ 99.904507][ T4252] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 99.952654][ T4252] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 100.025293][ T4252] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 100.139447][ T4252] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 100.149323][ T4252] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 100.161232][ T4252] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 100.170318][ T4252] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 100.263315][ T4252] 8021q: adding VLAN 0 to HW filter on device bond0 [ 100.275069][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 100.283250][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 100.294358][ T4252] 8021q: adding VLAN 0 to HW filter on device team0 [ 100.329132][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 100.338125][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 100.346479][ T144] bridge0: port 1(bridge_slave_0) entered blocking state [ 100.353572][ T144] bridge0: port 1(bridge_slave_0) entered forwarding state [ 100.363366][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 100.374977][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 100.384002][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 100.392948][ T162] bridge0: port 2(bridge_slave_1) entered blocking state [ 100.400067][ T162] bridge0: port 2(bridge_slave_1) entered forwarding state [ 100.430327][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bond: link becomes ready [ 100.441616][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready [ 100.453268][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready [ 100.462313][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 100.471934][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 100.479557][ T4212] Bluetooth: hci0: command 0x041b tx timeout [ 100.486108][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 100.495201][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 100.509474][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_hsr: link becomes ready [ 100.518563][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 100.546763][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready [ 100.555688][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 100.565916][ T4252] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 100.668500][ T4252] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 100.686117][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 100.693957][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 100.724649][ T154] device hsr_slave_0 left promiscuous mode [ 100.731051][ T154] device hsr_slave_1 left promiscuous mode [ 100.737995][ T154] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 100.745440][ T154] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 100.754405][ T154] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 100.761828][ T154] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 100.769659][ T154] device bridge_slave_1 left promiscuous mode [ 100.776600][ T154] bridge0: port 2(bridge_slave_1) entered disabled state [ 100.792696][ T154] device bridge_slave_0 left promiscuous mode [ 100.801445][ T154] bridge0: port 1(bridge_slave_0) entered disabled state [ 100.818399][ T154] device veth1_macvtap left promiscuous mode [ 100.824626][ T154] device veth0_macvtap left promiscuous mode [ 100.830821][ T154] device veth1_vlan left promiscuous mode [ 100.836731][ T154] device veth0_vlan left promiscuous mode [ 101.001088][ T154] team0 (unregistering): Port device team_slave_1 removed [ 101.014329][ T154] team0 (unregistering): Port device team_slave_0 removed [ 101.027873][ T154] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 101.041127][ T154] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 101.098465][ T154] bond0 (unregistering): Released all slaves [ 101.183093][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_virt_wifi: link becomes ready [ 101.192060][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 101.212545][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 101.221079][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 101.230358][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 101.239509][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 101.250359][ T4252] device veth0_vlan entered promiscuous mode [ 101.262072][ T4252] device veth1_vlan entered promiscuous mode [ 101.290992][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 101.300209][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 101.314920][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 101.324093][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 101.334585][ T4252] device veth0_macvtap entered promiscuous mode [ 101.346985][ T4252] device veth1_macvtap entered promiscuous mode [ 101.365127][ T4252] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 101.373386][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 101.381718][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 101.390093][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 101.399136][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 101.412018][ T4252] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 101.419627][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 101.429781][ T1407] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 101.441589][ T4252] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 101.451934][ T4252] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 101.460769][ T4252] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 101.470010][ T4252] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 101.535289][ T162] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 101.546631][ T162] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 101.559543][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 101.578429][ T144] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 101.586518][ T144] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 101.597053][ T162] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 101.712677][ T4272] [ 101.715040][ T4272] ====================================================== [ 101.722063][ T4272] WARNING: possible circular locking dependency detected [ 101.729088][ T4272] 5.15.173-syzkaller #0 Not tainted [ 101.734294][ T4272] ------------------------------------------------------ [ 101.741317][ T4272] syz.0.15/4272 is trying to acquire lock: [ 101.747138][ T4272] ffff88801afb4c28 ((work_completion)(&hdev->bg_scan_update)){+.+.}-{0:0}, at: __flush_work+0xcf/0x1a0 [ 101.758220][ T4272] [ 101.758220][ T4272] but task is already holding lock: [ 101.765591][ T4272] ffffffff8decd528 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a5/0x790 [ 101.775287][ T4272] [ 101.775287][ T4272] which lock already depends on the new lock. [ 101.775287][ T4272] [ 101.785784][ T4272] [ 101.785784][ T4272] the existing dependency chain (in reverse order) is: [ 101.794811][ T4272] [ 101.794811][ T4272] -> #4 (rfkill_global_mutex){+.+.}-{3:3}: [ 101.802909][ T4272] lock_acquire+0x1db/0x4f0 [ 101.807957][ T4272] __mutex_lock_common+0x1da/0x25a0 [ 101.813693][ T4272] mutex_lock_nested+0x17/0x20 [ 101.818995][ T4272] rfkill_register+0x30/0x880 [ 101.824215][ T4272] hci_register_dev+0x4dd/0xa50 [ 101.829688][ T4272] vhci_create_device+0x310/0x590 [ 101.835265][ T4272] vhci_write+0x382/0x430 [ 101.840132][ T4272] vfs_write+0xacd/0xe50 [ 101.844913][ T4272] ksys_write+0x1a2/0x2c0 [ 101.849786][ T4272] do_syscall_64+0x3b/0xb0 [ 101.854739][ T4272] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 101.861171][ T4272] [ 101.861171][ T4272] -> #3 (&data->open_mutex){+.+.}-{3:3}: [ 101.869008][ T4272] lock_acquire+0x1db/0x4f0 [ 101.874052][ T4272] __mutex_lock_common+0x1da/0x25a0 [ 101.879795][ T4272] mutex_lock_nested+0x17/0x20 [ 101.885100][ T4272] vhci_send_frame+0x8a/0xf0 [ 101.890229][ T4272] hci_send_frame+0x1af/0x2f0 [ 101.895439][ T4272] hci_tx_work+0xb2e/0x1a30 [ 101.900481][ T4272] process_one_work+0x8a1/0x10c0 [ 101.906064][ T4272] worker_thread+0xaca/0x1280 [ 101.911316][ T4272] kthread+0x3f6/0x4f0 [ 101.915920][ T4272] ret_from_fork+0x1f/0x30 [ 101.921024][ T4272] [ 101.921024][ T4272] -> #2 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}: [ 101.930254][ T4272] lock_acquire+0x1db/0x4f0 [ 101.935294][ T4272] __flush_work+0xeb/0x1a0 [ 101.940245][ T4272] hci_dev_do_close+0x20a/0x1070 [ 101.945893][ T4272] hci_unregister_dev+0x2d7/0x580 [ 101.951454][ T4272] vhci_release+0x73/0xc0 [ 101.956332][ T4272] __fput+0x3fe/0x8e0 [ 101.960850][ T4272] task_work_run+0x129/0x1a0 [ 101.965973][ T4272] do_exit+0x6a3/0x2480 [ 101.970664][ T4272] do_group_exit+0x144/0x310 [ 101.975790][ T4272] get_signal+0xc66/0x14e0 [ 101.980740][ T4272] arch_do_signal_or_restart+0xc3/0x1890 [ 101.986909][ T4272] exit_to_user_mode_loop+0x97/0x130 [ 101.992726][ T4272] exit_to_user_mode_prepare+0xb1/0x140 [ 101.998819][ T4272] syscall_exit_to_user_mode+0x5d/0x240 [ 102.004910][ T4272] do_syscall_64+0x47/0xb0 [ 102.009859][ T4272] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 102.016293][ T4272] [ 102.016293][ T4272] -> #1 (&hdev->req_lock){+.+.}-{3:3}: [ 102.023954][ T4272] lock_acquire+0x1db/0x4f0 [ 102.028990][ T4272] __mutex_lock_common+0x1da/0x25a0 [ 102.034727][ T4272] mutex_lock_nested+0x17/0x20 [ 102.040021][ T4272] bg_scan_update+0xa1/0x4a0 [ 102.045147][ T4272] process_one_work+0x8a1/0x10c0 [ 102.050621][ T4272] worker_thread+0xaca/0x1280 [ 102.055833][ T4272] kthread+0x3f6/0x4f0 [ 102.060437][ T4272] ret_from_fork+0x1f/0x30 [ 102.065388][ T4272] [ 102.065388][ T4272] -> #0 ((work_completion)(&hdev->bg_scan_update)){+.+.}-{0:0}: [ 102.075221][ T4272] validate_chain+0x1649/0x5930 [ 102.080608][ T4272] __lock_acquire+0x1295/0x1ff0 [ 102.085994][ T4272] lock_acquire+0x1db/0x4f0 [ 102.091036][ T4272] __flush_work+0xeb/0x1a0 [ 102.095989][ T4272] __cancel_work_timer+0x519/0x6a0 [ 102.101638][ T4272] hci_request_cancel_all+0xcb/0x300 [ 102.107547][ T4272] hci_dev_do_close+0x51/0x1070 [ 102.112933][ T4272] hci_rfkill_set_block+0x114/0x1a0 [ 102.118664][ T4272] rfkill_set_block+0x1e7/0x430 [ 102.124096][ T4272] rfkill_fop_write+0x5b7/0x790 [ 102.129490][ T4272] vfs_write+0x30c/0xe50 [ 102.134286][ T4272] ksys_write+0x1a2/0x2c0 [ 102.139146][ T4272] do_syscall_64+0x3b/0xb0 [ 102.144096][ T4272] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 102.150528][ T4272] [ 102.150528][ T4272] other info that might help us debug this: [ 102.150528][ T4272] [ 102.160758][ T4272] Chain exists of: [ 102.160758][ T4272] (work_completion)(&hdev->bg_scan_update) --> &data->open_mutex --> rfkill_global_mutex [ 102.160758][ T4272] [ 102.176508][ T4272] Possible unsafe locking scenario: [ 102.176508][ T4272] [ 102.183963][ T4272] CPU0 CPU1 [ 102.189334][ T4272] ---- ---- [ 102.194701][ T4272] lock(rfkill_global_mutex); [ 102.199503][ T4272] lock(&data->open_mutex); [ 102.206629][ T4272] lock(rfkill_global_mutex); [ 102.213923][ T4272] lock((work_completion)(&hdev->bg_scan_update)); [ 102.220521][ T4272] [ 102.220521][ T4272] *** DEADLOCK *** [ 102.220521][ T4272] [ 102.228671][ T4272] 1 lock held by syz.0.15/4272: [ 102.233528][ T4272] #0: ffffffff8decd528 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a5/0x790 [ 102.243641][ T4272] [ 102.243641][ T4272] stack backtrace: [ 102.249545][ T4272] CPU: 0 PID: 4272 Comm: syz.0.15 Not tainted 5.15.173-syzkaller #0 [ 102.257535][ T4272] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 102.267611][ T4272] Call Trace: [ 102.270902][ T4272] [ 102.273940][ T4272] dump_stack_lvl+0x1e3/0x2d0 [ 102.278641][ T4272] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 102.284314][ T4272] ? print_circular_bug+0x12b/0x1a0 [ 102.289525][ T4272] check_noncircular+0x2f8/0x3b0 [ 102.294479][ T4272] ? add_chain_block+0x850/0x850 [ 102.299438][ T4272] ? lockdep_lock+0x11f/0x2a0 [ 102.304140][ T4272] validate_chain+0x1649/0x5930 [ 102.309013][ T4272] ? __lock_acquire+0x1295/0x1ff0 [ 102.314055][ T4272] ? reacquire_held_locks+0x660/0x660 [ 102.319442][ T4272] ? mark_lock+0x98/0x340 [ 102.323785][ T4272] ? look_up_lock_class+0x77/0x120 [ 102.328914][ T4272] ? register_lock_class+0x100/0x9a0 [ 102.334212][ T4272] ? mark_lock+0x98/0x340 [ 102.338602][ T4272] ? is_dynamic_key+0x1f0/0x1f0 [ 102.343462][ T4272] ? __lock_acquire+0x1295/0x1ff0 [ 102.348495][ T4272] ? mark_lock+0x98/0x340 [ 102.352860][ T4272] __lock_acquire+0x1295/0x1ff0 [ 102.357737][ T4272] lock_acquire+0x1db/0x4f0 [ 102.362255][ T4272] ? __flush_work+0xcf/0x1a0 [ 102.366860][ T4272] ? rcu_lock_release+0x5/0x20 [ 102.371645][ T4272] ? read_lock_is_recursive+0x10/0x10 [ 102.377037][ T4272] ? start_flush_work+0x776/0x820 [ 102.382091][ T4272] __flush_work+0xeb/0x1a0 [ 102.386535][ T4272] ? __flush_work+0xcf/0x1a0 [ 102.391162][ T4272] ? flush_work+0x20/0x20 [ 102.395511][ T4272] ? print_irqtrace_events+0x210/0x210 [ 102.400981][ T4272] ? lock_timer_base+0x260/0x260 [ 102.405938][ T4272] ? __cancel_work_timer+0x467/0x6a0 [ 102.411240][ T4272] __cancel_work_timer+0x519/0x6a0 [ 102.416390][ T4272] ? cancel_work_sync+0x20/0x20 [ 102.421260][ T4272] ? lockdep_hardirqs_on+0x94/0x130 [ 102.426492][ T4272] ? __cancel_work+0x2ef/0x380 [ 102.431274][ T4272] ? cancel_work+0x20/0x20 [ 102.435706][ T4272] ? print_irqtrace_events+0x210/0x210 [ 102.441183][ T4272] hci_request_cancel_all+0xcb/0x300 [ 102.446487][ T4272] hci_dev_do_close+0x51/0x1070 [ 102.451356][ T4272] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 102.457268][ T4272] ? _raw_spin_unlock+0x40/0x40 [ 102.462130][ T4272] ? kmem_cache_alloc_trace+0x143/0x290 [ 102.467694][ T4272] hci_rfkill_set_block+0x114/0x1a0 [ 102.472911][ T4272] ? rcu_lock_release+0x20/0x20 [ 102.477785][ T4272] rfkill_set_block+0x1e7/0x430 [ 102.482665][ T4272] rfkill_fop_write+0x5b7/0x790 [ 102.487532][ T4272] ? mark_lock+0x98/0x340 [ 102.491877][ T4272] ? rfkill_fop_read+0x470/0x470 [ 102.496838][ T4272] ? fsnotify_perm+0x64/0x590 [ 102.501527][ T4272] ? security_file_permission+0x75/0xa0 [ 102.507090][ T4272] ? rfkill_fop_read+0x470/0x470 [ 102.512043][ T4272] vfs_write+0x30c/0xe50 [ 102.516308][ T4272] ? file_end_write+0x250/0x250 [ 102.521179][ T4272] ? read_lock_is_recursive+0x10/0x10 [ 102.526570][ T4272] ? __context_tracking_exit+0x4c/0x80 [ 102.532049][ T4272] ? __lock_acquire+0x1ff0/0x1ff0 [ 102.537087][ T4272] ? __fdget_pos+0x1e9/0x380 [ 102.541698][ T4272] ksys_write+0x1a2/0x2c0 [ 102.546050][ T4272] ? print_irqtrace_events+0x210/0x210 [ 102.551528][ T4272] ? __ia32_sys_read+0x80/0x80 [ 102.556317][ T4272] ? syscall_enter_from_user_mode+0x2e/0x240 [ 102.562316][ T4272] ? lockdep_hardirqs_on+0x94/0x130 [ 102.567530][ T4272] ? syscall_enter_from_user_mode+0x2e/0x240 [ 102.568864][ T4212] Bluetooth: hci0: command 0x040f tx timeout [ 102.573545][ T4272] do_syscall_64+0x3b/0xb0 [ 102.583944][ T4272] ? clear_bhb_loop+0x15/0x70 [ 102.588640][ T4272] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 102.594601][ T4272] RIP: 0033:0x7f863c205f19 [ 102.599041][ T4272] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 [ 102.618667][ T4272] RSP: 002b:00007ffd757d80e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 102.627093][ T4272] RAX: ffffffffffffffda RBX: 00007f863c3cbfa0 RCX: 00007f863c205f19 [ 102.635071][ T4272] RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000003 [ 102.643046][ T4272] RBP: 00007f863c279cc8 R08: 0000000000000000 R09: 0000000000000000 [ 102.651020][ T4272] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 102.658995][ T4272] R13: 00007f863c3cbfa0 R14: 00007f863c3cbfa0 R15: 00000000000014fe [ 102.666977][ T4272]