diff options
| author | Alan Stern <[email protected]> | 2015-02-13 15:54:53 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-02-24 16:38:46 +0000 |
| commit | f0c2b68198589249afd2b1f2c4e8de8c03e19c16 (patch) | |
| tree | 719882a5c2ab4ada82240fff4ffe0df6debe98eb /lib/mpi/mpi-bit.c | |
| parent | xhci: Clear the host side toggle manually when endpoint is 'soft reset' (diff) | |
| download | kernel-f0c2b68198589249afd2b1f2c4e8de8c03e19c16.tar.gz kernel-f0c2b68198589249afd2b1f2c4e8de8c03e19c16.zip | |
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 <[email protected]>
Reported-by: Dave Mielke <[email protected]>
CC: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
