[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2311210936160.29220@cbobk.fhfr.pm>
Date: Tue, 21 Nov 2023 09:36:40 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Charles Yi <be286@....com>
cc: benjamin.tissoires@...hat.com, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
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
Powered by blists - more mailing lists