BUG: sleeping function called from invalid context at net/core/sock.c:2863 in_atomic(): 1, irqs_disabled(): 0, pid: 11700, name: syz-executor.0 1 lock held by syz-executor.0/11700: #0: 0000000065c18794 (hci_sk_list.lock){++++}, at: hci_sock_dev_event+0x3db/0x660 net/bluetooth/hci_sock.c:756 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 11700 Comm: syz-executor.0 Not tainted 4.19.202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192 lock_sock_nested+0x33/0x110 net/core/sock.c:2863 lock_sock include/net/sock.h:1510 [inline] hci_sock_dev_event+0x465/0x660 net/bluetooth/hci_sock.c:758 hci_unregister_dev+0x25b/0x910 net/bluetooth/hci_core.c:3292 vhci_release+0x70/0xe0 drivers/bluetooth/hci_vhci.c:354 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbf3/0x2be0 kernel/exit.c:870 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x41936c Code: Bad RIP value. RSP: 002b:00007faadd0bdce0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffe00 RBX: 0000000000000002 RCX: 000000000041936c RDX: 0000000000000400 RSI: 00007faadd0bde10 RDI: 00000000000000f1 RBP: 00007faadd0bde20 R08: 0000000000000000 R09: 00007faadd0be700 R10: 00007faadd0be9d0 R11: 0000000000000246 R12: 00007faadd0bde10 R13: 000600046003fd00 R14: 00007faadd0be300 R15: 0000000000802000 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 IPVS: ftp: loaded support on port[0] = 21 chnl_net:caif_netlink_parms(): no params data found bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered disabled state device bridge_slave_0 entered promiscuous mode bridge0: port 2(bridge_slave_1) entered blocking state bridge0: port 2(bridge_slave_1) entered disabled state device bridge_slave_1 entered promiscuous mode bond0: Enslaving bond_slave_0 as an active interface with an up link bond0: Enslaving bond_slave_1 as an active interface with an up link IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready team0: Port device team_slave_0 added IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready team0: Port device team_slave_1 added batman_adv: batadv0: Adding interface: batadv_slave_0 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. batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active batman_adv: batadv0: Adding interface: batadv_slave_1 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. batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready device hsr_slave_0 entered promiscuous mode device hsr_slave_1 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready bridge0: port 2(bridge_slave_1) entered blocking state bridge0: port 2(bridge_slave_1) entered forwarding state bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered forwarding state IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready 8021q: adding VLAN 0 to HW filter on device bond0 IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready bridge0: port 1(bridge_slave_0) entered disabled state bridge0: port 2(bridge_slave_1) entered disabled state IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready 8021q: adding VLAN 0 to HW filter on device team0 IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered forwarding state IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready bridge0: port 2(bridge_slave_1) entered blocking state bridge0: port 2(bridge_slave_1) entered forwarding state IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready 8021q: adding VLAN 0 to HW filter on device batadv0 IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready device veth0_vlan entered promiscuous mode device veth1_vlan entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready device veth0_macvtap entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready device veth1_macvtap entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: batadv0: Interface activated: batadv_slave_0 IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_1 IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready x_tables: ip6_tables: TCPMSS target: only valid for protocol 6 audit: type=1804 audit(1628753596.639:26): pid=12002 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir230568980/syzkaller.NTPuif/48/file0" dev="sda1" ino=14140 res=1 autofs4:pid:12009:autofs_fill_super: pipe file descriptor does not contain proper ops UDF-fs: bad mount option "q߫z=tURݸ堖V[-rJ}8B}hKlDiR{$Ju:KI\kĐtim:CHơ`*N20ܟj!DGf;" or missing value ptrace attach of "/root/syz-executor.3"[12007] was attempted by "/root/syz-executor.3"[12019] overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. autofs4:pid:12024:autofs_fill_super: pipe file descriptor does not contain proper ops overlayfs: './file0' not a directory overlayfs: 'file0' not a directory bond0: ipip0 ether type (768) is different from other slaves (1), can not enslave it overlayfs: upperdir is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection. FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) libceph: resolve 'd' (ret=-3): failed libceph: parse_ips bad ip '[d:' overlayfs: unrecognized mount option "lowerdc~9jIe0" or missing value BTRFS info (device loop5): enabling auto defrag BTRFS info (device loop5): disk space caching is enabled BTRFS info (device loop5): has skinny extents overlayfs: overlapping lowerdir path overlayfs: unrecognized mount option "lowerdc~9jIe0" or missing value overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.3'. BTRFS error (device loop5): open_ctree failed atomic_op 00000000f16e1927 conn xmit_atomic (null) netlink: 28 bytes leftover after parsing attributes in process `syz-executor.3'. xt_l2tp: invalid flags combination: 0 netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. PF_BRIDGE: br_mdb_parse() with invalid attr netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. PF_BRIDGE: br_mdb_parse() with invalid attr netlink: 20 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. overlayfs: unrecognized mount option "lqDowerdir=./bdir=./file0" or missing value overlayfs: unrecognized mount option "lqDowerdir=./bdir=./file0" or missing value netlink: 20 bytes leftover after parsing attributes in process `syz-executor.4'. nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. netlink: 16 bytes leftover after parsing attributes in process `syz-executor.4'. hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 audit: type=1804 audit(1628753600.189:27): pid=12328 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir350195302/syzkaller.jwbDFq/52/bus" dev="sda1" ino=14128 res=1 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 ceph: No mds server is up or the cluster is laggy libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 libceph: connect [d::]:6789 error -101 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 libceph: mon0 [d::]:6789 connect error hid-generic 007F:10000:0001.0001: unknown main item tag 0x0 hid-generic 007F:10000:0001.0001: hidraw0: HID vffffff.fe Device [syz0] on syz1 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 audit: type=1804 audit(1628753601.030:28): pid=12370 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir350195302/syzkaller.jwbDFq/52/bus" dev="sda1" ino=14128 res=1 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 libceph: connect [d::]:6789 error -101 libceph: mon0 [d::]:6789 connect error hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 libceph: connect [d::]:6789 error -101 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 libceph: mon0 [d::]:6789 connect error hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 ceph: No mds server is up or the cluster is laggy ceph: No mds server is up or the cluster is laggy libceph: connect [d::]:6789 error -101 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 libceph: mon0 [d::]:6789 connect error hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: unknown main item tag 0x0 hid-generic 007F:10000:0001.0002: hidraw0: HID vffffff.fe Device [syz0] on syz1