[PATCH] firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
Sudeep Holla
sudeep.holla at arm.com
Wed Jul 6 02:39:01 PDT 2022
On Fri, 1 Jul 2022 17:03:10 +0100, Sudeep Holla wrote:
> When scpi probe fails, at any point, we need to ensure that the scpi_info
> is not set and will remain NULL until the probe succeeds. If it is not
> taken care, then it could result in kernel panic with a NULL pointer
> dereference.
>
>
Applied to sudeep.holla/linux (for-next/scmi), thanks!
[1/1] firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
https://git.kernel.org/sudeep.holla/c/689640efc0
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list