firmware: arm_scmi: Harden accesses to the reset domains
[ Upstream commit e9076ffb ] Accessing reset domains descriptors by the index upon the SCMI drivers requests through the SCMI reset 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-5-cristian.marussi@arm.com Signed-off-by:Cristian Marussi <cristian.marussi@arm.com> Signed-off-by:
Sudeep Holla <sudeep.holla@arm.com> Stable-dep-of: b75c83d9 ("firmware: arm_scmi: Fix the asynchronous reset requests") Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
9ec5a534
Please register or sign in to comment