[rds-devel] [PATCH net-next] net/rds: Fix info leak in rds6_inc_info_copy()

santosh.shilimkar at oracle.com santosh.shilimkar at oracle.com
Thu Aug 22 23:32:45 PDT 2019


On 8/21/19 8:18 PM, Ka-Cheong Poon wrote:
> The rds6_inc_info_copy() function has a couple struct members which
> are leaking stack information.  The ->tos field should hold actual
> information and the ->flags field needs to be zeroed out.
> 
> Fixes: 3eb450367d08 ("rds: add type of service(tos) infrastructure")
> Fixes: b7ff8b1036f0 ("rds: Extend RDS API for IPv6 support")
> Reported-by: 黄ID蝴蝶 <butterflyhuangxx at gmail.com>
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Ka-Cheong Poon <ka-cheong.poon at oracle.com>
> ---
Thanks for getting this out of the list.

Acked-by: Santosh Shilimkar <santosh.shilimkar at oracle.com>



More information about the rds-devel mailing list