[PATCH v6 3/4] firmware: arm_scmi: Fix scmi_protocol_device_unrequest() race
Sudeep Holla
sudeep.holla at kernel.org
Tue Sep 15 07:21:36 PDT 2026
On Fri, Sep 11, 2026 at 05:23:28PM +0200, Hans de Goede wrote:
> scmi_protocol_device_unrequest() unlocks scmi_requested_devices_mtx during
> the notifier call. During this window phead might have been deleted by
> another racing scmi_protocol_device_unrequest().
>
> Re-acquire phead before cleaning it up to avoid this potential double
> free problem.
>
Does the below address this issue already ?
Commit 2c4097e6c4ae ("firmware: arm_scmi: Fix requested device removal race")
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list