last executing test programs: 2m28.760638219s ago: executing program 1 (id=152): r0 = syz_usb_connect$cdc_ecm(0x0, 0x4d, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x0, 0x0, 0xffffffffffff8001, 0x1, [{{0x9, 0x2, 0x3b, 0x1, 0x1, 0x0, 0x0, 0x0, "", [{{0x9, 0x4, 0x0, 0x0, 0x12, 0x2, 0x6, 0x0, 0x0, {{0x5}, {0x5}, {0xd}}, {[], {{0x9, 0x5, 0x82, 0x2, 0x200}}, {{0x9, 0x5, 0x3, 0x2, 0x200}}}}}]}}]}}, &(0x7f0000001400)={0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ecm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ecm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ecm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) syz_usb_ep_write(r0, 0x82, 0x5, &(0x7f0000002340)='hello') r1 = syz_open_dev$usbfs(&(0x7f0000000000), 0xb, 0x0) ioctl$USBDEVFS_CONTROL(r1, 0xc0185500, &(0x7f0000000100)={0x23, 0x3, 0x17, 0x1, 0x0, 0x3e8, 0x0}) 2m12.281786903s ago: executing program 0 (id=153): mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./proc\x00', 0x1ff) mount(&(0x7f0000000040)=@filename='none\x00', &(0x7f0000000000)='./proc\x00', &(0x7f0000000080)='proc\x00', 0x0, 0x0) mount(&(0x7f0000000040)=@filename='none\x00', &(0x7f00000000c0)='./debug\x00', &(0x7f0000000100)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000280)='./debug/failslab/probability\x00', 0x1, 0x0) close(r0) ioctl$KVM_CREATE_GUEST_MEMFD(0xffffffffffffffff, 0x4008ae34, &(0x7f0000000380)={0x1000}) 2m2.381755222s ago: executing program 1 (id=154): mkdirat(0xffffffffffffff9c, &(0x7f0000000a00)='./proc\x00', 0x1ff) mount(0x0, &(0x7f0000000a00)='./proc\x00', &(0x7f0000000b00)='proc\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./proc/dynamic_debug/control\x00', 0x1, 0x0) write(r0, &(0x7f0000000100), 0x0) 1m49.03915885s ago: executing program 0 (id=155): r0 = syz_usb_connect$uac3(0x3, 0xc6, &(0x7f0000000000)={{0x12, 0x1, 0x200, 0x0, 0x0, 0x0, 0x40, 0x582, 0x582, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x5c, 0x1, 0x1, 0x1, 0xc0, 0x10, {0x8, 0xb, 0x0, 0x3, 0x1, 0x1}, {{{0x9, 0x4, 0x0, 0x0, 0x0, 0x1, 0x1, 0x30, 0x0, {{0xa, 0x24, 0x1, 0x1, 0x20}, [@input_terminal={0x14, 0x24, 0x2, 0x1, 0x1, 0x1, 0x1, 0x0, 0x1}, @power_domain={0xa, 0x24, 0x13, 0x1, 0x0, 0x0, 0x1, "01"}]}}, {}, {0x9, 0x4, 0x1, 0x1, 0x1, 0x1, 0x2, 0x30, 0x0, {[@as_header={0x18, 0x24, 0x1, 0x1, 0x0, 0x1, 0x1, 0x2, 0x18, 0x0, 0x1}]}, {{0x7, 0x5, 0x1, 0x5, 0xc0, 0x1, 0x0, 0x0, {0x8, 0x25, 0x1}}}}, {}, {0x9, 0x4, 0x2, 0x1, 0x1, 0x1, 0x2, 0x30, 0x0, {[@as_header={0x18, 0x24, 0x1, 0x1, 0x0, 0x1, 0x1, 0x2, 0x18, 0x0, 0x1}]}, {{0x7, 0x5, 0x82, 0x5, 0xc0, 0x1, 0x0, 0x0, {0x8, 0x25, 0x1}}}}}}}}]}}, &(0x7f0000000500)={0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$uac3(r0, 0x0, &(0x7f0000000100)={0x44, &(0x7f0000000200)=ANY=[@ANYBLOB="20002000000000000200"/40], 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) nanosleep(&(0x7f0000000300)={0x0, 0x5f5e100}, 0x0) 1m42.360529561s ago: executing program 1 (id=156): mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000000)='./config\x00', &(0x7f0000000040)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./config/usb_gadget/g1\x00', 0x1ff) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./config/usb_gadget/g1/idVendor\x00', 0x1, 0x0) write(r0, &(0x7f0000000140)='0x0525\x00', 0x7) close(r0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./config/usb_gadget/g1/idProduct\x00', 0x1, 0x0) write(r1, &(0x7f00000001c0)='0xa4a7\x00', 0x7) close(r1) mkdirat(0xffffffffffffff9c, &(0x7f0000000500)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ff) symlinkat(&(0x7f0000000600)='./config/usb_gadget/g1/functions/acm.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000680)='./config/usb_gadget/g1/configs/c.1/acm.usb0\x00') openat(0xffffffffffffff9c, &(0x7f0000000700)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) nanosleep(&(0x7f0000000800)={0x0, 0x1dcd6500}, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000900)='./dev\x00', 0x1ff) mount(0x0, &(0x7f0000000900)='./dev\x00', &(0x7f0000000940)='devtmpfs\x00', 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000980)='./dev/ttyGS0\x00', 0x2, 0x0) nanosleep(&(0x7f0000000800)={0x0, 0x1dcd6500}, 0x0) write(r2, &(0x7f0000000a00)='test\x00', 0x5) close(r2) 1m19.94786535s ago: executing program 0 (id=157): r0 = syz_usb_connect(0x3, 0x40, &(0x7f0000000000)=ANY=[@ANYBLOB="1201000200000040720501cb00010000000109022e0001010080fa0904000004ff00000007050102000200070581020002000705020200020007058202000200"], 0x0) syz_usb_ep_read(r0, 0x1, 0x40, &(0x7f0000000200)) syz_usb_ep_write(r0, 0x81, 0x40, &(0x7f0000000100)="900100"/64) (async) syz_usb_ep_read(r0, 0x1, 0x40, &(0x7f0000000400)) syz_usb_ep_write(r0, 0x81, 0x40, &(0x7f0000000300)="91010000000300"/64) (async) syz_usb_ep_read(r0, 0x1, 0x40, &(0x7f0000000600)) syz_usb_ep_write(r0, 0x81, 0x40, &(0x7f0000000500)="840100"/64) (async) syz_usb_ep_read(r0, 0x1, 0x40, &(0x7f0000000800)) syz_usb_ep_write(r0, 0x81, 0x40, &(0x7f0000000700)="88010000010000001400"/64) (async) syz_usb_ep_write(r0, 0x81, 0x40, &(0x7f0000000900)="880100"/64) (async) syz_usb_ep_write(r0, 0x81, 0x40, &(0x7f0000000a00)="880100"/64) (async) syz_usb_ep_write(r0, 0x81, 0x40, &(0x7f0000000b00)="880100"/64) (async) nanosleep(&(0x7f0000000c00)={0x5}, 0x0) 1m12.073182527s ago: executing program 1 (id=158): r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da07000000000001090224000101000000090400000103000000092100000001222200090581030800000000"], 0x0) syz_usb_control_io$hid(r0, 0x0, 0x0) syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "2313"}, @global=@item_012={0x2, 0x1, 0x0, "e53f"}, @global=@item_4={0x3, 0x1, 0x0, '\f\x00'}, @local=@item_012={0x2, 0x2, 0x2, "9000"}, @global=@item_4={0x3, 0x1, 0x0, "0900be00"}, @main=@item_4={0x3, 0x0, 0x8}, @local=@item_4={0x3, 0x2, 0x0, "09007a15"}, @local=@item_4={0x3, 0x2, 0x0, "5d8c3dda"}]}}, 0x0}, 0x0) nanosleep(&(0x7f0000000300)={0x1}, 0x0) r1 = syz_open_dev$hidraw(&(0x7f00000000c0), 0x1, 0x2) write$hidraw(r1, &(0x7f0000000200)="0011223344556677", 0x8) 40.67934201s ago: executing program 0 (id=159): mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./proc\x00', 0x1ff) mount(&(0x7f0000000040)=@filename='none\x00', &(0x7f0000000000)='./proc\x00', &(0x7f0000000080)='proc\x00', 0x0, 0x0) mount(&(0x7f0000000040)=@filename='none\x00', &(0x7f00000000c0)='./debug\x00', &(0x7f0000000100)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000280)='./debug/failslab/probability\x00', 0x1, 0x0) close(r0) ioctl$KVM_CREATE_GUEST_MEMFD(0xffffffffffffffff, 0x4008ae34, &(0x7f0000000380)={0x1000}) 38.719880806s ago: executing program 1 (id=160): mkdirat(0xffffffffffffff9c, &(0x7f0000000a00)='./proc\x00', 0x1ff) mount(0x0, &(0x7f0000000a00)='./proc\x00', &(0x7f0000000b00)='proc\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000000)='./proc/dynamic_debug/control\x00', 0x1, 0x0) write(r0, &(0x7f0000000100), 0x0) 22.510700806s ago: executing program 0 (id=161): mkdirat(0xffffffffffffff9c, &(0x7f0000000140)='./dev_mnt\x00', 0x1ff) mount(&(0x7f0000000180)=@filename='none\x00', &(0x7f00000001c0)='./dev_mnt\x00', &(0x7f0000000200)='devtmpfs\x00', 0x0, 0x0) r0 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000240), 0x2, 0x0) ioctl$LOOP_CTL_ADD(r0, 0x4c80, 0x1) ioctl$LOOP_CTL_ADD(r0, 0x4c80, 0x2) r1 = openat(0xffffffffffffff9c, &(0x7f0000000280)='./file0\x00', 0x42, 0x1b6) ftruncate(r1, 0x1000000) r2 = syz_open_dev$loop(&(0x7f00000002c0), 0x0, 0x2) ioctl$LOOP_SET_FD(r2, 0x4c00, r1) r3 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./file1\x00', 0x42, 0x1b6) ftruncate(r3, 0x1000000) r4 = syz_open_dev$loop(&(0x7f0000000340), 0x1, 0x2) ioctl$LOOP_SET_FD(r4, 0x4c00, r3) r5 = openat(0xffffffffffffff9c, &(0x7f0000000380)='./file2\x00', 0x42, 0x1b6) ftruncate(r5, 0x1000000) r6 = syz_open_dev$loop(&(0x7f00000003c0), 0x2, 0x2) ioctl$LOOP_SET_FD(r6, 0x4c00, r5) r7 = openat(0xffffffffffffff9c, &(0x7f0000000400)='./dev_mnt/mapper/control\x00', 0x2, 0x0) ioctl(r7, 0xc138fd03, &(0x7f0000000000)="04000000000000000000000038010000380100000000000000000000000000000000000000000000000000006d795f636163686500"/308) ioctl(r7, 0xc138fd09, &(0x7f0000010000)="04000000000000000000000090010000380100000100000000000000000000000000000000000000000000006d795f636163686500"/1365) ioctl(r7, 0xc138fd06, &(0x7f0000030000)="04000000000000000000000038010000380100000000000000000000020000000000000000000000000000006d795f636163686500"/308) ioctl(r7, 0xc138fd06, &(0x7f0000040000)="04000000000000000000000038010000380100000000000000000000000000000000000000000000000000006d795f636163686500"/307) 15.174988095s ago: executing program 1 (id=162): mkdirat(0xffffffffffffff9c, &(0x7f0000000080)='./my_configfs\x00', 0x1ff) mount(0x0, &(0x7f00000000c0)='./my_configfs\x00', &(0x7f0000000100)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000140)='./my_configfs/usb_gadget/g1\x00', 0x1ff) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./my_configfs/usb_gadget/g1/idVendor\x00', 0x1, 0x0) write(r0, &(0x7f00000001c0)='0x0525\x00', 0x7) close(r0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000200)='./my_configfs/usb_gadget/g1/idProduct\x00', 0x1, 0x0) write(r1, &(0x7f0000000240)='0xa4a5\x00', 0x7) close(r1) mkdirat(0xffffffffffffff9c, &(0x7f0000000280)='./my_configfs/usb_gadget/g1/functions/tcm.usb0\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f00000002c0)='./my_configfs/target/usb_gadget\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./my_configfs/target/usb_gadget/naa.1234567890abcdef\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./my_configfs/target/usb_gadget/naa.1234567890abcdef/tpgt_1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000380)='./my_configfs/target/core/rd_mcp_0\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f00000003c0)='./my_configfs/target/core/rd_mcp_0/dev0\x00', 0x1ff) r2 = openat(0xffffffffffffff9c, &(0x7f0000000400)='./my_configfs/target/core/rd_mcp_0/dev0/control\x00', 0x1, 0x0) write(r2, &(0x7f0000000440)='rd_pages=8\x00', 0xb) close(r2) r3 = openat(0xffffffffffffff9c, &(0x7f0000000480)='./my_configfs/target/core/rd_mcp_0/dev0/enable\x00', 0x1, 0x0) write(r3, &(0x7f00000004c0)='1\x00', 0x2) close(r3) mkdirat(0xffffffffffffff9c, &(0x7f0000000500)='./my_configfs/target/usb_gadget/naa.1234567890abcdef/tpgt_1/lun/lun_0\x00', 0x1ff) r4 = openat(0xffffffffffffff9c, &(0x7f0000000640)='./my_configfs/target/usb_gadget/naa.1234567890abcdef/tpgt_1/enable\x00', 0x1, 0x0) write(r4, &(0x7f00000006c0)='1\x00', 0x2) close(r4) mkdirat(0xffffffffffffff9c, &(0x7f0000000700)='./my_configfs/usb_gadget/g1/configs/c.1\x00', 0x1ff) symlinkat(&(0x7f0000000740)='./my_configfs/usb_gadget/g1/functions/tcm.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000780)='./my_configfs/usb_gadget/g1/configs/c.1/tcm.usb0\x00') r5 = openat(0xffffffffffffff9c, &(0x7f00000007c0)='./my_configfs/usb_gadget/g1/UDC\x00', 0x1, 0x0) write(r5, &(0x7f0000000800)='dummy_udc.0\x00', 0xc) close(r5) nanosleep(&(0x7f0000000840)={0x0, 0x5f5e100}, 0x0) 0s ago: executing program 0 (id=163): mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ed) write(0xffffffffffffffff, &(0x7f0000000500)='0000:00:01.0\x00', 0xd) r0 = openat(0xffffffffffffff9c, &(0x7f0000000600)='./sys/bus/pci/drivers/cirrus-qemu/new_id\x00', 0x1, 0x0) write(r0, &(0x7f0000000700)='8086 293e\x00', 0xa) openat(0xffffffffffffff9c, &(0x7f0000000800)='./sys/bus/pci/devices/0000:00:01.0/driver_override\x00', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000a00)='./sys/bus/pci/drivers_probe\x00', 0x1, 0x0) kernel console output (not intermixed with test programs): Warning: Permanently added '[localhost]:9617' (ED25519) to the list of known hosts. syzkaller login: [ 570.546591][ T3209] cgroup: Unknown subsys name 'net' [ 571.199040][ T3209] cgroup: Unknown subsys name 'cpuset' [ 571.354295][ T3209] cgroup: Unknown subsys name 'rlimit' Setting up swapspace version 1, size = 127995904 bytes [ 652.498695][ T3209] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 839.952329][ T3221] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 840.577276][ T3221] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 840.711047][ T3222] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 841.566381][ T3222] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 856.836553][ T3221] hsr_slave_0: entered promiscuous mode [ 856.985209][ T3221] hsr_slave_1: entered promiscuous mode [ 860.429271][ T3222] hsr_slave_0: entered promiscuous mode [ 860.458928][ T3222] hsr_slave_1: entered promiscuous mode [ 860.481154][ T3222] debugfs: 'hsr0' already exists in 'hsr' [ 860.484311][ T3222] Cannot create hsr debugfs directory [ 872.023028][ T3221] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 872.365492][ T3221] 8021q: adding VLAN 0 to HW filter on device netdevsim0 [ 872.495925][ T3221] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 873.145448][ T3221] 8021q: adding VLAN 0 to HW filter on device netdevsim1 [ 873.221485][ T3221] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 873.401702][ T3221] 8021q: adding VLAN 0 to HW filter on device netdevsim2 [ 873.900187][ T3221] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 874.191872][ T3221] 8021q: adding VLAN 0 to HW filter on device netdevsim3 [ 876.816176][ T3222] netdevsim netdevsim1 netdevsim0: renamed from eth0 [ 876.907569][ T3222] 8021q: adding VLAN 0 to HW filter on device netdevsim0 [ 876.980630][ T3222] netdevsim netdevsim1 netdevsim1: renamed from eth1 [ 877.194812][ T3222] 8021q: adding VLAN 0 to HW filter on device netdevsim1 [ 877.288921][ T3222] netdevsim netdevsim1 netdevsim2: renamed from eth2 [ 877.457976][ T3222] 8021q: adding VLAN 0 to HW filter on device netdevsim2 [ 877.934050][ T3222] netdevsim netdevsim1 netdevsim3: renamed from eth3 [ 878.226318][ T3222] 8021q: adding VLAN 0 to HW filter on device netdevsim3 [ 901.655647][ T3222] 8021q: adding VLAN 0 to HW filter on device bond0 [ 905.303831][ T3221] 8021q: adding VLAN 0 to HW filter on device bond0 [ 974.248400][ T3222] veth0_vlan: entered promiscuous mode [ 975.193453][ T3222] veth1_vlan: entered promiscuous mode [ 978.782940][ T3222] veth0_macvtap: entered promiscuous mode [ 979.356110][ T3222] veth1_macvtap: entered promiscuous mode [ 981.440591][ T3221] veth0_vlan: entered promiscuous mode [ 982.278452][ T3364] netdevsim netdevsim1 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 982.670843][ T3364] netdevsim netdevsim1 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 982.690515][ T3788] netdevsim netdevsim1 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 982.912968][ T3364] netdevsim netdevsim1 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 983.124379][ T3221] veth1_vlan: entered promiscuous mode [ 988.642189][ T3221] veth0_macvtap: entered promiscuous mode [ 989.705619][ T3221] veth1_macvtap: entered promiscuous mode [ 993.601429][ T3222] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [ 995.926545][ T13] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 995.952736][ T13] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 996.044006][ T3788] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 996.552058][ T13] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 1033.741622][ T3844] loop1: detected capacity change from 0 to 32768 [ 1034.611990][ T3844] loop2: detected capacity change from 0 to 32768 [ 1035.681711][ T3844] device-mapper: table: 248:0: zero-length target [ 1035.683705][ T3844] device-mapper: ioctl: error adding target to table [ 1045.429705][ T3742] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 1045.769514][ T3742] usb 1-1: device descriptor read/64, error -71 [ 1046.206085][ T3742] usb 1-1: new high-speed USB device number 3 using dummy_hcd [ 1046.820467][ T3742] usb 1-1: device descriptor read/64, error -71 [ 1046.940766][ T3742] usb usb1-port1: attempt power cycle [ 1047.709141][ T3742] usb 1-1: new high-speed USB device number 4 using dummy_hcd [ 1048.229405][ T3742] usb 1-1: device descriptor read/8, error -71 [ 1048.663628][ T3836] usb 2-1: new high-speed USB device number 2 using dummy_hcd [ 1049.264255][ T3742] usb 1-1: new high-speed USB device number 5 using dummy_hcd [ 1049.468362][ T3742] usb 1-1: device descriptor read/8, error -71 [ 1049.649777][ T3742] usb usb1-port1: unable to enumerate USB device [ 1050.734789][ T3836] usb 2-1: New USB device found, idVendor=0572, idProduct=cafe, bcdDevice= 0.00 [ 1050.743378][ T3836] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1066.431023][ T3836] usb 2-1: USB disconnect, device number 2 [ 1076.225721][ T3886] loop1: detected capacity change from 0 to 32768 [ 1079.646169][ T3892] device-mapper: table: 248:0: zero-length target [ 1079.654727][ T3892] device-mapper: ioctl: error adding target to table [ 1087.391176][ T3832] usb 1-1: new high-speed USB device number 6 using dummy_hcd [ 1087.791070][ T3832] usb 1-1: Using ep0 maxpacket: 8 [ 1090.743388][ T3832] usb 1-1: config 0 has an invalid interface number: 143 but max is 0 [ 1090.745837][ T3832] usb 1-1: config 0 has no interface number 0 [ 1090.750581][ T3832] usb 1-1: New USB device found, idVendor=2058, idProduct=1005, bcdDevice=c1.9b [ 1090.752609][ T3832] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1091.495972][ T3832] usb 1-1: config 0 descriptor?? [ 1092.364255][ T3832] viperboard 1-1:0.143: version 0.00 found at bus 001 address 006 [ 1094.553321][ T3832] viperboard-i2c viperboard-i2c.1.auto: error -EIO: failure setting i2c_bus_freq to 100 [ 1094.569348][ T3832] viperboard-i2c viperboard-i2c.1.auto: probe with driver viperboard-i2c failed with error -5 [ 1095.524897][ T3832] usb 1-1: USB disconnect, device number 6 [ 1106.034332][ T3211] usb 1-1: new high-speed USB device number 7 using dummy_hcd [ 1106.332155][ T3211] usb 1-1: Using ep0 maxpacket: 8 [ 1106.580864][ T3211] usb 1-1: config 0 has an invalid interface number: 143 but max is 0 [ 1106.585715][ T3211] usb 1-1: config 0 has no interface number 0 [ 1106.600659][ T3211] usb 1-1: New USB device found, idVendor=2058, idProduct=1005, bcdDevice=c1.9b [ 1106.618486][ T3211] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1106.783583][ T3211] usb 1-1: config 0 descriptor?? [ 1107.069686][ T3211] viperboard 1-1:0.143: version 0.00 found at bus 001 address 007 [ 1107.832811][ T3211] viperboard-i2c viperboard-i2c.1.auto: error -EIO: failure setting i2c_bus_freq to 100 [ 1107.838833][ T3211] viperboard-i2c viperboard-i2c.1.auto: probe with driver viperboard-i2c failed with error -5 [ 1109.050488][ T3742] usb 2-1: new high-speed USB device number 3 using dummy_hcd [ 1109.338965][ T3742] usb 2-1: Using ep0 maxpacket: 8 [ 1109.492342][ T3742] usb 2-1: config 0 has an invalid interface number: 143 but max is 0 [ 1109.493776][ T3742] usb 2-1: config 0 has no interface number 0 [ 1109.495270][ T3742] usb 2-1: New USB device found, idVendor=2058, idProduct=1005, bcdDevice=c1.9b [ 1109.503512][ T3742] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1109.639703][ T3211] usb 1-1: USB disconnect, device number 7 [ 1110.100777][ T3742] usb 2-1: config 0 descriptor?? [ 1110.655261][ T3742] viperboard 2-1:0.143: version 0.00 found at bus 002 address 003 [ 1111.809483][ T3742] viperboard-i2c viperboard-i2c.2.auto: error -EIO: failure setting i2c_bus_freq to 100 [ 1111.825284][ T3742] viperboard-i2c viperboard-i2c.2.auto: probe with driver viperboard-i2c failed with error -5 [ 1113.421052][ T3834] usb 2-1: USB disconnect, device number 3 [ 1117.379601][ T3211] usb 1-1: new high-speed USB device number 8 using dummy_hcd [ 1118.994034][ T3211] usb 1-1: config index 0 descriptor too short (expected 32, got 18) [ 1119.004724][ T3211] usb 1-1: config 1 interface 0 altsetting 0 has 0 endpoint descriptors, different from the interface descriptor's value: 2 [ 1119.912515][ T3211] usb 1-1: New USB device found, idVendor=04e6, idProduct=0005, bcdDevice= 1.00 [ 1119.917931][ T3211] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1119.922281][ T3211] usb 1-1: Product: syz [ 1119.923797][ T3211] usb 1-1: Manufacturer: syz [ 1119.925213][ T3211] usb 1-1: SerialNumber: syz [ 1125.084073][ T3211] usb 1-1: can't set config #1, error -71 [ 1126.234081][ T3211] usb 1-1: USB disconnect, device number 8 [ 1135.849800][ T4019] loop1: detected capacity change from 0 to 32768 [ 1137.784615][ T4026] device-mapper: table: 248:0: zero-length target [ 1137.818257][ T4026] device-mapper: ioctl: error adding target to table [ 1159.859076][ T3832] usb 2-1: new high-speed USB device number 4 using dummy_hcd [ 1160.403831][ T3832] usb 2-1: New USB device found, idVendor=12d8, idProduct=0001, bcdDevice= 1.00 [ 1160.405752][ T3832] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1160.420649][ T3832] usb 2-1: Product: syz [ 1160.443132][ T3832] usb 2-1: Manufacturer: syz [ 1160.444740][ T3832] usb 2-1: SerialNumber: syz [ 1166.394377][ T4051] loop1: detected capacity change from 0 to 32768 [ 1167.501460][ T4051] device-mapper: table: 248:0: zero-length target [ 1167.502611][ T4051] device-mapper: ioctl: error adding target to table [ 1168.338643][ T3836] usb 2-1: USB disconnect, device number 4 [ 1205.673581][ T3211] usb 2-1: new high-speed USB device number 5 using dummy_hcd [ 1207.164435][ T3211] usb 2-1: New USB device found, idVendor=0402, idProduct=5602, bcdDevice= 0.00 [ 1207.175450][ T3211] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1220.106145][ T3862] usb 2-1: USB disconnect, device number 5 [ 1257.313868][ T4116] Need at least one configuration in g1. [ 1257.414329][ T4116] udc dummy_udc.0: failed to start g1: -22 [ 1257.423516][ T4116] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -22 [ 1257.886228][ T4116] UDC core: g1: couldn't find an available UDC or it's busy [ 1266.013289][ T3211] usb 2-1: new high-speed USB device number 6 using dummy_hcd [ 1266.753191][ T3211] usb 2-1: New USB device found, idVendor=0bda, idProduct=2832, bcdDevice= 1.00 [ 1266.754567][ T3211] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1281.493265][ T3211] usb 2-1: USB disconnect, device number 6 [ 1282.195937][ T4139] Need at least one configuration in g1. [ 1282.227972][ T4139] udc dummy_udc.0: failed to start g1: -22 [ 1282.250682][ T4139] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -22 [ 1282.511591][ T4139] UDC core: g1: couldn't find an available UDC or it's busy [ 1290.959968][ T4152] dlm: Unknown command passed to DLM device : 0 [ 1290.959968][ T4152] [ 1313.605779][ T3211] usb 2-1: new high-speed USB device number 7 using dummy_hcd [ 1317.281370][ T3211] usb 2-1: New USB device found, idVendor=2040, idProduct=c200, bcdDevice= 1.00 [ 1317.283656][ T3211] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1317.285496][ T3211] usb 2-1: Product: syz [ 1317.293006][ T3211] usb 2-1: Manufacturer: syz [ 1317.306497][ T3211] usb 2-1: SerialNumber: syz [ 1322.436407][ T4171] Need at least one configuration in g1. [ 1322.571612][ T4171] udc dummy_udc.0: failed to start g1: -22 [ 1322.593065][ T4171] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -22 [ 1323.002993][ T4171] UDC core: g1: couldn't find an available UDC or it's busy [ 1323.047574][ T3211] usb 2-1: USB disconnect, device number 7 [ 1342.582825][ T4197] Need at least one configuration in g1. [ 1342.585465][ T4197] udc dummy_udc.0: failed to start g1: -22 [ 1342.596293][ T4197] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -22 [ 1342.714170][ T4197] UDC core: g1: couldn't find an available UDC or it's busy [ 1343.803856][ T4195] [drm] Initialized cirrus-qemu 2.0.0 for 0000:00:01.0 on minor 2 [ 1346.051126][ T4195] cirrus-qemu 0000:00:01.0: [drm] fb1: cirrus-qemudrmf frame buffer device [ 1354.956107][ T9] usb 1-1: new high-speed USB device number 9 using dummy_hcd [ 1357.269496][ T4213] UDC core: g1: couldn't find an available UDC or it's busy [ 1357.754209][ T9] usb 1-1: New USB device found, idVendor=0525, idProduct=a4a0, bcdDevice= 0.00 [ 1357.774911][ T9] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1357.791051][ T9] usb 1-1: Product: syz [ 1357.800608][ T9] usb 1-1: Manufacturer: syz [ 1359.613375][ T9] usbtest 1-1:1.0: Linux gadget zero [ 1359.616218][ T9] usbtest 1-1:1.0: high-speed {control in/out bulk-in bulk-out} tests (+alt) [ 1364.214180][ T816] usb 1-1: USB disconnect, device number 9 [ 1377.636170][ T10] usb 2-1: new high-speed USB device number 8 using dummy_hcd [ 1379.526416][ T10] usb 2-1: New USB device found, idVendor=2c42, idProduct=1709, bcdDevice= 1.00 [ 1379.541836][ T10] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1380.785945][ T4243] Need at least one configuration in g1. [ 1380.856100][ T4243] udc dummy_udc.0: failed to start g1: -22 [ 1380.867451][ T4243] configfs-gadget.g1 gadget.0: probe with driver configfs-gadget.g1 failed with error -22 [ 1380.938009][ T4243] UDC core: g1: couldn't find an available UDC or it's busy [ 1382.553315][ T10] usb 2-1: f81604_read: reg: 105 failed: -ETIMEDOUT [ 1382.559873][ T10] f81604 2-1:1.0: Setting termination of CH#0 failed: -ETIMEDOUT [ 1382.564494][ T10] f81604 2-1:1.0: probe with driver f81604 failed with error -110 [ 1393.880049][ T4063] usb 2-1: USB disconnect, device number 8 [ 1413.652824][ T4063] usb 1-1: new high-speed USB device number 10 using dummy_hcd [ 1414.462703][ T4063] usb 1-1: Dual-Role OTG device on HNP port [ 1414.530294][ T4063] usb 1-1: New USB device found, idVendor=0525, idProduct=a4a7, bcdDevice= 7.02 [ 1414.562951][ T4063] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1418.221537][ T4063] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [ 1469.930021][ T4316] UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy [ 1470.096602][ T4316] misc raw-gadget: fail, usb_gadget_register_driver returned -16 [ 1509.991378][ T4173] usb 2-1: new full-speed USB device number 9 using dummy_hcd [ 1510.671055][ T4173] usb 2-1: not running at top speed; connect to a high speed hub [ 1511.814778][ T4173] usb 2-1: config 1 interface 0 altsetting 0 endpoint 0x8E has invalid maxpacket 512, setting to 64 [ 1511.822949][ T4173] usb 2-1: config 1 interface 0 altsetting 0 endpoint 0xE has invalid maxpacket 512, setting to 64 [ 1511.839634][ T4173] usb 2-1: config 1 interface 0 altsetting 0 endpoint 0x1 has invalid maxpacket 512, setting to 64 [ 1511.849976][ T4173] usb 2-1: config 1 interface 0 altsetting 0 endpoint 0x3 has invalid maxpacket 512, setting to 64 [ 1511.868267][ T4173] usb 2-1: config 1 interface 0 altsetting 0 endpoint 0x8D has invalid maxpacket 512, setting to 64 [ 1511.890999][ T4173] usb 2-1: config 1 interface 0 altsetting 0 endpoint 0xD has invalid maxpacket 512, setting to 64 [ 1513.329621][ T4173] usb 2-1: New USB device found, idVendor=0711, idProduct=0550, bcdDevice= 1.00 [ 1513.332282][ T4173] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1513.334611][ T4173] usb 2-1: Product: syz [ 1513.336209][ T4173] usb 2-1: Manufacturer: syz [ 1513.362802][ T4173] usb 2-1: SerialNumber: syz [ 1514.020530][ T4337] raw-gadget.0 gadget.1: fail, usb_ep_enable returned -22 [ 1514.041562][ T4337] raw-gadget.0 gadget.1: fail, usb_ep_enable returned -22 [ 1514.056975][ T4337] raw-gadget.0 gadget.1: fail, usb_ep_enable returned -22 [ 1514.633765][ T4337] raw-gadget.0 gadget.1: fail, usb_ep_enable returned -22 [ 1514.682577][ T4337] raw-gadget.0 gadget.1: fail, usb_ep_enable returned -22 [ 1514.722888][ T4337] raw-gadget.0 gadget.1: fail, usb_ep_enable returned -22 [ 1515.201967][ T4173] usb 2-1: USB2VGA dongle found at address 9 [ 1515.596590][ T4173] usb 2-1: Allocated 8 output buffers [ 1515.615026][ T4173] usb 2-1: Not attached to USB 2.0 hub, deferring init [ 1518.618004][ T9] usb 2-1: USB disconnect, device number 9 [ 1545.540916][ T4367] console message t [ 1554.086237][ T3835] usb 2-1: new high-speed USB device number 10 using dummy_hcd [ 1555.465483][ T4376] UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy [ 1556.018727][ T4376] misc raw-gadget: fail, usb_gadget_register_driver returned -16 [ 1556.389606][ T3835] usb 2-1: New USB device found, idVendor=1234, idProduct=5678, bcdDevice= 1.00 [ 1556.404239][ T3835] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1556.433848][ T3835] usb 2-1: Product: syz [ 1556.464811][ T3835] usb 2-1: Manufacturer: syz [ 1556.485673][ T3835] usb 2-1: SerialNumber: syz [ 1558.433918][ T3835] input: syz syz as /devices/platform/dummy_hcd.1/usb2/2-1/2-1:1.0/input/input0 [ 1574.174051][ T816] usb 2-1: USB disconnect, device number 10 [ 1727.759989][ T3835] usb 2-1: new high-speed USB device number 11 using dummy_hcd [ 1728.173684][ T3835] usb 2-1: device descriptor read/64, error -71 [ 1728.624039][ T3835] usb 2-1: new high-speed USB device number 12 using dummy_hcd [ 1730.030174][ T3835] usb 2-1: device descriptor read/64, error -71 [ 1730.220900][ T3835] usb usb2-port1: attempt power cycle [ 1730.901359][ T3835] usb 2-1: new high-speed USB device number 13 using dummy_hcd [ 1731.033189][ T3835] usb 2-1: device descriptor read/8, error -71 [ 1731.440880][ T3835] usb 2-1: new high-speed USB device number 14 using dummy_hcd [ 1731.576176][ T3835] usb 2-1: device descriptor read/8, error -71 [ 1731.770426][ T3835] usb usb2-port1: unable to enumerate USB device [ 1830.689495][ T4348] usb 2-1: new high-speed USB device number 15 using dummy_hcd [ 1831.214993][ T4348] usb 2-1: Using ep0 maxpacket: 32 [ 1832.651047][ T4348] usb 2-1: config 0 interface 0 altsetting 0 endpoint 0x1 has invalid wMaxPacketSize 0 [ 1832.655252][ T4348] usb 2-1: config 0 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 0 [ 1832.750387][ T4348] usb 2-1: config 0 interface 0 altsetting 0 endpoint 0x82 has invalid wMaxPacketSize 0 [ 1832.783703][ T4348] usb 2-1: config 0 interface 0 altsetting 0 bulk endpoint 0x82 has invalid maxpacket 0 [ 1832.786130][ T4348] usb 2-1: config 0 interface 0 altsetting 0 has 2 endpoint descriptors, different from the interface descriptor's value: 18 [ 1832.853462][ T4348] usb 2-1: New USB device found, idVendor=03f0, idProduct=6c17, bcdDevice= 0.40 [ 1832.903545][ T4348] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1833.873845][ T4348] usb 2-1: config 0 descriptor?? [ 1840.689865][ T4348] usblp 2-1:0.0: usblp0: USB Unidirectional printer dev 15 if 0 alt 0 proto 1 vid 0x03F0 pid 0x6C17 [ 1845.995373][ T4348] usb 2-1: USB disconnect, device number 15 [ 1847.738022][ T4348] usblp0: removed [ 1885.886371][ T3835] usb 2-1: new full-speed USB device number 16 using dummy_hcd [ 1892.253432][ T3835] usb 2-1: unable to read config index 0 descriptor/start: -32 [ 1892.275909][ T3835] usb 2-1: chopping to 0 config(s) [ 1892.323297][ T3835] usb 2-1: can't read configurations, error -32 [ 1893.120966][ T3835] usb 2-1: new full-speed USB device number 17 using dummy_hcd [ 1893.463778][ T3835] usb 2-1: device descriptor read/64, error -32 [ 1893.673470][ T3835] usb usb2-port1: attempt power cycle [ 1894.742238][ T3835] usb 2-1: new full-speed USB device number 18 using dummy_hcd [ 1894.872572][ T3835] usb 2-1: device descriptor read/8, error -32 [ 1895.434552][ T3835] usb 2-1: new full-speed USB device number 19 using dummy_hcd [ 1895.543127][ T3835] usb 2-1: device descriptor read/8, error -32 [ 1895.793229][ T3835] usb usb2-port1: unable to enumerate USB device [ 2037.373755][ T4588] usb 2-1: new high-speed USB device number 20 using dummy_hcd [ 2040.499326][ T4588] usb 2-1: New USB device found, idVendor=3344, idProduct=1122, bcdDevice= 1.00 [ 2040.503734][ T4588] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2040.528606][ T4588] usb 2-1: Product: G [ 2040.555774][ T4588] usb 2-1: Manufacturer: 祳z [ 2040.571514][ T4588] usb 2-1: SerialNumber: syz [ 2046.980363][ T4588] usb 2-1: can't set config #1, error -110 [ 2049.842674][ T3868] usb 2-1: USB disconnect, device number 20 [ 2061.463581][ T4599] usb 2-1: new high-speed USB device number 21 using dummy_hcd [ 2063.794295][ T4613] UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy [ 2064.859559][ T4613] misc raw-gadget: fail, usb_gadget_register_driver returned -16 [ 2065.595712][ T4599] usb 2-1: New USB device found, idVendor=086a, idProduct=0100, bcdDevice= 0.01 [ 2065.611738][ T4599] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2068.540812][ T4599] emi26 - firmware loader 2-1:1.0: emi26_probe start [ 2068.895167][ T4599] usb 2-1: Direct firmware load for emi26/loader.fw failed with error -2 [ 2068.925153][ T4599] usb 2-1: Falling back to sysfs fallback for: emi26/loader.fw [ 2132.210005][ T4634] UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy [ 2132.631818][ T4634] misc raw-gadget: fail, usb_gadget_register_driver returned -16 [ 2134.821677][ T4599] usb 2-1: emi26_load_firmware - request_firmware() failed [ 2134.838717][ T4599] usb 2-1: emi26_load_firmware - error loading firmware: error = -110 [ 2134.844636][ T4599] emi26 - firmware loader 2-1:1.0: probe with driver emi26 - firmware loader failed with error -5 [ 2135.993791][ T4599] usb 2-1: USB disconnect, device number 21 [ 2147.510261][ T3862] usb 2-1: new high-speed USB device number 22 using dummy_hcd [ 2149.113549][ T3862] usb 2-1: config 1 interface 0 altsetting 0 has 2 endpoint descriptors, different from the interface descriptor's value: 18 [ 2149.479282][ T3862] usb 2-1: New USB device found, idVendor=0525, idProduct=a4a1, bcdDevice= 0.40 [ 2149.501467][ T3862] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1 [ 2149.513593][ T3862] usb 2-1: SerialNumber: syz [ 2157.226549][ T3862] cdc_ether 2-1:1.0: probe with driver cdc_ether failed with error -110 [ 2160.483635][ T3862] usb 2-1: USB disconnect, device number 22 [ 2183.972777][ T4663] UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy [ 2184.234846][ T4663] misc raw-gadget: fail, usb_gadget_register_driver returned -16 [ 2217.399450][ T4675] UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy [ 2217.823023][ T4675] misc raw-gadget: fail, usb_gadget_register_driver returned -16 [ 2229.049620][ T9] usb 2-1: new high-speed USB device number 23 using dummy_hcd [ 2234.880937][ T9] usb 2-1: device descriptor read/64, error -110 [ 2235.333102][ T9] usb 2-1: new high-speed USB device number 24 using dummy_hcd [ 2240.760086][ T9] usb 2-1: device descriptor read/64, error -110 [ 2240.949021][ T9] usb usb2-port1: attempt power cycle [ 2241.791546][ T9] usb 2-1: new high-speed USB device number 25 using dummy_hcd [ 2241.853019][ T9] usb 2-1: device descriptor read/8, error -32 [ 2242.153839][ T9] raw-gadget.0 gadget.1: failed to queue resume event [ 2242.331239][ T9] usb 2-1: new high-speed USB device number 26 using dummy_hcd [ 2242.422301][ C0] raw-gadget.0 gadget.1: ignoring, device is not running [ 2242.452238][ T9] usb 2-1: device descriptor read/8, error -32 [ 2242.625607][ T9] raw-gadget.0 gadget.1: failed to queue suspend event [ 2242.740299][ T9] usb usb2-port1: unable to enumerate USB device [ 2244.084440][ T4680] raw-gadget.0 gadget.1: failed to queue disconnect event [ 2274.244082][ T4694] loop0: detected capacity change from 0 to 32768 [ 2276.930507][ T4694] loop1: detected capacity change from 0 to 32768 [ 2279.498729][ T4694] device-mapper: ioctl: Invalid ioctl structure: name ache, dev 635f796d00000000 [ 2279.728737][ T4694] device-mapper: ioctl: Invalid ioctl structure: name ache, dev 635f796d00000000 [ 2279.902103][ T4694] device-mapper: ioctl: Invalid ioctl structure: name ache, dev 635f796d00000000 [ 2287.543988][ T4697] [ 2287.545341][ T4697] ====================================================== [ 2287.546356][ T4697] WARNING: possible circular locking dependency detected [ 2287.547749][ T4697] syzkaller #0 Not tainted [ 2287.548775][ T4697] ------------------------------------------------------ [ 2287.549876][ T4697] syz.1.162/4697 is trying to acquire lock: [ 2287.550911][ T4697] ffffaf8020c6b918 (&opts->dep_lock){+.+.}-{4:4}, at: tcm_register_callback+0x26/0x6e [ 2287.555857][ T4697] [ 2287.555857][ T4697] but task is already holding lock: [ 2287.556628][ T4697] ffffaf8018d71070 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1d6/0x406 [ 2287.558336][ T4697] [ 2287.558336][ T4697] which lock already depends on the new lock. [ 2287.558336][ T4697] [ 2287.559277][ T4697] [ 2287.559277][ T4697] the existing dependency chain (in reverse order) is: [ 2287.560142][ T4697] [ 2287.560142][ T4697] -> #2 (&p->frag_sem){++++}-{4:4}: [ 2287.561576][ T4697] lock_acquire+0x23e/0x4f2 [ 2287.562589][ T4697] down_write_killable+0xa4/0x25e [ 2287.563564][ T4697] configfs_rmdir+0x3ae/0x888 [ 2287.564800][ T4697] vfs_rmdir+0x2f8/0x7e0 [ 2287.565901][ T4697] filename_rmdir+0x2e6/0x562 [ 2287.567130][ T4697] __riscv_sys_unlinkat+0xf0/0x116 [ 2287.568399][ T4697] syscall_handler+0x92/0x114 [ 2287.569650][ T4697] do_trap_ecall_u+0x3e4/0x636 [ 2287.570716][ T4697] handle_exception+0x168/0x174 [ 2287.571611][ T4697] [ 2287.571611][ T4697] -> #1 (&sb->s_type->i_mutex_key#23){++++}-{4:4}: [ 2287.573061][ T4697] lock_acquire+0x23e/0x4f2 [ 2287.573872][ T4697] down_write+0x9c/0x18e [ 2287.574640][ T4697] configfs_depend_item_unlocked+0xdc/0x5b0 [ 2287.575516][ T4697] usbg_make_tpg+0x27e/0x602 [ 2287.576166][ T4697] target_fabric_make_tpg+0x88/0x76c [ 2287.577033][ T4697] configfs_mkdir+0x478/0xa24 [ 2287.577751][ T4697] vfs_mkdir+0x2ea/0x708 [ 2287.578404][ T4697] filename_mkdirat+0x414/0x54a [ 2287.579630][ T4697] __riscv_sys_mkdirat+0x84/0xbc [ 2287.580955][ T4697] syscall_handler+0x92/0x114 [ 2287.582155][ T4697] do_trap_ecall_u+0x3e4/0x636 [ 2287.583345][ T4697] handle_exception+0x168/0x174 [ 2287.584575][ T4697] [ 2287.584575][ T4697] -> #0 (&opts->dep_lock){+.+.}-{4:4}: [ 2287.586615][ T4697] check_noncircular+0x138/0x14c [ 2287.587628][ T4697] __lock_acquire+0xe9c/0x25aa [ 2287.588284][ T4697] lock_acquire+0x23e/0x4f2 [ 2287.588956][ T4697] __mutex_lock+0x164/0x192e [ 2287.589695][ T4697] mutex_lock_nested+0x14/0x1c [ 2287.590417][ T4697] tcm_register_callback+0x26/0x6e [ 2287.591259][ T4697] usbg_enable_tpg+0x7a/0x132 [ 2287.592022][ T4697] target_tpg_enable+0x204/0x584 [ 2287.592878][ T4697] target_fabric_tpg_base_enable_store+0x170/0x1b2 [ 2287.593802][ T4697] configfs_write_iter+0x284/0x406 [ 2287.594508][ T4697] vfs_write+0x81a/0x1020 [ 2287.595413][ T4697] ksys_write+0x126/0x244 [ 2287.596467][ T4697] __riscv_sys_write+0x6e/0xa0 [ 2287.597971][ T4697] syscall_handler+0x92/0x114 [ 2287.599256][ T4697] do_trap_ecall_u+0x3e4/0x636 [ 2287.600435][ T4697] handle_exception+0x168/0x174 [ 2287.601146][ T4697] [ 2287.601146][ T4697] other info that might help us debug this: [ 2287.601146][ T4697] [ 2287.601796][ T4697] Chain exists of: [ 2287.601796][ T4697] &opts->dep_lock --> &sb->s_type->i_mutex_key#23 --> &p->frag_sem [ 2287.601796][ T4697] [ 2287.603981][ T4697] Possible unsafe locking scenario: [ 2287.603981][ T4697] [ 2287.605078][ T4697] CPU0 CPU1 [ 2287.605969][ T4697] ---- ---- [ 2287.606943][ T4697] rlock(&p->frag_sem); [ 2287.608348][ T4697] lock(&sb->s_type->i_mutex_key#23); [ 2287.611582][ T4697] lock(&p->frag_sem); [ 2287.613871][ T4697] lock(&opts->dep_lock); [ 2287.615428][ T4697] [ 2287.615428][ T4697] *** DEADLOCK *** [ 2287.615428][ T4697] [ 2287.616458][ T4697] 4 locks held by syz.1.162/4697: [ 2287.617573][ T4697] #0: ffffaf801949f0b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x28c/0x32c [ 2287.620897][ T4697] #1: ffffaf8013bc2450 (sb_writers#12){.+.+}-{0:0}, at: vfs_write+0xa7a/0x1020 [ 2287.624177][ T4697] #2: ffffaf802008a280 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x6c/0x406 [ 2287.627179][ T4697] #3: ffffaf8018d71070 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1d6/0x406 [ 2287.630367][ T4697] [ 2287.630367][ T4697] stack backtrace: [ 2287.632041][ T4697] CPU: 0 UID: 0 PID: 4697 Comm: syz.1.162 Not tainted syzkaller #0 PREEMPT [ 2287.632763][ T4697] Hardware name: riscv-virtio,qemu (DT) [ 2287.633376][ T4697] Call Trace: [ 2287.633729][ T4697] [] dump_backtrace+0x2e/0x3c [ 2287.634471][ T4697] [] show_stack+0x30/0x3c [ 2287.635014][ T4697] [] dump_stack_lvl+0x114/0x1aa [ 2287.635837][ T4697] [] dump_stack+0x1c/0x24 [ 2287.636649][ T4697] [] print_circular_bug+0x250/0x29c [ 2287.637287][ T4697] [] check_noncircular+0x138/0x14c [ 2287.637944][ T4697] [] __lock_acquire+0xe9c/0x25aa [ 2287.638608][ T4697] [] lock_acquire+0x23e/0x4f2 [ 2287.639250][ T4697] [] __mutex_lock+0x164/0x192e [ 2287.639976][ T4697] [] mutex_lock_nested+0x14/0x1c [ 2287.640722][ T4697] [] tcm_register_callback+0x26/0x6e [ 2287.641529][ T4697] [] usbg_enable_tpg+0x7a/0x132 [ 2287.642292][ T4697] [] target_tpg_enable+0x204/0x584 [ 2287.642907][ T4697] [] target_fabric_tpg_base_enable_store+0x170/0x1b2 [ 2287.643762][ T4697] [] configfs_write_iter+0x284/0x406 [ 2287.644360][ T4697] [] vfs_write+0x81a/0x1020 [ 2287.645112][ T4697] [] ksys_write+0x126/0x244 [ 2287.645881][ T4697] [] __riscv_sys_write+0x6e/0xa0 [ 2287.646736][ T4697] [] syscall_handler+0x92/0x114 [ 2287.647401][ T4697] [] do_trap_ecall_u+0x3e4/0x636 [ 2287.647957][ T4697] [] handle_exception+0x168/0x174 SYZFAIL: failed to recv rpc fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor)