summaryrefslogtreecommitdiff
path: root/drivers/usb/core/devices.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2015-02-13 10:54:53 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-18 13:31:28 +0100
commitdb23dc4e4b18f389edde0ceed5e91d9bfd0aeda7 (patch)
tree1eca2fabbe9adcfbc9ef4dddf82cd89246fedbcc /drivers/usb/core/devices.c
parent234d51b8f52c94568fde657f1a24f2f69db07420 (diff)
downloadlwn-db23dc4e4b18f389edde0ceed5e91d9bfd0aeda7.tar.gz
lwn-db23dc4e4b18f389edde0ceed5e91d9bfd0aeda7.zip
USB: usbfs: don't leak kernel data in siginfo
commit f0c2b68198589249afd2b1f2c4e8de8c03e19c16 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>
Diffstat (limited to 'drivers/usb/core/devices.c')
0 files changed, 0 insertions, 0 deletions