DUID 00:04:8e:2a:3c:04:ae:1e:09:29:3f:0a:36:6a:00:10:eb:de forked to background, child pid 3836 [ 37.526232][ T3837] 8021q: adding VLAN 0 to HW filter on device bond0 [ 37.537028][ T3837] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.45' (ED25519) to the list of known hosts. 2024/11/05 04:44:57 ignoring optional flag "sandboxArg"="0" 2024/11/05 04:44:57 parsed 1 programs syzkaller login: [ 63.617176][ T4166] cgroup: Unknown subsys name 'net' [ 63.761431][ T4166] cgroup: Unknown subsys name 'rlimit' [ 65.243643][ T4166] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k FS [ 66.567097][ T1522] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 66.576039][ T1522] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 66.597442][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 66.616144][ T9] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 66.624138][ T9] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 66.633100][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 67.010097][ T4193] chnl_net:caif_netlink_parms(): no params data found [ 67.065359][ T4193] bridge0: port 1(bridge_slave_0) entered blocking state [ 67.073047][ T4193] bridge0: port 1(bridge_slave_0) entered disabled state [ 67.081219][ T4193] device bridge_slave_0 entered promiscuous mode [ 67.091848][ T4193] bridge0: port 2(bridge_slave_1) entered blocking state [ 67.099443][ T4193] bridge0: port 2(bridge_slave_1) entered disabled state [ 67.107401][ T4193] device bridge_slave_1 entered promiscuous mode [ 67.140468][ T4193] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 67.152371][ T4193] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 67.189239][ T4193] team0: Port device team_slave_0 added [ 67.197505][ T4193] team0: Port device team_slave_1 added [ 67.224046][ T4193] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 67.231168][ T4193] 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. [ 67.257726][ T4193] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 67.271386][ T4193] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 67.278782][ T4193] 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. [ 67.306832][ T4193] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 67.351722][ T4193] device hsr_slave_0 entered promiscuous mode [ 67.358897][ T4193] device hsr_slave_1 entered promiscuous mode [ 67.512230][ T4193] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 67.527026][ T4193] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 67.538227][ T4193] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 67.550422][ T4193] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 67.651073][ T4193] 8021q: adding VLAN 0 to HW filter on device bond0 [ 67.667812][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 67.678672][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 67.693394][ T4193] 8021q: adding VLAN 0 to HW filter on device team0 [ 67.707595][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 67.717212][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 67.728801][ T154] bridge0: port 1(bridge_slave_0) entered blocking state [ 67.736165][ T154] bridge0: port 1(bridge_slave_0) entered forwarding state [ 67.757900][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 67.766495][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 67.775526][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 67.784112][ T154] bridge0: port 2(bridge_slave_1) entered blocking state [ 67.791247][ T154] bridge0: port 2(bridge_slave_1) entered forwarding state [ 67.803093][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bond: link becomes ready [ 67.816002][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready [ 67.829713][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready [ 67.842475][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 67.864412][ T4193] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 67.876447][ T4193] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 67.889483][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 67.897812][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 67.909653][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 67.919142][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_hsr: link becomes ready [ 67.928024][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 67.938225][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready [ 67.947514][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 67.958175][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 68.064487][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 68.072539][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 68.089484][ T4193] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 68.112422][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_virt_wifi: link becomes ready [ 68.134957][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 68.157573][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 68.166108][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 68.175622][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 68.183465][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 68.194471][ T4193] device veth0_vlan entered promiscuous mode [ 68.208832][ T4193] device veth1_vlan entered promiscuous mode [ 68.239143][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 68.248105][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 68.257374][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 68.266874][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 68.278911][ T4193] device veth0_macvtap entered promiscuous mode [ 68.291141][ T4193] device veth1_macvtap entered promiscuous mode [ 68.311997][ T4193] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 68.320285][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 68.329428][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 68.340023][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 68.349811][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 68.361688][ T4193] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 68.371743][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 68.381167][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 68.393757][ T4193] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 68.403677][ T4193] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 68.412535][ T4193] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 68.421962][ T4193] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 68.519371][ T4193] syz-executor (4193) used greatest stack depth: 18520 bytes left [ 68.565944][ T304] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 71.041520][ T304] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 71.328153][ T1420] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.334795][ T1420] ieee802154 phy1 wpan1: encryption failed: -22 [ 73.600470][ T304] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 73.645036][ T304] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 2024/11/05 04:45:10 executed programs: 0 [ 74.387988][ T4271] chnl_net:caif_netlink_parms(): no params data found [ 74.468460][ T4271] bridge0: port 1(bridge_slave_0) entered blocking state [ 74.476055][ T4271] bridge0: port 1(bridge_slave_0) entered disabled state [ 74.485043][ T4271] device bridge_slave_0 entered promiscuous mode [ 74.493787][ T4271] bridge0: port 2(bridge_slave_1) entered blocking state [ 74.501795][ T4271] bridge0: port 2(bridge_slave_1) entered disabled state [ 74.509940][ T4271] device bridge_slave_1 entered promiscuous mode [ 74.553747][ T4271] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 74.565489][ T4271] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 74.593314][ T4271] team0: Port device team_slave_0 added [ 74.612979][ T4271] team0: Port device team_slave_1 added [ 74.635950][ T4271] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 74.642919][ T4271] 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. [ 74.669451][ T4271] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 74.682408][ T4271] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 74.689897][ T4271] 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. [ 74.716189][ T4271] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 74.762607][ T4271] device hsr_slave_0 entered promiscuous mode [ 74.770265][ T4271] device hsr_slave_1 entered promiscuous mode [ 74.777560][ T4271] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 74.787233][ T4271] Cannot create hsr debugfs directory [ 75.249828][ T304] device hsr_slave_0 left promiscuous mode [ 75.256598][ T304] device hsr_slave_1 left promiscuous mode [ 75.263326][ T304] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 75.271438][ T304] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 75.281308][ T304] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 75.289269][ T304] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 75.297534][ T304] device bridge_slave_1 left promiscuous mode [ 75.304863][ T304] bridge0: port 2(bridge_slave_1) entered disabled state [ 75.322407][ T304] device bridge_slave_0 left promiscuous mode [ 75.328762][ T304] bridge0: port 1(bridge_slave_0) entered disabled state [ 75.352784][ T304] device veth1_macvtap left promiscuous mode [ 75.359448][ T304] device veth0_macvtap left promiscuous mode [ 75.366258][ T304] device veth1_vlan left promiscuous mode [ 75.372324][ T304] device veth0_vlan left promiscuous mode [ 75.564246][ T304] team0 (unregistering): Port device team_slave_1 removed [ 75.577770][ T304] team0 (unregistering): Port device team_slave_0 removed [ 75.592885][ T304] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 75.607232][ T304] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 75.662215][ T304] bond0 (unregistering): Released all slaves [ 75.766735][ T4271] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 75.777825][ T4271] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 75.787812][ T4271] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 75.798322][ T4271] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 75.908291][ T4271] 8021q: adding VLAN 0 to HW filter on device bond0 [ 75.924094][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 75.933393][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 75.946380][ T4271] 8021q: adding VLAN 0 to HW filter on device team0 [ 75.957770][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 75.975634][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 76.000904][ T1522] bridge0: port 1(bridge_slave_0) entered blocking state [ 76.008043][ T1522] bridge0: port 1(bridge_slave_0) entered forwarding state [ 76.031118][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 76.042539][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 76.052040][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 76.066859][ T1522] bridge0: port 2(bridge_slave_1) entered blocking state [ 76.073962][ T1522] bridge0: port 2(bridge_slave_1) entered forwarding state [ 76.085437][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bond: link becomes ready [ 76.116035][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready [ 76.126550][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready [ 76.140540][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 76.150072][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 76.160698][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 76.170101][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_hsr: link becomes ready [ 76.180362][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 76.189661][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready [ 76.198964][ T1324] Bluetooth: hci0: command 0x0409 tx timeout [ 76.209545][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 76.220893][ T4271] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 76.231625][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 76.387744][ T4271] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 76.396129][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 76.403784][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 76.428188][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_virt_wifi: link becomes ready [ 76.439131][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 76.463624][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 76.474088][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 76.486425][ T4271] device veth0_vlan entered promiscuous mode [ 76.496623][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 76.506139][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 76.518259][ T4271] device veth1_vlan entered promiscuous mode [ 76.545902][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 76.557109][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 76.566306][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 76.575441][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 76.586894][ T4271] device veth0_macvtap entered promiscuous mode [ 76.603562][ T4271] device veth1_macvtap entered promiscuous mode [ 76.623378][ T4271] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 76.632503][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 76.641915][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 76.652843][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 76.665305][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 76.683018][ T4271] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 76.691624][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 76.703499][ T144] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 76.715399][ T4271] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.724128][ T4271] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.738760][ T4271] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.753024][ T4271] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 76.849091][ T1522] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 76.871526][ T1522] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 76.885433][ T144] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 76.893423][ T144] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 76.896440][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 76.923224][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 76.993162][ T4363] [ 76.995533][ T4363] ====================================================== [ 77.002560][ T4363] WARNING: possible circular locking dependency detected [ 77.009591][ T4363] 5.15.170-syzkaller #0 Not tainted [ 77.014798][ T4363] ------------------------------------------------------ [ 77.021820][ T4363] syz.0.15/4363 is trying to acquire lock: [ 77.027639][ T4363] ffff88807c8b0c28 ((work_completion)(&hdev->bg_scan_update)){+.+.}-{0:0}, at: __flush_work+0xcf/0x1a0 [ 77.038749][ T4363] [ 77.038749][ T4363] but task is already holding lock: [ 77.046297][ T4363] ffffffff8dcbe3a8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a5/0x790 [ 77.055995][ T4363] [ 77.055995][ T4363] which lock already depends on the new lock. [ 77.055995][ T4363] [ 77.066407][ T4363] [ 77.066407][ T4363] the existing dependency chain (in reverse order) is: [ 77.075425][ T4363] [ 77.075425][ T4363] -> #4 (rfkill_global_mutex){+.+.}-{3:3}: [ 77.083534][ T4363] lock_acquire+0x1db/0x4f0 [ 77.088571][ T4363] __mutex_lock_common+0x1da/0x25a0 [ 77.094298][ T4363] mutex_lock_nested+0x17/0x20 [ 77.099598][ T4363] rfkill_register+0x30/0x880 [ 77.104867][ T4363] hci_register_dev+0x4dd/0xa50 [ 77.110246][ T4363] vhci_create_device+0x310/0x590 [ 77.115801][ T4363] vhci_write+0x382/0x430 [ 77.120666][ T4363] vfs_write+0xacd/0xe50 [ 77.125440][ T4363] ksys_write+0x1a2/0x2c0 [ 77.130297][ T4363] do_syscall_64+0x3b/0xb0 [ 77.135240][ T4363] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 77.141665][ T4363] [ 77.141665][ T4363] -> #3 (&data->open_mutex){+.+.}-{3:3}: [ 77.149494][ T4363] lock_acquire+0x1db/0x4f0 [ 77.154526][ T4363] __mutex_lock_common+0x1da/0x25a0 [ 77.160251][ T4363] mutex_lock_nested+0x17/0x20 [ 77.165583][ T4363] vhci_send_frame+0x8a/0xf0 [ 77.170712][ T4363] hci_send_frame+0x1af/0x2f0 [ 77.175917][ T4363] hci_tx_work+0xb2e/0x1a30 [ 77.180950][ T4363] process_one_work+0x8a1/0x10c0 [ 77.186416][ T4363] worker_thread+0xaca/0x1280 [ 77.191623][ T4363] kthread+0x3f6/0x4f0 [ 77.196221][ T4363] ret_from_fork+0x1f/0x30 [ 77.201165][ T4363] [ 77.201165][ T4363] -> #2 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}: [ 77.210386][ T4363] lock_acquire+0x1db/0x4f0 [ 77.215424][ T4363] __flush_work+0xeb/0x1a0 [ 77.220362][ T4363] hci_dev_do_close+0x20a/0x1070 [ 77.225844][ T4363] hci_unregister_dev+0x2d7/0x580 [ 77.231475][ T4363] vhci_release+0x73/0xc0 [ 77.236479][ T4363] __fput+0x3fe/0x8e0 [ 77.240994][ T4363] task_work_run+0x129/0x1a0 [ 77.246114][ T4363] do_exit+0x6a3/0x2480 [ 77.250794][ T4363] do_group_exit+0x144/0x310 [ 77.255904][ T4363] get_signal+0xc66/0x14e0 [ 77.260851][ T4363] arch_do_signal_or_restart+0xc3/0x1890 [ 77.266998][ T4363] exit_to_user_mode_loop+0x97/0x130 [ 77.272798][ T4363] exit_to_user_mode_prepare+0xb1/0x140 [ 77.278886][ T4363] syscall_exit_to_user_mode+0x5d/0x240 [ 77.284954][ T4363] do_syscall_64+0x47/0xb0 [ 77.289884][ T4363] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 77.296301][ T4363] [ 77.296301][ T4363] -> #1 (&hdev->req_lock){+.+.}-{3:3}: [ 77.303958][ T4363] lock_acquire+0x1db/0x4f0 [ 77.308980][ T4363] __mutex_lock_common+0x1da/0x25a0 [ 77.314712][ T4363] mutex_lock_nested+0x17/0x20 [ 77.319992][ T4363] bg_scan_update+0xa1/0x4a0 [ 77.325147][ T4363] process_one_work+0x8a1/0x10c0 [ 77.330603][ T4363] worker_thread+0xaca/0x1280 [ 77.335884][ T4363] kthread+0x3f6/0x4f0 [ 77.340471][ T4363] ret_from_fork+0x1f/0x30 [ 77.345403][ T4363] [ 77.345403][ T4363] -> #0 ((work_completion)(&hdev->bg_scan_update)){+.+.}-{0:0}: [ 77.355213][ T4363] validate_chain+0x1649/0x5930 [ 77.360582][ T4363] __lock_acquire+0x1295/0x1ff0 [ 77.365945][ T4363] lock_acquire+0x1db/0x4f0 [ 77.370984][ T4363] __flush_work+0xeb/0x1a0 [ 77.375918][ T4363] __cancel_work_timer+0x519/0x6a0 [ 77.381546][ T4363] hci_request_cancel_all+0xcb/0x300 [ 77.387345][ T4363] hci_dev_do_close+0x51/0x1070 [ 77.392710][ T4363] hci_rfkill_set_block+0x114/0x1a0 [ 77.398436][ T4363] rfkill_set_block+0x1e7/0x430 [ 77.403828][ T4363] rfkill_fop_write+0x5b7/0x790 [ 77.409195][ T4363] vfs_write+0x30c/0xe50 [ 77.413976][ T4363] ksys_write+0x1a2/0x2c0 [ 77.418827][ T4363] do_syscall_64+0x3b/0xb0 [ 77.423776][ T4363] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 77.430200][ T4363] [ 77.430200][ T4363] other info that might help us debug this: [ 77.430200][ T4363] [ 77.440430][ T4363] Chain exists of: [ 77.440430][ T4363] (work_completion)(&hdev->bg_scan_update) --> &data->open_mutex --> rfkill_global_mutex [ 77.440430][ T4363] [ 77.456194][ T4363] Possible unsafe locking scenario: [ 77.456194][ T4363] [ 77.463645][ T4363] CPU0 CPU1 [ 77.469022][ T4363] ---- ---- [ 77.474388][ T4363] lock(rfkill_global_mutex); [ 77.479144][ T4363] lock(&data->open_mutex); [ 77.486243][ T4363] lock(rfkill_global_mutex); [ 77.493515][ T4363] lock((work_completion)(&hdev->bg_scan_update)); [ 77.500096][ T4363] [ 77.500096][ T4363] *** DEADLOCK *** [ 77.500096][ T4363] [ 77.508225][ T4363] 1 lock held by syz.0.15/4363: [ 77.513065][ T4363] #0: ffffffff8dcbe3a8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a5/0x790 [ 77.523158][ T4363] [ 77.523158][ T4363] stack backtrace: [ 77.529140][ T4363] CPU: 0 PID: 4363 Comm: syz.0.15 Not tainted 5.15.170-syzkaller #0 [ 77.537113][ T4363] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 77.547168][ T4363] Call Trace: [ 77.550442][ T4363] [ 77.553371][ T4363] dump_stack_lvl+0x1e3/0x2d0 [ 77.558053][ T4363] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 77.563687][ T4363] ? print_circular_bug+0x12b/0x1a0 [ 77.568888][ T4363] check_noncircular+0x2f8/0x3b0 [ 77.573915][ T4363] ? add_chain_block+0x850/0x850 [ 77.578964][ T4363] ? lockdep_lock+0x11f/0x2a0 [ 77.583640][ T4363] validate_chain+0x1649/0x5930 [ 77.588493][ T4363] ? validate_chain+0x112/0x5930 [ 77.593427][ T4363] ? reacquire_held_locks+0x660/0x660 [ 77.598796][ T4363] ? mark_lock+0x98/0x340 [ 77.603121][ T4363] ? look_up_lock_class+0x77/0x120 [ 77.608235][ T4363] ? register_lock_class+0x100/0x9a0 [ 77.613515][ T4363] ? mark_lock+0x98/0x340 [ 77.617840][ T4363] ? is_dynamic_key+0x1f0/0x1f0 [ 77.622687][ T4363] ? __lock_acquire+0x1295/0x1ff0 [ 77.627707][ T4363] ? mark_lock+0x98/0x340 [ 77.632218][ T4363] __lock_acquire+0x1295/0x1ff0 [ 77.637086][ T4363] lock_acquire+0x1db/0x4f0 [ 77.641585][ T4363] ? __flush_work+0xcf/0x1a0 [ 77.646169][ T4363] ? rcu_lock_release+0x5/0x20 [ 77.650934][ T4363] ? read_lock_is_recursive+0x10/0x10 [ 77.656309][ T4363] ? start_flush_work+0x776/0x820 [ 77.661349][ T4363] __flush_work+0xeb/0x1a0 [ 77.665760][ T4363] ? __flush_work+0xcf/0x1a0 [ 77.670345][ T4363] ? flush_work+0x20/0x20 [ 77.674679][ T4363] ? print_irqtrace_events+0x210/0x210 [ 77.680220][ T4363] ? lock_timer_base+0x260/0x260 [ 77.685156][ T4363] ? __cancel_work_timer+0x467/0x6a0 [ 77.690437][ T4363] __cancel_work_timer+0x519/0x6a0 [ 77.695550][ T4363] ? cancel_work_sync+0x20/0x20 [ 77.700429][ T4363] ? lockdep_hardirqs_on+0x94/0x130 [ 77.705632][ T4363] ? __cancel_work+0x2ef/0x380 [ 77.710397][ T4363] ? cancel_work+0x20/0x20 [ 77.714810][ T4363] ? print_irqtrace_events+0x210/0x210 [ 77.720263][ T4363] hci_request_cancel_all+0xcb/0x300 [ 77.725549][ T4363] hci_dev_do_close+0x51/0x1070 [ 77.730417][ T4363] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 77.736305][ T4363] ? _raw_spin_unlock+0x40/0x40 [ 77.741152][ T4363] hci_rfkill_set_block+0x114/0x1a0 [ 77.746346][ T4363] ? rcu_lock_release+0x20/0x20 [ 77.751213][ T4363] rfkill_set_block+0x1e7/0x430 [ 77.756149][ T4363] rfkill_fop_write+0x5b7/0x790 [ 77.760994][ T4363] ? mark_lock+0x98/0x340 [ 77.765317][ T4363] ? rfkill_fop_read+0x470/0x470 [ 77.770251][ T4363] ? fsnotify_perm+0x64/0x590 [ 77.774925][ T4363] ? security_file_permission+0x75/0xa0 [ 77.780487][ T4363] ? rfkill_fop_read+0x470/0x470 [ 77.785418][ T4363] vfs_write+0x30c/0xe50 [ 77.789661][ T4363] ? file_end_write+0x250/0x250 [ 77.794512][ T4363] ? read_lock_is_recursive+0x10/0x10 [ 77.799884][ T4363] ? __context_tracking_exit+0x4c/0x80 [ 77.805343][ T4363] ? __lock_acquire+0x1ff0/0x1ff0 [ 77.810366][ T4363] ? __fdget_pos+0x1e9/0x380 [ 77.815040][ T4363] ksys_write+0x1a2/0x2c0 [ 77.819367][ T4363] ? print_irqtrace_events+0x210/0x210 [ 77.824818][ T4363] ? __ia32_sys_read+0x80/0x80 [ 77.829577][ T4363] ? syscall_enter_from_user_mode+0x2e/0x240 [ 77.835553][ T4363] ? lockdep_hardirqs_on+0x94/0x130 [ 77.840755][ T4363] ? syscall_enter_from_user_mode+0x2e/0x240 [ 77.846735][ T4363] do_syscall_64+0x3b/0xb0 [ 77.851149][ T4363] ? clear_bhb_loop+0x15/0x70 [ 77.855819][ T4363] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 77.861712][ T4363] RIP: 0033:0x7fda28902719 [ 77.866133][ T4363] 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 [ 77.885732][ T4363] RSP: 002b:00007ffc315a1a98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 77.894143][ T4363] RAX: ffffffffffffffda RBX: 00007fda28ab9f80 RCX: 00007fda28902719 [ 77.902110][ T4363] RDX: 0000000000000008 RSI: 0000000020000100 RDI: 0000000000000003 [ 77.910077][ T4363] RBP: 00007fda2897539e R08: 0000000000000000 R09: 0000000000000000 [ 77.918043][ T4363] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 77.926013][ T4363] R13: 00007fda28ab9f80 R14: 00007fda28ab9f80 R15: 00000000000014dc [ 77.933989][ T4363]