Searched hist:"837 ec05cfea08284c575e8e834777b107da5ff9d" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | diff 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 D | minimal.c | diff 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 D | spectrum_switchdev.c | diff 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 D | spectrum_router.c | diff 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 D | spectrum.c | diff 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>
|