lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 3 Oct 2020 13:18:36 -0400 (EDT)
From:   Byron Stanoszek <gandalf@...ds.org>
To:     Valentina Manea <valentina.manea.m@...il.com>,
        Shuah Khan <shuah@...nel.org>,
        "M. Vefa Bicakci" <m.v.b@...box.com>
cc:     linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: USBIP is claiming all my USB devices - Commit 7a2f2974f265 is
 broken

All,

I was testing Linux 5.9-rc7 today when I realized that none of my USB devices
were responding anymore. For instance, my mouse does not respond and its usual
red LED is not on.

Reverting git commit 7a2f2974f265 solved the problem for me.

I have USBIP enabled in my kernel config. Alternatively, removing the following
CONFIG variables also resolved the problem for me:

-CONFIG_USBIP_CORE=y
-CONFIG_USBIP_HOST=y
-CONFIG_USBIP_VHCI_HCD=y
-CONFIG_USBIP_VHCI_HC_PORTS=8
-CONFIG_USBIP_VHCI_NR_HCS=1

I do not have any userland usbip daemons running on this PC.

I attached before-and-after versions of my "dmesg", "lsusb", and "lsusb -t"
outputs to demonstrate the problem. Versions marked .1 are with commit
7a2f2974f265 reverted. Versions marked .2 are without any changes to usbip.

# grep usbip dmesg.1
dmesg.1:usbcore: registered new device driver usbip-host

# grep usbip dmesg.2
dmesg.2:usbcore: registered new device driver usbip-host
dmesg.2:usbip-host 1-8: 1-8 is not in match_busid table... skip!
dmesg.2:usbip-host 1-13: 1-13 is not in match_busid table... skip!

>From lsusb_t.1:

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
     |__ Port 8: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
     |__ Port 13: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
     |__ Port 13: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M

>From lsusb_t.2:

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M

(no devices are listed when they should be)

I also attached my .config for review.

Thanks,
  -Byron

View attachment "dmesg.1" of type "text/plain" (42247 bytes)

View attachment "dmesg.2" of type "text/plain" (42049 bytes)

View attachment "lsusb.1" of type "text/plain" (542 bytes)

View attachment "lsusb.2" of type "text/plain" (542 bytes)

View attachment "lsusb_t.1" of type "text/plain" (624 bytes)

View attachment "lsusb_t.2" of type "text/plain" (414 bytes)

View attachment "config-5.9" of type "text/plain" (116131 bytes)

Powered by blists - more mailing lists