diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2022-08-17 18:27:28 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-08-22 18:02:59 +0100 |
commit | 76f89c954788763db575fb512a40bd483864f1e9 (patch) | |
tree | c9597c80b81c59101ed060b90fbd7c35517e8a50 /lib/mpi/mpiutil.c | |
parent | 1ecb7d27b1af6705e9a4e94415b4d8cc8cf2fbfb (diff) |
firmware: arm_scmi: Harden accesses to the sensor domains
Accessing sensor domains descriptors by the index upon the SCMI drivers
requests through the SCMI sensor operations interface can potentially
lead to out-of-bound violations if the SCMI driver misbehave.
Add an internal consistency check before any such domains descriptors
accesses.
Link: https://lore.kernel.org/r/20220817172731.1185305-4-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions