Files
linux/drivers
Shuah Khan 28f467e0bd usbip: prevent vhci_hcd driver from leaking a socket pointer address
commit 2f2d0088eb upstream.

When a client has a USB device attached over IP, the vhci_hcd driver is
locally leaking a socket pointer address via the

/sys/devices/platform/vhci_hcd/status file (world-readable) and in debug
output when "usbip --debug port" is run.

Fix it to not leak. The socket pointer address is not used at the moment
and it was made visible as a convenient way to find IP address from socket
pointer address by looking up /proc/net/{tcp,tcp6}.

As this opens a security hole, the fix replaces socket pointer address with
sockfd.

Reported-by: Secunia Research <vuln@secunia.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-31 12:06:07 +01:00
..
2017-12-16 10:33:55 +01:00
2018-01-17 09:35:33 +01:00
2018-01-17 09:35:30 +01:00
2018-01-10 09:27:08 +01:00
2017-12-16 10:33:53 +01:00
2017-11-30 08:37:27 +00:00
2016-09-24 10:07:35 +02:00
2018-01-02 20:33:20 +01:00
2018-01-23 19:50:15 +01:00