Messages in this thread | | | Date | Tue, 21 Nov 2023 09:36:40 +0100 (CET) | From | Jiri Kosina <> | Subject | Re: [PATCH v2] HID: fix a crash in hid_debug_events_release |
| |
On Tue, 31 Oct 2023, Charles Yi wrote:
> hid_debug_events_release() access released memory by > hid_device_release(). This is fixed by the patch. > > When hid_debug_events_release() was being called, in most case, > hid_device_release() finish already, the memory of list->hdev > freed by hid_device_release(), if list->hdev memory > reallocate by others, and it's modified, zeroed, then > list->hdev->debug_list_lock occasioned crash come out.
I have applied the changelog changes proposed by Rahul and applied, thanks.
-- Jiri Kosina SUSE Labs
| |