[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1601191414490.21446@cbobk.fhfr.pm>
Date: Tue, 19 Jan 2016 14:15:04 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Benjamin Tissoires <benjamin.tissoires@...hat.com>
cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: core: prevent out-of-bound readings
On Tue, 19 Jan 2016, Benjamin Tissoires wrote:
> Plugging a Logitech DJ receiver with KASAN activated raises a bunch of
> out-of-bound readings.
>
> The fields are allocated up to MAX_USAGE, meaning that potentially, we do
> not have enough fields to fit the incoming values.
> Add checks and silence KASAN.
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@...hat.com>
Applied to for-4.5/upstream-fixes. Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists