[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2205061046570.28985@cbobk.fhfr.pm>
Date: Fri, 6 May 2022 10:47:11 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Dongliang Mu <dzm91@...t.edu.cn>
cc: Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Dongliang Mu <mudongliangabcd@...il.com>,
syzkaller <syzkaller@...glegroups.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] HID: bigben: fix slab-out-of-bounds Write in
bigben_probe
On Fri, 6 May 2022, Dongliang Mu wrote:
> From: Dongliang Mu <mudongliangabcd@...il.com>
>
> There is a slab-out-of-bounds Write bug in hid-bigbenff driver.
> The problem is the driver assumes the device must have an input but
> some malicious devices violate this assumption.
>
> Fix this by checking hid_device's input is non-empty before its usage.
>
> Reported-by: syzkaller <syzkaller@...glegroups.com>
> Signed-off-by: Dongliang Mu <mudongliangabcd@...il.com>
Applied. thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists