Re: [PATCH net] net/rds: Fix info leak in rds6_inc_info_copy()

2019-08-27 Thread David Miller
From: Ka-Cheong Poon Date: Mon, 26 Aug 2019 02:39:12 -0700 > 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 typ

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

2019-08-26 Thread Ka-Cheong Poon
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 RD