Warning: Permanently added '10.128.0.125' (ECDSA) to the list of known hosts. syzkaller login: [ 42.908227][ T4057] chnl_net:caif_netlink_parms(): no params data found [ 42.949307][ T4057] bridge0: port 1(bridge_slave_0) entered blocking state [ 42.951097][ T4057] bridge0: port 1(bridge_slave_0) entered disabled state [ 42.953575][ T4057] device bridge_slave_0 entered promiscuous mode [ 42.958119][ T4057] bridge0: port 2(bridge_slave_1) entered blocking state [ 42.959834][ T4057] bridge0: port 2(bridge_slave_1) entered disabled state [ 42.963218][ T4057] device bridge_slave_1 entered promiscuous mode [ 42.979641][ T4057] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 42.983817][ T4057] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 43.000989][ T4057] team0: Port device team_slave_0 added [ 43.003993][ T4057] team0: Port device team_slave_1 added [ 43.017826][ T4057] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 43.019434][ T4057] 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. [ 43.025414][ T4057] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 43.029620][ T4057] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 43.031389][ T4057] 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. [ 43.037388][ T4057] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 43.097243][ T4057] device hsr_slave_0 entered promiscuous mode [ 43.155239][ T4057] device hsr_slave_1 entered promiscuous mode [ 43.282010][ T4057] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 43.317823][ T4057] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 43.367361][ T4057] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 43.427416][ T4057] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 43.494618][ T4057] bridge0: port 2(bridge_slave_1) entered blocking state [ 43.496361][ T4057] bridge0: port 2(bridge_slave_1) entered forwarding state [ 43.498389][ T4057] bridge0: port 1(bridge_slave_0) entered blocking state [ 43.500020][ T4057] bridge0: port 1(bridge_slave_0) entered forwarding state [ 43.549185][ T4057] 8021q: adding VLAN 0 to HW filter on device bond0 [ 43.556865][ T3553] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 43.560683][ T3553] bridge0: port 1(bridge_slave_0) entered disabled state [ 43.563615][ T3553] bridge0: port 2(bridge_slave_1) entered disabled state [ 43.566740][ T3553] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 43.573893][ T4057] 8021q: adding VLAN 0 to HW filter on device team0 [ 43.580986][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 43.583373][ T21] bridge0: port 1(bridge_slave_0) entered blocking state [ 43.585233][ T21] bridge0: port 1(bridge_slave_0) entered forwarding state [ 43.597595][ T13] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 43.600060][ T13] bridge0: port 2(bridge_slave_1) entered blocking state [ 43.601558][ T13] bridge0: port 2(bridge_slave_1) entered forwarding state [ 43.609377][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 43.611755][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 43.624725][ T4057] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 43.628577][ T4057] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 43.632430][ T13] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 43.635053][ T13] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 43.637888][ T13] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 43.641508][ T13] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 43.654304][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 43.656355][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 43.662758][ T4057] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 43.678905][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 43.690600][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 43.692934][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 43.697202][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 43.701347][ T4057] device veth0_vlan entered promiscuous mode [ 43.709845][ T4057] device veth1_vlan entered promiscuous mode [ 43.729080][ T4057] device veth0_macvtap entered promiscuous mode [ 43.733232][ T4057] device veth1_macvtap entered promiscuous mode [ 43.737334][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 43.739526][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 43.741969][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 43.744483][ T1966] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 43.759939][ T4057] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 43.761741][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 43.768700][ T4057] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 43.770643][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 43.775116][ T4057] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 43.777129][ T4057] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 43.779026][ T4057] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 43.780940][ T4057] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 executing program [ 44.035252][ T4069] nci: nci_start_poll: failed to set local general bytes [ 44.905814][ T13] Bluetooth: hci0: command 0x0409 tx timeout [ 46.984937][ T21] Bluetooth: hci0: command 0x041b tx timeout [ 49.065501][ T4057] nci: __nci_request: wait_for_completion_interruptible_timeout failed 0 [ 49.065982][ T21] Bluetooth: hci0: command 0x040f tx timeout [ 49.067741][ T4057] [ 49.069675][ T4057] ====================================================== [ 49.071229][ T4057] WARNING: possible circular locking dependency detected [ 49.072938][ T4057] 5.15.99-syzkaller #0 Not tainted [ 49.074081][ T4057] ------------------------------------------------------ [ 49.075781][ T4057] syz-executor227/4057 is trying to acquire lock: [ 49.077359][ T4057] ffff800015d65da8 (nci_mutex){+.+.}-{3:3}, at: virtual_nci_close+0x28/0x58 [ 49.079359][ T4057] [ 49.079359][ T4057] but task is already holding lock: [ 49.081003][ T4057] ffff0000cf74f350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0xf0/0x5dc [ 49.083188][ T4057] [ 49.083188][ T4057] which lock already depends on the new lock. [ 49.083188][ T4057] [ 49.085642][ T4057] [ 49.085642][ T4057] the existing dependency chain (in reverse order) is: [ 49.087866][ T4057] [ 49.087866][ T4057] -> #3 (&ndev->req_lock){+.+.}-{3:3}: [ 49.089651][ T4057] __mutex_lock_common+0x194/0x2154 [ 49.090972][ T4057] mutex_lock_nested+0xa4/0xf8 [ 49.092271][ T4057] nci_start_poll+0x498/0x1204 [ 49.093577][ T4057] nfc_start_poll+0x164/0x2a4 [ 49.094752][ T4057] nfc_genl_start_poll+0x1b8/0x308 [ 49.096045][ T4057] genl_rcv_msg+0xc18/0x1018 [ 49.097365][ T4057] netlink_rcv_skb+0x20c/0x3b8 [ 49.098737][ T4057] genl_rcv+0x38/0x50 [ 49.099826][ T4057] netlink_unicast+0x664/0x938 [ 49.101099][ T4057] netlink_sendmsg+0x844/0xb38 [ 49.102311][ T4057] ____sys_sendmsg+0x584/0x870 [ 49.103582][ T4057] ___sys_sendmsg+0x214/0x294 [ 49.104784][ T4057] __arm64_sys_sendmsg+0x1ac/0x25c [ 49.106196][ T4057] invoke_syscall+0x98/0x2b8 [ 49.107353][ T4057] el0_svc_common+0x138/0x258 [ 49.108620][ T4057] do_el0_svc+0x58/0x14c [ 49.109729][ T4057] el0_svc+0x7c/0x1f0 [ 49.110807][ T4057] el0t_64_sync_handler+0x84/0xe4 [ 49.112160][ T4057] el0t_64_sync+0x1a0/0x1a4 [ 49.113308][ T4057] [ 49.113308][ T4057] -> #2 (&genl_data->genl_data_mutex){+.+.}-{3:3}: [ 49.115414][ T4057] __mutex_lock_common+0x194/0x2154 [ 49.116721][ T4057] mutex_lock_nested+0xa4/0xf8 [ 49.117938][ T4057] nfc_urelease_event_work+0xfc/0x2a8 [ 49.119387][ T4057] process_one_work+0x84c/0x14b8 [ 49.120685][ T4057] worker_thread+0x910/0x1034 [ 49.121895][ T4057] kthread+0x37c/0x45c [ 49.122973][ T4057] ret_from_fork+0x10/0x20 [ 49.124154][ T4057] [ 49.124154][ T4057] -> #1 (nfc_devlist_mutex){+.+.}-{3:3}: [ 49.126060][ T4057] __mutex_lock_common+0x194/0x2154 [ 49.127424][ T4057] mutex_lock_nested+0xa4/0xf8 [ 49.128670][ T4057] nfc_register_device+0x4c/0x310 [ 49.130003][ T4057] nci_register_device+0x6ac/0x7c4 [ 49.131330][ T4057] virtual_ncidev_open+0x6c/0xd8 [ 49.132698][ T4057] misc_open+0x2f0/0x368 [ 49.133829][ T4057] chrdev_open+0x3e8/0x4fc [ 49.135020][ T4057] do_dentry_open+0x780/0xed8 [ 49.136220][ T4057] vfs_open+0x7c/0x90 [ 49.137311][ T4057] path_openat+0x1f04/0x26cc [ 49.138530][ T4057] do_filp_open+0x1a8/0x3b4 [ 49.139732][ T4057] do_sys_openat2+0x128/0x3d8 [ 49.140991][ T4057] __arm64_sys_openat+0x1f0/0x240 [ 49.142335][ T4057] invoke_syscall+0x98/0x2b8 [ 49.143555][ T4057] el0_svc_common+0x138/0x258 [ 49.144845][ T4057] do_el0_svc+0x58/0x14c [ 49.145979][ T4057] el0_svc+0x7c/0x1f0 [ 49.147015][ T4057] el0t_64_sync_handler+0x84/0xe4 [ 49.148328][ T4057] el0t_64_sync+0x1a0/0x1a4 [ 49.149497][ T4057] [ 49.149497][ T4057] -> #0 (nci_mutex){+.+.}-{3:3}: [ 49.151233][ T4057] __lock_acquire+0x32cc/0x7620 [ 49.152607][ T4057] lock_acquire+0x2c0/0x89c [ 49.153798][ T4057] __mutex_lock_common+0x194/0x2154 [ 49.155114][ T4057] mutex_lock_nested+0xa4/0xf8 [ 49.156440][ T4057] virtual_nci_close+0x28/0x58 [ 49.157698][ T4057] nci_close_device+0x304/0x5dc [ 49.159028][ T4057] nci_unregister_device+0x5c/0x22c [ 49.160454][ T4057] virtual_ncidev_close+0x70/0xb0 [ 49.161708][ T4057] __fput+0x30c/0x7f0 [ 49.162793][ T4057] ____fput+0x20/0x30 [ 49.163838][ T4057] task_work_run+0x130/0x1e4 [ 49.165071][ T4057] do_notify_resume+0x262c/0x32b8 [ 49.166423][ T4057] el0_svc+0xfc/0x1f0 [ 49.167471][ T4057] el0t_64_sync_handler+0x84/0xe4 [ 49.168832][ T4057] el0t_64_sync+0x1a0/0x1a4 [ 49.170101][ T4057] [ 49.170101][ T4057] other info that might help us debug this: [ 49.170101][ T4057] [ 49.172562][ T4057] Chain exists of: [ 49.172562][ T4057] nci_mutex --> &genl_data->genl_data_mutex --> &ndev->req_lock [ 49.172562][ T4057] [ 49.175898][ T4057] Possible unsafe locking scenario: [ 49.175898][ T4057] [ 49.177664][ T4057] CPU0 CPU1 [ 49.178953][ T4057] ---- ---- [ 49.180345][ T4057] lock(&ndev->req_lock); [ 49.181411][ T4057] lock(&genl_data->genl_data_mutex); [ 49.183370][ T4057] lock(&ndev->req_lock); [ 49.185149][ T4057] lock(nci_mutex); [ 49.186065][ T4057] [ 49.186065][ T4057] *** DEADLOCK *** [ 49.186065][ T4057] [ 49.188079][ T4057] 1 lock held by syz-executor227/4057: [ 49.189449][ T4057] #0: ffff0000cf74f350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0xf0/0x5dc [ 49.191813][ T4057] [ 49.191813][ T4057] stack backtrace: [ 49.193263][ T4057] CPU: 0 PID: 4057 Comm: syz-executor227 Not tainted 5.15.99-syzkaller #0 [ 49.195350][ T4057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 [ 49.197718][ T4057] Call trace: [ 49.198534][ T4057] dump_backtrace+0x0/0x530 [ 49.199642][ T4057] show_stack+0x2c/0x3c [ 49.200677][ T4057] dump_stack_lvl+0x108/0x170 [ 49.201781][ T4057] dump_stack+0x1c/0x58 [ 49.202765][ T4057] print_circular_bug+0x150/0x1b8 [ 49.203940][ T4057] check_noncircular+0x2cc/0x378 [ 49.205194][ T4057] __lock_acquire+0x32cc/0x7620 [ 49.206330][ T4057] lock_acquire+0x2c0/0x89c [ 49.207357][ T4057] __mutex_lock_common+0x194/0x2154 [ 49.208552][ T4057] mutex_lock_nested+0xa4/0xf8 [ 49.209740][ T4057] virtual_nci_close+0x28/0x58 [ 49.210913][ T4057] nci_close_device+0x304/0x5dc [ 49.212072][ T4057] nci_unregister_device+0x5c/0x22c [ 49.213326][ T4057] virtual_ncidev_close+0x70/0xb0 [ 49.214573][ T4057] __fput+0x30c/0x7f0 [ 49.215553][ T4057] ____fput+0x20/0x30 [ 49.216538][ T4057] task_work_run+0x130/0x1e4 [ 49.217627][ T4057] do_notify_resume+0x262c/0x32b8 [ 49.218868][ T4057] el0_svc+0xfc/0x1f0 [ 49.219804][ T4057] el0t_64_sync_handler+0x84/0xe4 [ 49.220966][ T4057] el0t_64_sync+0x1a0/0x1a4