author | Kangjie Lu <kangjielu@gmail.com> | |
Thu, 2 Jun 2016 08:11:20 +0000 (04:11 -0400) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Sun, 11 Sep 2016 07:59:58 +0000 (09:59 +0200) | ||
commit | d57906c6850c5bb9a93841da3deb6df53135d133 | |
tree | 06d80a20462ff6be50e38cc4eb1d653dba2d6807 | tree | snapshot (tar.xz tar.gz zip) |
parent | f842188c4f4f63a5b6fb59f45ac121162c0ab4c4 | commit | diff |
rds: fix an infoleak in rds_inc_info_copy
commit 4116def2337991b39919f3b448326e21c40e0dbb upstream.
The last field "flags" of object "minfo" is not initialized.
Copying this object out may leak kernel stack data.
Assign 0 to it to avoid leak.
Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Juerg Haefliger <juerg.haefliger@hpe.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 4116def2337991b39919f3b448326e21c40e0dbb upstream.
The last field "flags" of object "minfo" is not initialized.
Copying this object out may leak kernel stack data.
Assign 0 to it to avoid leak.
Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Juerg Haefliger <juerg.haefliger@hpe.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/rds/recv.c | diff | blob | history |