[PATCH v6 3/4] firmware: arm_scmi: Fix scmi_protocol_device_unrequest() race
Hans de Goede
johannes.goede at oss.qualcomm.com
Fri Sep 18 02:26:36 PDT 2026
Hi,
On 15-Sep-26 16:21, Sudeep Holla wrote:
> 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")
Yes, the v6 series was based on v7.2 which did not have this yet.
I'll drop this for the upcoming v7.
Regards,
Hans
More information about the linux-arm-kernel
mailing list