[Intel-wired-lan] [PATCH net v2] i40e: fix PTP pins verification
Mekala, SunithaX D
sunithax.d.mekala at intel.com
Mon Apr 24 20:17:09 UTC 2023
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Andrii Staikov
> Sent: Friday, March 31, 2023 5:20 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Staikov, Andrii <andrii.staikov at intel.com>
> Subject: [Intel-wired-lan] [PATCH net v2] i40e: fix PTP pins verification
>
> Fix PTP pins verification not to contain tainted arguments. As a new PTP pins configuration is provided by a user, it may contain tainted arguments that are out of bounds for the list of possible values that can lead to a potential security threat. Change pin's state name from 'invalid'
to 'empty' for more clarification.
>
> Fixes: 1050713026a0 ("i40e: add support for PTP external synchronization clock")
> Signed-off-by: Andrii Staikov <andrii.staikov at intel.com>
> ---
> v2: Updating the commit message to fit the 75 characters limit.
> ---
> drivers/net/ethernet/intel/i40e/i40e_ptp.c | 16 ++++++++++++----
> 1 file changed, 12 insertions(+), 4 deletions(-)
>
Tested-by: Sunitha Mekala <sunithax.d.mekala at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list