diff options
author | Alan Stern | 2015-02-13 10:54:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-02-24 08:38:46 -0800 |
commit | f0c2b68198589249afd2b1f2c4e8de8c03e19c16 (patch) | |
tree | 719882a5c2ab4ada82240fff4ffe0df6debe98eb /include/video | |
parent | 27082e2654dc148078b0abdfc3c8e5ccbde0ebfa (diff) |
USB: usbfs: don't leak kernel data in siginfo
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>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions