summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-01-19 12:34:58 +0100
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-18 16:59:58 -0800
commita10d83024d9ed7dd46a422aff87e293fccf81879 (patch)
treed161ade4d381b472351df7f3d84246f04c4c6ef7 /kernel/fork.c
parentd62ea949573ec2a9be7f9921e0e7cfd6cb689274 (diff)
HID: core: prevent out-of-bound readings
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. Change-Id: I3b04131079a27f0b1cd60df03c793e8d9ffe5e91 Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git Git-commit: 50220dead1650609206efe91f0cc116132d59b3f Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions