fix minor infoleak in get_user_ex()
authorAl Viro <[email protected]>
Thu, 15 Sep 2016 01:35:29 +0000 (02:35 +0100)
committerLinus Torvalds <[email protected]>
Thu, 15 Sep 2016 19:54:04 +0000 (12:54 -0700)
commit1c109fabbd51863475cd12ac206bdd249aee35af
tree2b4a8204e47e27945a8ec57c4abe146ece8fe1e1
parent4cea8776571b18db7485930cb422faa739580c8c
fix minor infoleak in get_user_ex()

get_user_ex(x, ptr) should zero x on failure.  It's not a lot of a leak
(at most we are leaking uninitialized 64bit value off the kernel stack,
and in a fairly constrained situation, at that), but the fix is trivial,
so...

Cc: [email protected]
Signed-off-by: Al Viro <[email protected]>
[ This sat in different branch from the uaccess fixes since mid-August ]
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/include/asm/uaccess.h