Re: [PATCH 1/2] HID: hiddev: avoid opening a disconnected device

From: Jiri Kosina
Date: Tue Aug 06 2019 - 03:57:26 EST


On Tue, 6 Aug 2019, Hillf Danton wrote:

> In order to avoid opening a disconnected device, we need to check exist
> again after acquiring the existance lock, and bail out if necessary.
>
> Cc: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
> Signed-off-by: Hillf Danton <hdanton@xxxxxxxx>

Could you please add proper Reported-by: reference to syzbot? (in 2/2 as
well).

Thanks,

--
Jiri Kosina
SUSE Labs