[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2109151631410.15944@cbobk.fhfr.pm>
Date: Wed, 15 Sep 2021 16:31:48 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: "F.A.Sulaiman" <asha.16@...ac.mrt.ac.lk>
cc: benjamin.tissoires@...hat.com, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, paskripkin@...il.com
Subject: Re: [PATCH v3] HID: betop: fix slab-out-of-bounds Write in
betop_probe
On Tue, 24 Aug 2021, F.A.Sulaiman wrote:
> Syzbot reported slab-out-of-bounds Write bug in hid-betopff driver.
> The problem is the driver assumes the device must have an input report but
> some malicious devices violate this assumption.
>
> So this patch checks hid_device's input is non empty before it's been used.
>
> Reported-by: syzbot+07efed3bc5a1407bd742@...kaller.appspotmail.com
> Signed-off-by: F.A. SULAIMAN <asha.16@...ac.mrt.ac.lk>
Applied, thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists