Files
linux-stable-mirror/drivers/hid
Jiri Kosina 1884ab3d22 HID: core: zero-initialize the report buffer
[ Upstream commit 177f25d129 ]

Since the report buffer is used by all kinds of drivers in various ways, let's
zero-initialize it during allocation to make sure that it can't be ever used
to leak kernel memory via specially-crafted report.

Fixes: 27ce405039 ("HID: fix data access in implement()")
Reported-by: Benoît Sevens <bsevens@google.com>
Acked-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-14 13:15:10 +01:00
..
2024-04-27 17:07:09 +02:00
2024-04-27 17:07:09 +02:00