last executing test programs: 50.805668799s ago: executing program 1 (id=2): r0 = openat$kvm(0x0, &(0x7f0000000040), 0x0, 0x0) r1 = ioctl$KVM_CREATE_VM(r0, 0xae01, 0x0) ioctl$KVM_CREATE_IRQCHIP(r1, 0xae60) r2 = ioctl$KVM_CREATE_VCPU(r1, 0xae41, 0x0) ioctl$KVM_SET_MP_STATE(r2, 0x4004ae99, &(0x7f00000000c0)=0x3) ioctl$KVM_RUN(r2, 0xae80, 0x0) 39.391509921s ago: executing program 0 (id=1): syz_usb_connect(0x0, 0x24, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x97, 0xff, 0x82, 0x8, 0x2058, 0x1005, 0xc19b, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x12, 0x1, 0x0, 0x0, 0x0, 0x0, "", [{{0x9, 0x4, 0x8f, 0x0, 0x0, 0xbf, 0x57, 0x5a}}]}}]}}, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./mysys\x00', 0x1ff) mount(&(0x7f0000000140)=@filename='none\x00', &(0x7f0000000180)='./mysys\x00', &(0x7f00000001c0)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000200)='./mysys/bus/platform/drivers/dummy_hcd/unbind\x00', 0x1, 0x0) write(r0, &(0x7f0000000240)='dummy_hcd.0\x00', 0xb) close(r0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./mysys/bus/platform/drivers/dummy_hcd/bind\x00', 0x1, 0x0) write(r1, &(0x7f0000000340)='dummy_hcd.0\x00', 0xb) close(r1) nanosleep(&(0x7f0000000400)={0x0, 0x1dcd6500}, 0x0) 27.673549501s ago: executing program 1 (id=3): syz_usb_connect(0x0, 0x39, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002ffffff40991117000000000000010902270001010080fa0904000003ffffff00070581020002000705020200020007058303400001"], 0x0) nanosleep(&(0x7f0000000300)={0x1}, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./mydev\x00', 0x1ff) mount(&(0x7f0000000100)=@filename='none\x00', &(0x7f0000000200)='./mydev\x00', &(0x7f0000000300)='devtmpfs\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000200)='./mydev/ttyUSB0\x00', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000200)='./mydev/ttyUSB1\x00', 0x2, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000200)='./mydev/ttyUSB2\x00', 0x2, 0x0) 17.857025718s ago: executing program 0 (id=4): syz_usb_connect(0x0, 0x24, &(0x7f0000000000)=ANY=[@ANYBLOB="1201000200000008b4040200000100000001090212000101008032090400000000000000"], 0x0) nanosleep(&(0x7f0000000300)={0x0, 0x2faf080}, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000200)='./sys\x00', &(0x7f0000000300)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000400)='./sys/bus/usb/devices/1-1/1-1:1.0/port1\x00', 0x0, 0x0) read(r0, &(0x7f0000000500)=""/100, 0x64) r1 = openat(0xffffffffffffff9c, &(0x7f0000000600)='./sys/bus/usb/devices/2-1/2-1:1.0/port1\x00', 0x0, 0x0) read(r1, &(0x7f0000000700)=""/100, 0x64) r2 = openat(0xffffffffffffff9c, &(0x7f0000000800)='./sys/bus/usb/devices/3-1/3-1:1.0/port1\x00', 0x0, 0x0) read(r2, &(0x7f0000000900)=""/100, 0x64) r3 = openat(0xffffffffffffff9c, &(0x7f0000000a00)='./sys/bus/usb/devices/4-1/4-1:1.0/port1\x00', 0x0, 0x0) read(r3, &(0x7f0000000b00)=""/100, 0x64) 9.571600328s ago: executing program 1 (id=5): mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./config\x00', 0x1ed) mount(&(0x7f0000000040)=@filename='configfs\x00', &(0x7f0000000080)='./config\x00', &(0x7f00000000c0)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000100)='./config/usb_gadget\x00', 0x1ed) mkdirat(0xffffffffffffff9c, &(0x7f0000000140)='./config/usb_gadget/g1\x00', 0x1ed) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./config/usb_gadget/g1/idVendor\x00', 0x1, 0x0) write(r0, &(0x7f00000001c0)='0x0525\x00', 0x7) r1 = openat(0xffffffffffffff9c, &(0x7f0000000200)='./config/usb_gadget/g1/idProduct\x00', 0x1, 0x0) write(r1, &(0x7f0000000240)='0xa4a5\x00', 0x7) mkdirat(0xffffffffffffff9c, &(0x7f0000000280)='./config/usb_gadget/g1/functions/tcm.usb0\x00', 0x1ed) mkdirat(0xffffffffffffff9c, &(0x7f00000002c0)='./config/usb_gadget/g1/configs/c.1\x00', 0x1ed) symlinkat(&(0x7f0000000300)='./config/usb_gadget/g1/functions/tcm.usb0\x00', 0xffffffffffffff9c, &(0x7f0000000340)='./config/usb_gadget/g1/configs/c.1/tcm.usb0\x00') mkdirat(0xffffffffffffff9c, &(0x7f0000000380)='./config/target\x00', 0x1ed) mkdirat(0xffffffffffffff9c, &(0x7f00000003c0)='./config/target/usb_gadget\x00', 0x1ed) mkdirat(0xffffffffffffff9c, &(0x7f0000000400)='./config/target/usb_gadget/naa.5001405000000001\x00', 0x1ed) mkdirat(0xffffffffffffff9c, &(0x7f0000000440)='./config/target/usb_gadget/naa.5001405000000001/tpgt_1\x00', 0x1ed) r2 = openat(0xffffffffffffff9c, &(0x7f0000000480)='./config/target/usb_gadget/naa.5001405000000001/tpgt_1/nexus\x00', 0x1, 0x0) write(r2, &(0x7f00000004c0)='naa.5001405000000002\x00', 0x15) r3 = openat(0xffffffffffffff9c, &(0x7f0000000500)='./config/target/usb_gadget/naa.5001405000000001/tpgt_1/enable\x00', 0x1, 0x0) write(r3, &(0x7f0000000540)='1\x00', 0x2) r4 = openat(0xffffffffffffff9c, &(0x7f0000000580)='./config/usb_gadget/g1/UDC\x00', 0x1, 0x0) write(r4, &(0x7f00000005c0)='dummy_udc.0', 0xb) nanosleep(&(0x7f0000000600)={0x0, 0x1dcd6500}, 0x0) 0s ago: executing program 0 (id=6): mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000040)='./sys\x00', &(0x7f0000000080)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000000c0)='./sys/module/usbcore/parameters/quirks\x00', 0x2, 0x0) write(r0, &(0x7f0000000140)='0fc5:1227:b\n', 0xc) close(r0) syz_usb_connect(0x0, 0x24, &(0x7f0000000200)=ANY=[@ANYBLOB="1201000200000040c50f2712000101020301090212000101008032090400000000000000"], 0x0) nanosleep(&(0x7f0000000300)={0x0, 0x5f5e100}, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000340)='./sys/bus/usb/devices/5-1/power/autosuspend_delay_ms\x00', 0x2, 0x0) write(r1, &(0x7f0000000380)='0\n', 0x2) close(r1) r2 = openat(0xffffffffffffff9c, &(0x7f00000003c0)='./sys/bus/usb/devices/5-1/power/control\x00', 0x2, 0x0) write(r2, &(0x7f0000000400)='auto\n', 0x5) close(r2) nanosleep(&(0x7f0000000300)={0x0, 0x5f5e100}, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000440)='./sys/bus/usb/devices/5-1/power/control\x00', 0x2, 0x0) write(r3, &(0x7f0000000480)='on\n', 0x4) kernel console output (not intermixed with test programs): Warning: Permanently added '[localhost]:51511' (ED25519) to the list of known hosts. syzkaller login: [ 526.249085][ T3216] cgroup: Unknown subsys name 'net' [ 526.998291][ T3216] cgroup: Unknown subsys name 'cpuset' [ 527.097002][ T3216] cgroup: Unknown subsys name 'rlimit' Setting up swapspace version 1, size = 127995904 bytes [ 603.988356][ T3216] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 803.399543][ T3223] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 803.664021][ T3223] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 808.298041][ T3225] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 808.467232][ T3225] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 827.517898][ T3223] hsr_slave_0: entered promiscuous mode [ 827.581235][ T3223] hsr_slave_1: entered promiscuous mode [ 830.039024][ T3225] hsr_slave_0: entered promiscuous mode [ 830.126294][ T3225] hsr_slave_1: entered promiscuous mode [ 830.162357][ T3225] debugfs: 'hsr0' already exists in 'hsr' [ 830.231625][ T3225] Cannot create hsr debugfs directory [ 840.988182][ T3223] netdevsim netdevsim1 netdevsim0: renamed from eth0 [ 841.451389][ T3223] 8021q: adding VLAN 0 to HW filter on device netdevsim0 [ 841.689106][ T3223] netdevsim netdevsim1 netdevsim1: renamed from eth1 [ 841.830865][ T3223] 8021q: adding VLAN 0 to HW filter on device netdevsim1 [ 842.385352][ T3223] netdevsim netdevsim1 netdevsim2: renamed from eth2 [ 842.543192][ T3223] 8021q: adding VLAN 0 to HW filter on device netdevsim2 [ 843.013581][ T3223] netdevsim netdevsim1 netdevsim3: renamed from eth3 [ 843.090548][ T3223] 8021q: adding VLAN 0 to HW filter on device netdevsim3 [ 844.627028][ T3225] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 844.803394][ T3225] 8021q: adding VLAN 0 to HW filter on device netdevsim0 [ 844.868650][ T3225] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 844.975764][ T3225] 8021q: adding VLAN 0 to HW filter on device netdevsim1 [ 845.030929][ T3225] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 845.418285][ T3225] 8021q: adding VLAN 0 to HW filter on device netdevsim2 [ 845.609858][ T3225] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 845.741154][ T3225] 8021q: adding VLAN 0 to HW filter on device netdevsim3 [ 862.116836][ T3223] 8021q: adding VLAN 0 to HW filter on device bond0 [ 865.095726][ T3225] 8021q: adding VLAN 0 to HW filter on device bond0 [ 924.881184][ T3223] veth0_vlan: entered promiscuous mode [ 926.109155][ T3223] veth1_vlan: entered promiscuous mode [ 931.931464][ T3223] veth0_macvtap: entered promiscuous mode [ 932.184095][ T3223] veth1_macvtap: entered promiscuous mode [ 936.668711][ T3304] netdevsim netdevsim1 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 937.688417][ T3304] netdevsim netdevsim1 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 937.814008][ T3304] netdevsim netdevsim1 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 938.164635][ T45] netdevsim netdevsim1 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 939.591150][ T3225] veth0_vlan: entered promiscuous mode [ 941.019157][ T3225] veth1_vlan: entered promiscuous mode [ 945.851229][ T3223] 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. [ 946.781382][ T3225] veth0_macvtap: entered promiscuous mode [ 947.560904][ T3225] veth1_macvtap: entered promiscuous mode [ 952.807346][ T54] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 952.811376][ T54] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 952.827565][ T54] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 952.833348][ T54] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 973.515600][ T816] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 973.827610][ T816] usb 1-1: Using ep0 maxpacket: 8 [ 973.917632][ T816] usb 1-1: config 0 has an invalid interface number: 143 but max is 0 [ 973.919314][ T816] usb 1-1: config 0 has no interface number 0 [ 973.921034][ T816] usb 1-1: New USB device found, idVendor=2058, idProduct=1005, bcdDevice=c1.9b [ 973.929851][ T816] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 974.089704][ T816] usb 1-1: config 0 descriptor?? [ 974.857223][ T816] viperboard 1-1:0.143: version 0.00 found at bus 001 address 002 [ 976.980395][ T816] viperboard-i2c viperboard-i2c.1.auto: error -EIO: failure setting i2c_bus_freq to 100 [ 977.019502][ T816] viperboard-i2c viperboard-i2c.1.auto: probe with driver viperboard-i2c failed with error -5 [ 978.733530][ T3744] usb 2-1: new high-speed USB device number 2 using dummy_hcd [ 978.743232][ C1] raw-gadget.1 gadget.1: ignoring, device is not running [ 978.965824][ T3744] usb 2-1: device descriptor read/64, error -32 [ 979.417297][ T3744] usb 2-1: new high-speed USB device number 3 using dummy_hcd [ 980.526917][ T3744] usb 2-1: New USB device found, idVendor=1199, idProduct=0017, bcdDevice= 0.00 [ 980.529303][ T3744] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 982.710763][ T3779] usb 1-1: USB disconnect, device number 2 [ 982.893556][ T3744] sierra 2-1:1.0: Sierra USB modem converter detected [ 989.085421][ T3744] usb 2-1: Sierra USB modem converter now attached to ttyUSB0 [ 990.245801][ T3744] usb 2-1: USB disconnect, device number 3 [ 991.383627][ T3744] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0 [ 991.485303][ T3744] sierra 2-1:1.0: device disconnected [ 994.976824][ T3779] usb 1-1: new high-speed USB device number 3 using dummy_hcd [ 995.324191][ T3779] usb 1-1: Using ep0 maxpacket: 8 [ 998.727488][ T3779] usb 1-1: device descriptor read/all, error -71 [ 1003.197406][ T3744] usb 1-1: new high-speed USB device number 5 using dummy_hcd [ 1004.030857][ T3744] usb 1-1: New USB device found, idVendor=0fc5, idProduct=1227, bcdDevice= 1.00 [ 1004.039817][ T3744] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1004.055445][ T3744] usb 1-1: Product: syz [ 1004.056947][ T3744] usb 1-1: Manufacturer: syz [ 1004.058026][ T3744] usb 1-1: SerialNumber: syz [ 1004.249424][ T3916] [ 1004.250166][ T3916] ====================================================== [ 1004.250802][ T3916] WARNING: possible circular locking dependency detected [ 1004.252184][ T3916] syzkaller #0 Not tainted [ 1004.253532][ T3916] ------------------------------------------------------ [ 1004.254524][ T3916] syz.1.5/3916 is trying to acquire lock: [ 1004.255862][ T3916] ffffaf80164a0600 (&sb->s_type->i_mutex_key#23){++++}-{4:4}, at: configfs_depend_item_unlocked+0xdc/0x5b0 [ 1004.261702][ T3916] [ 1004.261702][ T3916] but task is already holding lock: [ 1004.263319][ T3916] ffffaf80231a7d18 (&opts->dep_lock){+.+.}-{4:4}, at: usbg_make_tpg+0x1d0/0x602 [ 1004.265917][ T3916] [ 1004.265917][ T3916] which lock already depends on the new lock. [ 1004.265917][ T3916] [ 1004.267128][ T3916] [ 1004.267128][ T3916] the existing dependency chain (in reverse order) is: [ 1004.268212][ T3916] [ 1004.268212][ T3916] -> #3 (&opts->dep_lock){+.+.}-{4:4}: [ 1004.270275][ T3916] lock_acquire+0x23e/0x4f2 [ 1004.271743][ T3916] __mutex_lock+0x164/0x192e [ 1004.272992][ T3916] mutex_lock_nested+0x14/0x1c [ 1004.274263][ T3916] usbg_make_tpg+0x1d0/0x602 [ 1004.275394][ T3916] target_fabric_make_tpg+0x88/0x76c [ 1004.276897][ T3916] configfs_mkdir+0x478/0xa24 [ 1004.278133][ T3916] vfs_mkdir+0x2ea/0x708 [ 1004.279253][ T3916] filename_mkdirat+0x414/0x54a [ 1004.280491][ T3916] __riscv_sys_mkdirat+0x84/0xbc [ 1004.281728][ T3916] syscall_handler+0x92/0x114 [ 1004.283099][ T3916] do_trap_ecall_u+0x3e4/0x636 [ 1004.284363][ T3916] handle_exception+0x168/0x174 [ 1004.285687][ T3916] [ 1004.285687][ T3916] -> #2 (tpg_instances_lock){+.+.}-{4:4}: [ 1004.287739][ T3916] lock_acquire+0x23e/0x4f2 [ 1004.289210][ T3916] __mutex_lock+0x164/0x192e [ 1004.290530][ T3916] mutex_lock_nested+0x14/0x1c [ 1004.292026][ T3916] tcm_alloc+0x2a/0x3fc [ 1004.293056][ T3916] usb_get_function+0x50/0xbc [ 1004.294166][ T3916] config_usb_cfg_link+0x1a4/0x31a [ 1004.295689][ T3916] configfs_symlink+0x460/0xfee [ 1004.296993][ T3916] vfs_symlink+0x162/0x45e [ 1004.298171][ T3916] filename_symlinkat+0x264/0x4ca [ 1004.299504][ T3916] __riscv_sys_symlinkat+0x90/0xce [ 1004.300755][ T3916] syscall_handler+0x92/0x114 [ 1004.302023][ T3916] do_trap_ecall_u+0x3e4/0x636 [ 1004.303221][ T3916] handle_exception+0x168/0x174 [ 1004.304369][ T3916] [ 1004.304369][ T3916] -> #1 (&gi->lock){+.+.}-{4:4}: [ 1004.306348][ T3916] lock_acquire+0x23e/0x4f2 [ 1004.307647][ T3916] __mutex_lock+0x164/0x192e [ 1004.308931][ T3916] mutex_lock_nested+0x14/0x1c [ 1004.310197][ T3916] config_usb_cfg_link+0x4a/0x31a [ 1004.311564][ T3916] configfs_symlink+0x460/0xfee [ 1004.312856][ T3916] vfs_symlink+0x162/0x45e [ 1004.313934][ T3916] filename_symlinkat+0x264/0x4ca [ 1004.315126][ T3916] __riscv_sys_symlinkat+0x90/0xce [ 1004.316304][ T3916] syscall_handler+0x92/0x114 [ 1004.317513][ T3916] do_trap_ecall_u+0x3e4/0x636 [ 1004.318665][ T3916] handle_exception+0x168/0x174 [ 1004.319867][ T3916] [ 1004.319867][ T3916] -> #0 (&sb->s_type->i_mutex_key#23){++++}-{4:4}: [ 1004.322327][ T3916] check_noncircular+0x138/0x14c [ 1004.323715][ T3916] __lock_acquire+0xe9c/0x25aa SYZFAIL: failed to recv rpc [ 1004.324942][ T3916] lock_acquire+0x23e/0x4f2 [ 1004.326632][ T3916] down_write+0x9c/0x18e [ 1004.328001][ T3916] configfs_depend_item_unlocked+0xdc/0x5b0 [ 1004.329266][ T3916] usbg_make_tpg+0x27e/0x602 [ 1004.330363][ T3916] target_fabric_make_tpg+0x88/0x76c [ 1004.331894][ T3916] configfs_mkdir+0x478/0xa24 [ 1004.333109][ T3916] vfs_mkdir+0x2ea/0x708 [ 1004.334086][ T3916] filename_mkdirat+0x414/0x54a [ 1004.335343][ T3916] __riscv_sys_mkdirat+0x84/0xbc [ 1004.336525][ T3916] syscall_handler+0x92/0x114 [ 1004.337704][ T3916] do_trap_ecall_u+0x3e4/0x636 [ 1004.338816][ T3916] handle_exception+0x168/0x174 [ 1004.339946][ T3916] [ 1004.339946][ T3916] other info that might help us debug this: [ 1004.339946][ T3916] [ 1004.341086][ T3916] Chain exists of: [ 1004.341086][ T3916] &sb->s_type->i_mutex_key#23 --> tpg_instances_lock --> &opts->dep_lock [ 1004.341086][ T3916] [ 1004.344243][ T3916] Possible unsafe locking scenario: [ 1004.344243][ T3916] [ 1004.345212][ T3916] CPU0 CPU1 [ 1004.346063][ T3916] ---- ---- [ 1004.346882][ T3916] lock(&opts->dep_lock); [ 1004.348137][ T3916] lock(tpg_instances_lock); [ 1004.349565][ T3916] lock(&opts->dep_lock); [ 1004.350961][ T3916] lock(&sb->s_type->i_mutex_key#23); [ 1004.352539][ T3916] [ 1004.352539][ T3916] *** DEADLOCK *** [ 1004.352539][ T3916] [ 1004.353623][ T3916] 5 locks held by syz.1.5/3916: [ 1004.354568][ T3916] #0: ffffaf8013f1c450 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x42/0x39e [ 1004.357477][ T3916] #1: ffffaf8021dd9900 (&sb->s_type->i_mutex_key#8/1){+.+.}-{4:4}, at: filename_create+0x19e/0x39c [ 1004.361046][ T3916] #2: ffffffff896c68e8 (&subsys->su_mutex){+.+.}-{4:4}, at: configfs_mkdir+0x42c/0xa24 [ 1004.363816][ T3916] #3: ffffffff89acc060 (tpg_instances_lock){+.+.}-{4:4}, at: usbg_make_tpg+0x120/0x602 [ 1004.366437][ T3916] #4: ffffaf80231a7d18 (&opts->dep_lock){+.+.}-{4:4}, at: usbg_make_tpg+0x1d0/0x602 [ 1004.369086][ T3916] [ 1004.369086][ T3916] stack backtrace: [ 1004.370563][ T3916] CPU: 1 UID: 0 PID: 3916 Comm: syz.1.5 Not tainted syzkaller #0 PREEMPT [ 1004.371292][ T3916] Hardware name: riscv-virtio,qemu (DT) [ 1004.371885][ T3916] Call Trace: [ 1004.372215][ T3916] [] dump_backtrace+0x2e/0x3c [ 1004.372915][ T3916] [] show_stack+0x30/0x3c [ 1004.373424][ T3916] [] dump_stack_lvl+0x114/0x1aa [ 1004.374159][ T3916] [] dump_stack+0x1c/0x24 [ 1004.374934][ T3916] [] print_circular_bug+0x250/0x29c [ 1004.375525][ T3916] [] check_noncircular+0x138/0x14c [ 1004.376117][ T3916] [] __lock_acquire+0xe9c/0x25aa [ 1004.376746][ T3916] [] lock_acquire+0x23e/0x4f2 [ 1004.377349][ T3916] [] down_write+0x9c/0x18e [ 1004.378042][ T3916] [] configfs_depend_item_unlocked+0xdc/0x5b0 [ 1004.378641][ T3916] [] usbg_make_tpg+0x27e/0x602 [ 1004.379120][ T3916] [] target_fabric_make_tpg+0x88/0x76c [ 1004.379954][ T3916] [] configfs_mkdir+0x478/0xa24 [ 1004.380552][ T3916] [] vfs_mkdir+0x2ea/0x708 [ 1004.381003][ T3916] [] filename_mkdirat+0x414/0x54a [ 1004.381593][ T3916] [] __riscv_sys_mkdirat+0x84/0xbc [ 1004.382177][ T3916] [] syscall_handler+0x92/0x114 [ 1004.382845][ T3916] [] do_trap_ecall_u+0x3e4/0x636 [ 1004.383448][ T3916] [] handle_exception+0x168/0x174 fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor) [ 1004.778532][ T3744] usbsevseg 1-1:1.0: USB 7 Segment device now attached [ 1007.053370][ T3916] UDC core: g1: couldn't find an available UDC or it's busy [ 1027.056539][ T3401] netdevsim netdevsim1 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 1027.865520][ T816] usb 1-1: USB disconnect, device number 5 [ 1027.931414][ T816] usbsevseg 1-1:1.0: USB 7 Segment now disconnected [ 1028.495331][ T3401] netdevsim netdevsim1 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 1030.553794][ T3401] netdevsim netdevsim1 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 1031.658780][ T3401] netdevsim netdevsim1 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0