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 [ 33.756212][ T3837] 8021q: adding VLAN 0 to HW filter on device bond0 [ 33.765803][ T3837] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.10.21' (ED25519) to the list of known hosts. 2024/11/19 10:38:40 ignoring optional flag "sandboxArg"="0" 2024/11/19 10:38:40 parsed 1 programs syzkaller login: [ 58.131756][ T4166] cgroup: Unknown subsys name 'net' [ 58.248548][ T4166] cgroup: Unknown subsys name 'rlimit' [ 59.694249][ T4166] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k FS [ 61.558158][ T9] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 61.572223][ T9] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 61.590140][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 61.600163][ T9] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 61.608508][ T9] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 61.620460][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 62.458681][ T4214] chnl_net:caif_netlink_parms(): no params data found [ 62.524601][ T4214] bridge0: port 1(bridge_slave_0) entered blocking state [ 62.533528][ T4214] bridge0: port 1(bridge_slave_0) entered disabled state [ 62.542361][ T4214] device bridge_slave_0 entered promiscuous mode [ 62.554624][ T4214] bridge0: port 2(bridge_slave_1) entered blocking state [ 62.561749][ T4214] bridge0: port 2(bridge_slave_1) entered disabled state [ 62.570500][ T4214] device bridge_slave_1 entered promiscuous mode [ 62.603472][ T4214] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 62.615841][ T4214] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 62.649001][ T4214] team0: Port device team_slave_0 added [ 62.657644][ T4214] team0: Port device team_slave_1 added [ 62.682791][ T4214] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 62.689757][ T4214] 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. [ 62.715990][ T4214] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 62.728935][ T4214] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 62.735928][ T4214] 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.761860][ T4214] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 62.802086][ T4214] device hsr_slave_0 entered promiscuous mode [ 62.808936][ T4214] device hsr_slave_1 entered promiscuous mode [ 62.943005][ T4214] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 62.953523][ T4214] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 62.963279][ T4214] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 62.974027][ T4214] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 63.081672][ T4214] 8021q: adding VLAN 0 to HW filter on device bond0 [ 63.111448][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 63.145061][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 63.153980][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 63.170416][ T4214] 8021q: adding VLAN 0 to HW filter on device team0 [ 63.181124][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 63.190239][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 63.199380][ T3084] bridge0: port 1(bridge_slave_0) entered blocking state [ 63.206770][ T3084] bridge0: port 1(bridge_slave_0) entered forwarding state [ 63.216144][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 63.227234][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 63.236010][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 63.244975][ T3084] bridge0: port 2(bridge_slave_1) entered blocking state [ 63.252330][ T3084] bridge0: port 2(bridge_slave_1) entered forwarding state [ 63.272118][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 63.281662][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 63.293636][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 63.306777][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 63.317926][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 63.328867][ T4214] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 63.398579][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 63.406210][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 63.419950][ T4214] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 63.454959][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 63.473954][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 63.483754][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 63.491523][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 63.502053][ T4214] device veth0_vlan entered promiscuous mode [ 63.529221][ T4214] device veth1_vlan entered promiscuous mode [ 63.553248][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 63.561605][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 63.571588][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 63.584605][ T4214] device veth0_macvtap entered promiscuous mode [ 63.595913][ T4214] device veth1_macvtap entered promiscuous mode [ 63.628910][ T4214] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 63.637685][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 63.646592][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 63.658178][ T4214] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 63.666286][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 63.676623][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 63.702535][ T4214] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 63.711460][ T4214] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 63.720586][ T4214] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 63.731436][ T4214] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 63.834046][ T4214] syz-executor (4214) used greatest stack depth: 18840 bytes left 2024/11/19 10:38:49 executed programs: 0 [ 64.692222][ T4258] chnl_net:caif_netlink_parms(): no params data found [ 64.751576][ T4258] bridge0: port 1(bridge_slave_0) entered blocking state [ 64.758810][ T4258] bridge0: port 1(bridge_slave_0) entered disabled state [ 64.767091][ T4258] device bridge_slave_0 entered promiscuous mode [ 64.777934][ T4258] bridge0: port 2(bridge_slave_1) entered blocking state [ 64.787830][ T4258] bridge0: port 2(bridge_slave_1) entered disabled state [ 64.796387][ T4258] device bridge_slave_1 entered promiscuous mode [ 64.829444][ T4258] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 64.854067][ T4258] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 64.890281][ T4258] team0: Port device team_slave_0 added [ 64.898991][ T4258] team0: Port device team_slave_1 added [ 64.929900][ T4258] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 64.939659][ T4258] 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. [ 64.968762][ T4258] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 64.982068][ T4258] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 64.989033][ T4258] 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. [ 65.018505][ T4258] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 65.069962][ T4258] device hsr_slave_0 entered promiscuous mode [ 65.076978][ T4258] device hsr_slave_1 entered promiscuous mode [ 65.086736][ T4258] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 65.094982][ T4258] Cannot create hsr debugfs directory [ 65.186569][ T4258] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 66.582939][ T4231] Bluetooth: hci0: command 0x0409 tx timeout [ 67.919128][ T4258] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 68.661986][ T4182] Bluetooth: hci0: command 0x041b tx timeout [ 68.759652][ T4258] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 68.821082][ T4258] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 68.904276][ T4258] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 68.915815][ T4258] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 68.937449][ T4258] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 68.946530][ T4258] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 69.014334][ T4258] 8021q: adding VLAN 0 to HW filter on device bond0 [ 69.034536][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 69.044473][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 69.066337][ T4258] 8021q: adding VLAN 0 to HW filter on device team0 [ 69.075849][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 69.085161][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 69.093709][ T9] bridge0: port 1(bridge_slave_0) entered blocking state [ 69.100753][ T9] bridge0: port 1(bridge_slave_0) entered forwarding state [ 69.109337][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 69.135685][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 69.146695][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 69.156254][ T9] bridge0: port 2(bridge_slave_1) entered blocking state [ 69.163332][ T9] bridge0: port 2(bridge_slave_1) entered forwarding state [ 69.186205][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bond: link becomes ready [ 69.203708][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready [ 69.213482][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready [ 69.223079][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 69.231493][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 69.241236][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 69.250665][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 69.272854][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_hsr: link becomes ready [ 69.281198][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 69.294676][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready [ 69.303517][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 69.314091][ T4258] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 69.377236][ T144] device hsr_slave_0 left promiscuous mode [ 69.385200][ T144] device hsr_slave_1 left promiscuous mode [ 69.393309][ T144] batman_adv: batadv0: Interface deactivated: batadv_slave_0 [ 69.400748][ T144] batman_adv: batadv0: Removing interface: batadv_slave_0 [ 69.410396][ T144] batman_adv: batadv0: Interface deactivated: batadv_slave_1 [ 69.418336][ T144] batman_adv: batadv0: Removing interface: batadv_slave_1 [ 69.426579][ T144] device bridge_slave_1 left promiscuous mode [ 69.434719][ T144] bridge0: port 2(bridge_slave_1) entered disabled state [ 69.448704][ T144] device bridge_slave_0 left promiscuous mode [ 69.456600][ T144] bridge0: port 1(bridge_slave_0) entered disabled state [ 69.474308][ T144] device veth1_macvtap left promiscuous mode [ 69.480536][ T144] device veth0_macvtap left promiscuous mode [ 69.486643][ T144] device veth1_vlan left promiscuous mode [ 69.492876][ T144] device veth0_vlan left promiscuous mode [ 69.649938][ T144] team0 (unregistering): Port device team_slave_1 removed [ 69.664984][ T144] team0 (unregistering): Port device team_slave_0 removed [ 69.678534][ T144] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 69.692611][ T144] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 69.749040][ T144] bond0 (unregistering): Released all slaves [ 69.815865][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 69.823440][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 69.837481][ T4258] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 69.874505][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_virt_wifi: link becomes ready [ 69.884782][ T3084] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 69.896751][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 69.905564][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 69.914964][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 69.923531][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 69.933528][ T4258] device veth0_vlan entered promiscuous mode [ 69.946220][ T4258] device veth1_vlan entered promiscuous mode [ 69.977612][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 69.986010][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 69.994636][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 70.003761][ T9] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 70.016678][ T4258] device veth0_macvtap entered promiscuous mode [ 70.026768][ T4258] device veth1_macvtap entered promiscuous mode [ 70.042667][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 70.050863][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 70.066173][ T4258] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 70.073954][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 70.084799][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 70.099364][ T4258] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 70.109458][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 70.119039][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 70.129296][ T4258] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 70.138220][ T4258] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 70.147042][ T4258] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 70.155795][ T4258] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 70.223460][ T9] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 70.231418][ T9] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 70.254654][ T3084] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 70.263796][ T3084] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 70.264741][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 70.293720][ T154] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 70.398466][ T4272] [ 70.400973][ T4272] ====================================================== [ 70.407993][ T4272] WARNING: possible circular locking dependency detected [ 70.415012][ T4272] 5.15.173-syzkaller #0 Not tainted [ 70.420216][ T4272] ------------------------------------------------------ [ 70.427229][ T4272] syz.0.15/4272 is trying to acquire lock: [ 70.433043][ T4272] ffff88801b9f0c28 ((work_completion)(&hdev->bg_scan_update)){+.+.}-{0:0}, at: __flush_work+0xcf/0x1a0 [ 70.444127][ T4272] [ 70.444127][ T4272] but task is already holding lock: [ 70.451489][ T4272] ffffffff8dcbe668 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a5/0x790 [ 70.461159][ T4272] [ 70.461159][ T4272] which lock already depends on the new lock. [ 70.461159][ T4272] [ 70.471564][ T4272] [ 70.471564][ T4272] the existing dependency chain (in reverse order) is: [ 70.480576][ T4272] [ 70.480576][ T4272] -> #4 (rfkill_global_mutex){+.+.}-{3:3}: [ 70.488577][ T4272] lock_acquire+0x1db/0x4f0 [ 70.493610][ T4272] __mutex_lock_common+0x1da/0x25a0 [ 70.499340][ T4272] mutex_lock_nested+0x17/0x20 [ 70.504628][ T4272] rfkill_register+0x30/0x880 [ 70.509840][ T4272] hci_register_dev+0x4dd/0xa50 [ 70.515222][ T4272] vhci_create_device+0x310/0x590 [ 70.520773][ T4272] vhci_write+0x382/0x430 [ 70.525630][ T4272] vfs_write+0xacd/0xe50 [ 70.530397][ T4272] ksys_write+0x1a2/0x2c0 [ 70.535252][ T4272] do_syscall_64+0x3b/0xb0 [ 70.540191][ T4272] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 70.546611][ T4272] [ 70.546611][ T4272] -> #3 (&data->open_mutex){+.+.}-{3:3}: [ 70.554437][ T4272] lock_acquire+0x1db/0x4f0 [ 70.559469][ T4272] __mutex_lock_common+0x1da/0x25a0 [ 70.565193][ T4272] mutex_lock_nested+0x17/0x20 [ 70.570483][ T4272] vhci_send_frame+0x8a/0xf0 [ 70.575603][ T4272] hci_send_frame+0x1af/0x2f0 [ 70.580804][ T4272] hci_tx_work+0xb2e/0x1a30 [ 70.585831][ T4272] process_one_work+0x8a1/0x10c0 [ 70.591291][ T4272] worker_thread+0xaca/0x1280 [ 70.596490][ T4272] kthread+0x3f6/0x4f0 [ 70.601087][ T4272] ret_from_fork+0x1f/0x30 [ 70.606030][ T4272] [ 70.606030][ T4272] -> #2 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}: [ 70.615257][ T4272] lock_acquire+0x1db/0x4f0 [ 70.620296][ T4272] __flush_work+0xeb/0x1a0 [ 70.625265][ T4272] hci_dev_do_close+0x20a/0x1070 [ 70.630731][ T4272] hci_unregister_dev+0x2d7/0x580 [ 70.636276][ T4272] vhci_release+0x73/0xc0 [ 70.641138][ T4272] __fput+0x3fe/0x8e0 [ 70.645648][ T4272] task_work_run+0x129/0x1a0 [ 70.650778][ T4272] do_exit+0x6a3/0x2480 [ 70.655460][ T4272] do_group_exit+0x144/0x310 [ 70.660579][ T4272] get_signal+0xc66/0x14e0 [ 70.665873][ T4272] arch_do_signal_or_restart+0xc3/0x1890 [ 70.672035][ T4272] exit_to_user_mode_loop+0x97/0x130 [ 70.677848][ T4272] exit_to_user_mode_prepare+0xb1/0x140 [ 70.684171][ T4272] syscall_exit_to_user_mode+0x5d/0x240 [ 70.690253][ T4272] do_syscall_64+0x47/0xb0 [ 70.695197][ T4272] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 70.701621][ T4272] [ 70.701621][ T4272] -> #1 (&hdev->req_lock){+.+.}-{3:3}: [ 70.709270][ T4272] lock_acquire+0x1db/0x4f0 [ 70.714302][ T4272] __mutex_lock_common+0x1da/0x25a0 [ 70.720065][ T4272] mutex_lock_nested+0x17/0x20 [ 70.725365][ T4272] bg_scan_update+0xa1/0x4a0 [ 70.730509][ T4272] process_one_work+0x8a1/0x10c0 [ 70.735964][ T4272] worker_thread+0xaca/0x1280 [ 70.741153][ T4272] kthread+0x3f6/0x4f0 [ 70.745735][ T4272] ret_from_fork+0x1f/0x30 [ 70.750665][ T4272] [ 70.750665][ T4272] -> #0 ((work_completion)(&hdev->bg_scan_update)){+.+.}-{0:0}: [ 70.760472][ T4272] validate_chain+0x1649/0x5930 [ 70.766275][ T4272] __lock_acquire+0x1295/0x1ff0 [ 70.771644][ T4272] lock_acquire+0x1db/0x4f0 [ 70.776658][ T4272] __flush_work+0xeb/0x1a0 [ 70.781595][ T4272] __cancel_work_timer+0x519/0x6a0 [ 70.787222][ T4272] hci_request_cancel_all+0xcb/0x300 [ 70.793139][ T4272] hci_dev_do_close+0x51/0x1070 [ 70.798501][ T4272] hci_rfkill_set_block+0x114/0x1a0 [ 70.804213][ T4272] rfkill_set_block+0x1e7/0x430 [ 70.809576][ T4272] rfkill_fop_write+0x5b7/0x790 [ 70.814955][ T4272] vfs_write+0x30c/0xe50 [ 70.819714][ T4272] ksys_write+0x1a2/0x2c0 [ 70.824561][ T4272] do_syscall_64+0x3b/0xb0 [ 70.829587][ T4272] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 70.835995][ T4272] [ 70.835995][ T4272] other info that might help us debug this: [ 70.835995][ T4272] [ 70.846206][ T4272] Chain exists of: [ 70.846206][ T4272] (work_completion)(&hdev->bg_scan_update) --> &data->open_mutex --> rfkill_global_mutex [ 70.846206][ T4272] [ 70.862182][ T4272] Possible unsafe locking scenario: [ 70.862182][ T4272] [ 70.869619][ T4272] CPU0 CPU1 [ 70.875070][ T4272] ---- ---- [ 70.880428][ T4272] lock(rfkill_global_mutex); [ 70.885184][ T4272] lock(&data->open_mutex); [ 70.892293][ T4272] lock(rfkill_global_mutex); [ 70.899584][ T4272] lock((work_completion)(&hdev->bg_scan_update)); [ 70.906177][ T4272] [ 70.906177][ T4272] *** DEADLOCK *** [ 70.906177][ T4272] [ 70.914311][ T4272] 1 lock held by syz.0.15/4272: [ 70.919148][ T4272] #0: ffffffff8dcbe668 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a5/0x790 [ 70.929339][ T4272] [ 70.929339][ T4272] stack backtrace: [ 70.935233][ T4272] CPU: 1 PID: 4272 Comm: syz.0.15 Not tainted 5.15.173-syzkaller #0 [ 70.943208][ T4272] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 70.953271][ T4272] Call Trace: [ 70.956547][ T4272] [ 70.959477][ T4272] dump_stack_lvl+0x1e3/0x2d0 [ 70.964160][ T4272] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 70.969815][ T4272] ? print_circular_bug+0x12b/0x1a0 [ 70.975018][ T4272] check_noncircular+0x2f8/0x3b0 [ 70.979958][ T4272] ? add_chain_block+0x850/0x850 [ 70.984890][ T4272] ? lockdep_lock+0x11f/0x2a0 [ 70.989572][ T4272] validate_chain+0x1649/0x5930 [ 70.994435][ T4272] ? __lock_acquire+0x1295/0x1ff0 [ 70.999448][ T4272] ? reacquire_held_locks+0x660/0x660 [ 71.004817][ T4272] ? mark_lock+0x98/0x340 [ 71.009144][ T4272] ? look_up_lock_class+0x77/0x120 [ 71.014269][ T4272] ? register_lock_class+0x100/0x9a0 [ 71.019556][ T4272] ? mark_lock+0x98/0x340 [ 71.023898][ T4272] ? is_dynamic_key+0x1f0/0x1f0 [ 71.028748][ T4272] ? __lock_acquire+0x1295/0x1ff0 [ 71.033773][ T4272] ? mark_lock+0x98/0x340 [ 71.038096][ T4272] __lock_acquire+0x1295/0x1ff0 [ 71.042946][ T4272] lock_acquire+0x1db/0x4f0 [ 71.047445][ T4272] ? __flush_work+0xcf/0x1a0 [ 71.052037][ T4272] ? rcu_lock_release+0x5/0x20 [ 71.056808][ T4272] ? read_lock_is_recursive+0x10/0x10 [ 71.062177][ T4272] ? start_flush_work+0x776/0x820 [ 71.067213][ T4272] __flush_work+0xeb/0x1a0 [ 71.071617][ T4272] ? __flush_work+0xcf/0x1a0 [ 71.076651][ T4272] ? flush_work+0x20/0x20 [ 71.080978][ T4272] ? print_irqtrace_events+0x210/0x210 [ 71.086519][ T4272] ? lock_timer_base+0x260/0x260 [ 71.091454][ T4272] ? __cancel_work_timer+0x467/0x6a0 [ 71.096732][ T4272] __cancel_work_timer+0x519/0x6a0 [ 71.101839][ T4272] ? cancel_work_sync+0x20/0x20 [ 71.106751][ T4272] ? lockdep_hardirqs_on+0x94/0x130 [ 71.111946][ T4272] ? __cancel_work+0x2ef/0x380 [ 71.116702][ T4272] ? cancel_work+0x20/0x20 [ 71.121110][ T4272] ? print_irqtrace_events+0x210/0x210 [ 71.126583][ T4272] hci_request_cancel_all+0xcb/0x300 [ 71.131863][ T4272] hci_dev_do_close+0x51/0x1070 [ 71.136712][ T4272] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 71.142600][ T4272] ? _raw_spin_unlock+0x40/0x40 [ 71.147452][ T4272] ? kmem_cache_alloc_trace+0x143/0x290 [ 71.152993][ T4272] hci_rfkill_set_block+0x114/0x1a0 [ 71.158185][ T4272] ? rcu_lock_release+0x20/0x20 [ 71.163026][ T4272] rfkill_set_block+0x1e7/0x430 [ 71.167876][ T4272] rfkill_fop_write+0x5b7/0x790 [ 71.172719][ T4272] ? mark_lock+0x98/0x340 [ 71.177041][ T4272] ? rfkill_fop_read+0x470/0x470 [ 71.181970][ T4272] ? fsnotify_perm+0x64/0x590 [ 71.186640][ T4272] ? security_file_permission+0x75/0xa0 [ 71.192179][ T4272] ? rfkill_fop_read+0x470/0x470 [ 71.197109][ T4272] vfs_write+0x30c/0xe50 [ 71.201348][ T4272] ? file_end_write+0x250/0x250 [ 71.206195][ T4272] ? read_lock_is_recursive+0x10/0x10 [ 71.211564][ T4272] ? __context_tracking_exit+0x4c/0x80 [ 71.217059][ T4272] ? __lock_acquire+0x1ff0/0x1ff0 [ 71.222081][ T4272] ? __fdget_pos+0x1e9/0x380 [ 71.226668][ T4272] ksys_write+0x1a2/0x2c0 [ 71.230994][ T4272] ? print_irqtrace_events+0x210/0x210 [ 71.236456][ T4272] ? __ia32_sys_read+0x80/0x80 [ 71.241210][ T4272] ? syscall_enter_from_user_mode+0x2e/0x240 [ 71.247180][ T4272] ? lockdep_hardirqs_on+0x94/0x130 [ 71.252369][ T4272] ? syscall_enter_from_user_mode+0x2e/0x240 [ 71.258443][ T4272] do_syscall_64+0x3b/0xb0 [ 71.262865][ T4272] ? clear_bhb_loop+0x15/0x70 [ 71.267557][ T4272] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 71.273445][ T4272] RIP: 0033:0x7f74ad18d759 [ 71.277874][ 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 [ 71.297558][ T4272] RSP: 002b:00007fffb79bb5b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 71.305981][ T4272] RAX: ffffffffffffffda RBX: 00007f74ad344f80 RCX: 00007f74ad18d759 [ 71.313965][ T4272] RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000003 [ 71.321928][ T4272] RBP: 00007f74ad20075e R08: 0000000000000000 R09: 0000000000000000 [ 71.329889][ T4272] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 71.337854][ T4272] R13: 00007f74ad344f80 R14: 00007f74ad344f80 R15: 00000000000014f4 [ 71.345844][ T4272] [ 71.351423][ T1421] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.357741][ T1421] ieee802154 phy1 wpan1: encryption failed: -22 [ 71.384678][ T1107] Bluetooth: hci0: command 0x040f tx timeout