From: Alan Stern Date: Fri, 13 Feb 2015 15:54:53 +0000 (-0500) Subject: USB: usbfs: don't leak kernel data in siginfo X-Git-Tag: omap-for-v4.1/wl12xx-dt~45^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c2b68198589249afd2b1f2c4e8de8c03e19c16;p=pandora-kernel.git 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 Reported-by: Dave Mielke CC: Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed