Home
last modified time | relevance | path

Searched hist:"837 ec05cfea08284c575e8e834777b107da5ff9d" (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.cdiff 837ec05cfea08284c575e8e834777b107da5ff9d Mon May 17 12:03:57 CDT 2021 Danielle Ratson <danieller@nvidia.com> mlxsw: Verify the accessed index doesn't exceed the array length

There are few cases in which an array index queried from a fw register,
is accessed without any validation that it doesn't exceed the array
length.

Add a proper length validation, so accessing memory past the end of an
array will be forbidden.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dminimal.cdiff 837ec05cfea08284c575e8e834777b107da5ff9d Mon May 17 12:03:57 CDT 2021 Danielle Ratson <danieller@nvidia.com> mlxsw: Verify the accessed index doesn't exceed the array length

There are few cases in which an array index queried from a fw register,
is accessed without any validation that it doesn't exceed the array
length.

Add a proper length validation, so accessing memory past the end of an
array will be forbidden.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dspectrum_switchdev.cdiff 837ec05cfea08284c575e8e834777b107da5ff9d Mon May 17 12:03:57 CDT 2021 Danielle Ratson <danieller@nvidia.com> mlxsw: Verify the accessed index doesn't exceed the array length

There are few cases in which an array index queried from a fw register,
is accessed without any validation that it doesn't exceed the array
length.

Add a proper length validation, so accessing memory past the end of an
array will be forbidden.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dspectrum_router.cdiff 837ec05cfea08284c575e8e834777b107da5ff9d Mon May 17 12:03:57 CDT 2021 Danielle Ratson <danieller@nvidia.com> mlxsw: Verify the accessed index doesn't exceed the array length

There are few cases in which an array index queried from a fw register,
is accessed without any validation that it doesn't exceed the array
length.

Add a proper length validation, so accessing memory past the end of an
array will be forbidden.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dspectrum.cdiff 837ec05cfea08284c575e8e834777b107da5ff9d Mon May 17 12:03:57 CDT 2021 Danielle Ratson <danieller@nvidia.com> mlxsw: Verify the accessed index doesn't exceed the array length

There are few cases in which an array index queried from a fw register,
is accessed without any validation that it doesn't exceed the array
length.

Add a proper length validation, so accessing memory past the end of an
array will be forbidden.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>