summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/oprofile_stats.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-11-26 13:58:18 +0100
committerJiri Kosina <jkosina@suse.cz>2013-11-27 10:53:49 +0100
commit80897aa787ecd58eabb29deab7cbec9249c9b7e6 (patch)
treeaaed88615f8a55457a850e5a3aff5b6e0a8175cc /drivers/oprofile/oprofile_stats.c
parentHID: kye: fix unresponsive keyboard (diff)
downloadlinux-80897aa787ecd58eabb29deab7cbec9249c9b7e6.tar.xz
linux-80897aa787ecd58eabb29deab7cbec9249c9b7e6.zip
HID: uhid: fix leak for 64/32 UHID_CREATE
UHID allows short writes so user-space can omit unused fields. We automatically set them to 0 in the kernel. However, the 64/32 bit compat-handler didn't do that in the UHID_CREATE fallback. This will reveal random kernel heap data (of random size, even) to user-space. Fixes: befde0226a59 ('HID: uhid: make creating devices work on 64/32 systems') Reported-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/oprofile/oprofile_stats.c')
0 files changed, 0 insertions, 0 deletions