Re: [PATCH] net: fix potential infoleak in rds_inc_info_copy

2016-06-01 Thread David Miller
From: Kangjie Lu Date: Wed, 1 Jun 2016 12:11:16 -0400 > 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 The correct subsystem prefix is "rds: ". Please resubmit th

[PATCH] net: fix potential infoleak in rds_inc_info_copy

2016-06-01 Thread Kangjie Lu
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 --- net/rds/recv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/rds/recv.c b/net/rds/recv.c index c0be1ec..8413f6c