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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <8d22cfe6-90b6-eb86-d82e-0e037bfbed4e@molgen.mpg.de>
Date:   Fri, 6 Apr 2018 14:20:40 +0200
From:   Paul Menzel <pmenzel+linux-input@...gen.mpg.de>
To:     Michael Tokarev <mjt@....msk.ru>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     linux-input@...r.kernel.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Ben Caradoc-Davies <ben@...nsient.nz>
Subject: Commit *driver core: emit uevents when device is bound to a driver*
 causes regression

Dear Linux folks,


Commit 1455cf8 (driver core: emit uevents when device is bound to a
driver) [1], introduced in Linux 4.14-rc1, causes a regression in user 
space.

After disconnecting USB devices, they are still shown as plugged in [2][3].

> I seem to be having a similar issue, but with an iPhone X using USB
> to provide internet access. Even after the phone is disconnected, it
> still shows up as "loaded active plugged". The only way to fix this
> is to reboot or use a different USB port.

`git bisect` shows that commit 1455cf8 (driver core: emit uevents when 
device is bound to a driver) is at fault [4].

As user space should not break with newer Linux kernels, do you know 
what to do about that or can you think of a fix?


Kind regards,

Paul


[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1455cf8dbfd06aa7651dcfccbadb7a093944ca65
[2] https://github.com/systemd/systemd/issues/7587
[3] https://bugs.debian.org/883425
[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883425#68


Download attachment "smime.p7s" of type "application/pkcs7-signature" (5174 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ