linux/drivers/usb/core
Alan Stern db23dc4e4b USB: usbfs: don't leak kernel data in siginfo
commit f0c2b68198 upstream.

When a signal is delivered, the information in the siginfo structure
is copied to userspace.  Good security practice dicatates that the
unused fields in this structure should be initialized to 0 so that
random kernel stack data isn't exposed to the user.  This patch adds
such an initialization to the two places where usbfs raises signals.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Dave Mielke <dave@mielke.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-03-18 13:31:28 +01:00
..
buffer.c usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN 2015-03-06 14:43:30 -08:00
config.c usb: Make DELAY_INIT quirk wait 100ms between Get Configuration requests 2014-03-07 11:46:51 -08:00
devices.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
devio.c USB: usbfs: don't leak kernel data in siginfo 2015-03-18 13:31:28 +01:00
driver.c USB: Avoid runtime suspend loops for HCDs that can't handle suspend/resume 2014-06-11 11:54:13 -07:00
endpoint.c USB: core: be specific about attribute permissions 2013-08-25 15:12:03 -07:00
file.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-11-13 15:34:18 +09:00
generic.c USB: avoid error messages when a device is disconnected 2013-03-28 11:05:52 -07:00
hcd-pci.c USB: fix crash during hotplug of PCI USB controller card 2014-05-06 07:59:27 -07:00
hcd.c USB: fix use-after-free bug in usb_hcd_unlink_urb() 2015-03-06 14:43:30 -08:00
hub.c USB: core: add device-qualifier quirk 2014-11-14 09:00:05 -08:00
hub.h USB: core: correct spelling mistakes in comments and warning 2014-01-07 16:17:40 -08:00
Kconfig treewide: Fix typo in Kconfig 2013-10-14 15:23:02 +02:00
Makefile USB: core: remove CONFIG_USB_DEBUG usage 2013-12-21 16:01:00 -08:00
message.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
notify.c usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:25 -04:00
otg_whitelist.h USB: fix codingstyle issues in drivers/usb/core/*.h 2008-02-01 14:35:07 -08:00
port.c USB: core: be specific about attribute permissions 2013-08-25 15:12:03 -07:00
quirks.c usb-quirks: Add reset-resume quirk for MS Wireless Laser Mouse 6000 2014-12-06 15:55:36 -08:00
sysfs.c USB: core: correct spelling mistakes in comments and warning 2014-01-07 16:17:40 -08:00
urb.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
usb-acpi.c ACPI and power management updates for 3.14-rc1 2014-01-24 15:51:02 -08:00
usb.c usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN 2015-03-06 14:43:30 -08:00
usb.h USB: unbind all interfaces before rebinding any 2014-05-06 07:59:34 -07:00