diff options
author | Jiri Kosina <jkosina@suse.com> | 2024-10-29 17:44:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-14 15:20:57 +0300 |
commit | 492015e6249fbcd42138b49de3c588d826dd9648 (patch) | |
tree | 42646d48cedd49af65cf64cf9dbb25a479d12fc0 /drivers/of/.kunitconfig | |
parent | 905144a778c610edbd0bb64a8a47b97b945dc43d (diff) | |
download | linux-492015e6249fbcd42138b49de3c588d826dd9648.tar.xz |
HID: core: zero-initialize the report buffer
[ Upstream commit 177f25d1292c7e16e1199b39c85480f7f8815552 ]
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: 27ce405039bf ("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>
Diffstat (limited to 'drivers/of/.kunitconfig')
0 files changed, 0 insertions, 0 deletions