Warning: Permanently added '10.128.0.153' (ECDSA) to the list of known hosts. syzkaller login: [ 44.881337][ T4054] chnl_net:caif_netlink_parms(): no params data found [ 44.926640][ T4054] bridge0: port 1(bridge_slave_0) entered blocking state [ 44.928291][ T4054] bridge0: port 1(bridge_slave_0) entered disabled state [ 44.930568][ T4054] device bridge_slave_0 entered promiscuous mode [ 44.934869][ T4054] bridge0: port 2(bridge_slave_1) entered blocking state [ 44.936388][ T4054] bridge0: port 2(bridge_slave_1) entered disabled state [ 44.938910][ T4054] device bridge_slave_1 entered promiscuous mode [ 44.957549][ T4054] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 44.964305][ T4054] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 44.980166][ T4054] team0: Port device team_slave_0 added [ 44.983461][ T4054] team0: Port device team_slave_1 added [ 44.997062][ T4054] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 44.998553][ T4054] 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. [ 45.004486][ T4054] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 45.009589][ T4054] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 45.011076][ T4054] 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. [ 45.017058][ T4054] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 45.074222][ T4054] device hsr_slave_0 entered promiscuous mode [ 45.161713][ T4054] device hsr_slave_1 entered promiscuous mode [ 45.283895][ T4054] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 45.324376][ T4054] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 45.373814][ T4054] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 45.415427][ T4054] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 45.479761][ T4054] bridge0: port 2(bridge_slave_1) entered blocking state [ 45.481546][ T4054] bridge0: port 2(bridge_slave_1) entered forwarding state [ 45.483582][ T4054] bridge0: port 1(bridge_slave_0) entered blocking state [ 45.485136][ T4054] bridge0: port 1(bridge_slave_0) entered forwarding state [ 45.533467][ T4054] 8021q: adding VLAN 0 to HW filter on device bond0 [ 45.542177][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 45.545974][ T21] bridge0: port 1(bridge_slave_0) entered disabled state [ 45.549104][ T21] bridge0: port 2(bridge_slave_1) entered disabled state [ 45.552036][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 45.559308][ T4054] 8021q: adding VLAN 0 to HW filter on device team0 [ 45.566158][ T13] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 45.568385][ T13] bridge0: port 1(bridge_slave_0) entered blocking state [ 45.569958][ T13] bridge0: port 1(bridge_slave_0) entered forwarding state [ 45.577089][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 45.579295][ T21] bridge0: port 2(bridge_slave_1) entered blocking state [ 45.580850][ T21] bridge0: port 2(bridge_slave_1) entered forwarding state [ 45.598474][ T4064] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 45.601856][ T4064] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 45.611965][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 45.614513][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 45.620646][ T4064] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 45.624951][ T4054] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 45.637339][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 45.639156][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 45.648713][ T4054] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 45.663703][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 45.678332][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 45.680763][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 45.684025][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 45.688477][ T4054] device veth0_vlan entered promiscuous mode [ 45.696144][ T4054] device veth1_vlan entered promiscuous mode [ 45.713328][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 45.715349][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 45.717679][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 45.722262][ T4054] device veth0_macvtap entered promiscuous mode [ 45.727026][ T4054] device veth1_macvtap entered promiscuous mode [ 45.743998][ T4054] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 45.745905][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 45.748764][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 45.756150][ T4054] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 45.758045][ T4064] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 45.763703][ T4054] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 45.765570][ T4054] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 45.767496][ T4054] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 45.769535][ T4054] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 45.824187][ T374] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 45.825856][ T374] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 45.828431][ T13] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 45.848312][ T374] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 45.850142][ T374] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 45.853478][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready executing program [ 46.092514][ T4072] nci: nci_start_poll: failed to set local general bytes [ 46.842476][ T21] Bluetooth: hci0: command 0x0409 tx timeout [ 48.921385][ T25] Bluetooth: hci0: command 0x041b tx timeout [ 51.002197][ T21] Bluetooth: hci0: command 0x040f tx timeout [ 51.161492][ T4054] nci: __nci_request: wait_for_completion_interruptible_timeout failed 0 [ 51.163556][ T4054] [ 51.164071][ T4054] ====================================================== [ 51.165514][ T4054] WARNING: possible circular locking dependency detected [ 51.167011][ T4054] 5.15.98-syzkaller #0 Not tainted [ 51.168066][ T4054] ------------------------------------------------------ [ 51.169636][ T4054] syz-executor242/4054 is trying to acquire lock: [ 51.170967][ T4054] ffff800015cd4fe8 (nci_mutex){+.+.}-{3:3}, at: virtual_nci_close+0x28/0x58 [ 51.172816][ T4054] [ 51.172816][ T4054] but task is already holding lock: [ 51.174322][ T4054] ffff0000d71c8350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0xf0/0x5dc [ 51.176264][ T4054] [ 51.176264][ T4054] which lock already depends on the new lock. [ 51.176264][ T4054] [ 51.178541][ T4054] [ 51.178541][ T4054] the existing dependency chain (in reverse order) is: [ 51.180448][ T4054] [ 51.180448][ T4054] -> #3 (&ndev->req_lock){+.+.}-{3:3}: [ 51.182087][ T4054] __mutex_lock_common+0x194/0x2154 [ 51.183382][ T4054] mutex_lock_nested+0xa4/0xf8 [ 51.184473][ T4054] nci_start_poll+0x498/0x1204 [ 51.185641][ T4054] nfc_start_poll+0x164/0x2a4 [ 51.186905][ T4054] nfc_genl_start_poll+0x1b8/0x308 [ 51.188091][ T4054] genl_rcv_msg+0xc18/0x1018 [ 51.189279][ T4054] netlink_rcv_skb+0x20c/0x3b8 [ 51.190414][ T4054] genl_rcv+0x38/0x50 [ 51.191362][ T4054] netlink_unicast+0x664/0x938 [ 51.192546][ T4054] netlink_sendmsg+0x814/0xb00 [ 51.193694][ T4054] ____sys_sendmsg+0x584/0x870 [ 51.194949][ T4054] ___sys_sendmsg+0x214/0x294 [ 51.195954][ T4054] __arm64_sys_sendmsg+0x1ac/0x25c [ 51.197239][ T4054] invoke_syscall+0x98/0x2b8 [ 51.198325][ T4054] el0_svc_common+0x138/0x258 [ 51.199413][ T4054] do_el0_svc+0x58/0x14c [ 51.200387][ T4054] el0_svc+0x7c/0x1f0 [ 51.201339][ T4054] el0t_64_sync_handler+0x84/0xe4 [ 51.202480][ T4054] el0t_64_sync+0x1a0/0x1a4 [ 51.203613][ T4054] [ 51.203613][ T4054] -> #2 (&genl_data->genl_data_mutex){+.+.}-{3:3}: [ 51.205549][ T4054] __mutex_lock_common+0x194/0x2154 [ 51.206757][ T4054] mutex_lock_nested+0xa4/0xf8 [ 51.207902][ T4054] nfc_urelease_event_work+0xfc/0x2a8 [ 51.209155][ T4054] process_one_work+0x82c/0x1478 [ 51.210428][ T4054] worker_thread+0x910/0x1034 [ 51.211502][ T4054] kthread+0x37c/0x45c [ 51.212579][ T4054] ret_from_fork+0x10/0x20 [ 51.213657][ T4054] [ 51.213657][ T4054] -> #1 (nfc_devlist_mutex){+.+.}-{3:3}: [ 51.215316][ T4054] __mutex_lock_common+0x194/0x2154 [ 51.216581][ T4054] mutex_lock_nested+0xa4/0xf8 [ 51.217790][ T4054] nfc_register_device+0x4c/0x310 [ 51.219034][ T4054] nci_register_device+0x6ac/0x7c4 [ 51.220217][ T4054] virtual_ncidev_open+0x6c/0xd8 [ 51.221337][ T4054] misc_open+0x2f0/0x368 [ 51.222447][ T4054] chrdev_open+0x3e8/0x4fc [ 51.223477][ T4054] do_dentry_open+0x780/0xed8 [ 51.224663][ T4054] vfs_open+0x7c/0x90 [ 51.225698][ T4054] path_openat+0x1f00/0x26c4 [ 51.226758][ T4054] do_filp_open+0x1a8/0x3b4 [ 51.227856][ T4054] do_sys_openat2+0x128/0x3d8 [ 51.228969][ T4054] __arm64_sys_openat+0x1f0/0x240 [ 51.230135][ T4054] invoke_syscall+0x98/0x2b8 [ 51.231210][ T4054] el0_svc_common+0x138/0x258 [ 51.232373][ T4054] do_el0_svc+0x58/0x14c [ 51.233386][ T4054] el0_svc+0x7c/0x1f0 [ 51.234359][ T4054] el0t_64_sync_handler+0x84/0xe4 [ 51.235572][ T4054] el0t_64_sync+0x1a0/0x1a4 [ 51.236742][ T4054] [ 51.236742][ T4054] -> #0 (nci_mutex){+.+.}-{3:3}: [ 51.238249][ T4054] __lock_acquire+0x32cc/0x7620 [ 51.239436][ T4054] lock_acquire+0x2b8/0x894 [ 51.240539][ T4054] __mutex_lock_common+0x194/0x2154 [ 51.241737][ T4054] mutex_lock_nested+0xa4/0xf8 [ 51.242855][ T4054] virtual_nci_close+0x28/0x58 [ 51.243929][ T4054] nci_close_device+0x304/0x5dc [ 51.245001][ T4054] nci_unregister_device+0x5c/0x22c [ 51.246245][ T4054] virtual_ncidev_close+0x70/0xb0 [ 51.247432][ T4054] __fput+0x30c/0x7f0 [ 51.248458][ T4054] ____fput+0x20/0x30 [ 51.249425][ T4054] task_work_run+0x130/0x1e4 [ 51.250656][ T4054] do_notify_resume+0x262c/0x32b8 [ 51.251923][ T4054] el0_svc+0xfc/0x1f0 [ 51.252875][ T4054] el0t_64_sync_handler+0x84/0xe4 [ 51.254055][ T4054] el0t_64_sync+0x1a0/0x1a4 [ 51.255191][ T4054] [ 51.255191][ T4054] other info that might help us debug this: [ 51.255191][ T4054] [ 51.257394][ T4054] Chain exists of: [ 51.257394][ T4054] nci_mutex --> &genl_data->genl_data_mutex --> &ndev->req_lock [ 51.257394][ T4054] [ 51.260322][ T4054] Possible unsafe locking scenario: [ 51.260322][ T4054] [ 51.261890][ T4054] CPU0 CPU1 [ 51.263016][ T4054] ---- ---- [ 51.264160][ T4054] lock(&ndev->req_lock); [ 51.265134][ T4054] lock(&genl_data->genl_data_mutex); [ 51.266861][ T4054] lock(&ndev->req_lock); [ 51.268299][ T4054] lock(nci_mutex); [ 51.269132][ T4054] [ 51.269132][ T4054] *** DEADLOCK *** [ 51.269132][ T4054] [ 51.270892][ T4054] 1 lock held by syz-executor242/4054: [ 51.272066][ T4054] #0: ffff0000d71c8350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0xf0/0x5dc [ 51.274102][ T4054] [ 51.274102][ T4054] stack backtrace: [ 51.275306][ T4054] CPU: 0 PID: 4054 Comm: syz-executor242 Not tainted 5.15.98-syzkaller #0 [ 51.277094][ T4054] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 [ 51.279286][ T4054] Call trace: [ 51.279927][ T4054] dump_backtrace+0x0/0x530 [ 51.280907][ T4054] show_stack+0x2c/0x3c [ 51.281767][ T4054] dump_stack_lvl+0x108/0x170 [ 51.282761][ T4054] dump_stack+0x1c/0x58 [ 51.283714][ T4054] print_circular_bug+0x150/0x1b8 [ 51.284820][ T4054] check_noncircular+0x2cc/0x378 [ 51.285913][ T4054] __lock_acquire+0x32cc/0x7620 [ 51.286956][ T4054] lock_acquire+0x2b8/0x894 [ 51.287899][ T4054] __mutex_lock_common+0x194/0x2154 [ 51.289093][ T4054] mutex_lock_nested+0xa4/0xf8 [ 51.290256][ T4054] virtual_nci_close+0x28/0x58 [ 51.291222][ T4054] nci_close_device+0x304/0x5dc [ 51.292352][ T4054] nci_unregister_device+0x5c/0x22c [ 51.293561][ T4054] virtual_ncidev_close+0x70/0xb0 [ 51.294621][ T4054] __fput+0x30c/0x7f0 [ 51.295561][ T4054] ____fput+0x20/0x30 [ 51.296483][ T4054] task_work_run+0x130/0x1e4 [ 51.297466][ T4054] do_notify_resume+0x262c/0x32b8 [ 51.298546][ T4054] el0_svc+0xfc/0x1f0 [ 51.299492][ T4054] el0t_64_sync_handler+0x84/0xe4 [ 51.300573][ T4054] el0t_64_sync+0x1a0/0x1a4