Thread (2 messages) 2 messages, 2 authors, 2016-01-19

Re: [PATCH] HID: core: prevent out-of-bound readings

flat view

From: Jiri Kosina <jikos@kernel.org>
Date: 2016-01-19 13:15:35
Also in: lkml

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 <redacted>
Applied to for-4.5/upstream-fixes. Thanks,

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help