fanotify: info leak in copy_event_to_user()
authorDan Carpenter <[email protected]>
Mon, 8 Jul 2013 22:59:40 +0000 (15:59 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 Jul 2013 17:33:19 +0000 (10:33 -0700)
commitde1e0c40aceb9d5bff09c3a3b97b2f1b178af53f
tree128cd291a84aa596486f057259308dc6ae529585
parentb9ce54c9f59894e787e3067d2f758c297fcd6fd0
fanotify: info leak in copy_event_to_user()

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

Signed-off-by: Dan Carpenter <[email protected]>
Cc: Eric Paris <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/notify/fanotify/fanotify_user.c