[Intel-wired-lan] [PATCH net v1] i40e: fix PTP pins verification

Mekala, SunithaX D sunithax.d.mekala at intel.com
Mon Apr 24 20:13:53 UTC 2023


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Andrii Staikov
> Sent: Thursday, March 30, 2023 12:18 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Staikov, Andrii <andrii.staikov at intel.com>
> Subject: [Intel-wired-lan] [PATCH net v1] 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>
> ---
>  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