]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: fix infoleak in llc
authorKangjie Lu <kangjielu@gmail.com>
Tue, 3 May 2016 20:35:05 +0000 (16:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2016 00:04:01 +0000 (17:04 -0700)
commitf3a0b05e04b862ffc549b5635339a5cee00da34d
tree0c4c2366c3c828f7b2690c8aa2369bf2a74e3b80
parentd6b8a68ac7b6d2e241f8d34b769c98a1793d9124
net: fix infoleak in llc

[ Upstream commit b8670c09f37bdf2847cc44f36511a53afc6161fd ]

The stack object “info” has a total size of 12 bytes. Its last byte
is padding which is not initialized and leaked via “put_cmsg”.

Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/llc/af_llc.c