]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fanotify: info leak in copy_event_to_user()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 27 Jun 2013 23:50:55 +0000 (09:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:11 +0000 (16:37 +1000)
commit286351ec6191415a035372d7e7c14d9a9597df77
tree094334cdef02d0f4c455abb7a267fa0eb91336ca
parent3596cff88366b0b555e16bed0e21b1bae9195ea4
fanotify: info leak in copy_event_to_user()

The ->reserverd field isn't cleared so we leak one byte of stack
information to userspace.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/notify/fanotify/fanotify_user.c