Re: [PATCH] rds: fix an infoleak in rds_inc_info_copy

2016-06-02 Thread Santosh Shilimkar

On 6/2/2016 1:11 AM, Kangjie Lu wrote:

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(+)


Acked-by: Santosh Shilimkar 


Re: [PATCH] rds: fix an infoleak in rds_inc_info_copy

2016-06-02 Thread David Miller
From: Kangjie Lu 
Date: Thu,  2 Jun 2016 04:11:20 -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 

Applied.