HID: core: zero-initialize the report buffer
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: 27ce4050 ("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>
-
mentioned in commit 6666ae9c
-
mentioned in commit b420c5f5
-
mentioned in commit 0fc9111e
-
mentioned in commit 853ec04e
-
mentioned in commit 25a43138
-
mentioned in commit e0a0572c
-
mentioned in commit 8a7b621b
-
mentioned in commit 086ea1ad
-
mentioned in commit 909a1e5f
-
mentioned in commit 47ed953e
-
mentioned in commit 1d07eac5
-
mentioned in commit e18a2d09
-
mentioned in commit eb33bcb0
-
mentioned in commit 503d74b6
-
mentioned in commit 680d5eea
-
mentioned in commit 4c69e62e
-
mentioned in commit 3e6ad0bb
-
mentioned in commit 078d4362
-
mentioned in commit be603d50
-
mentioned in commit 3dff1855
-
mentioned in commit 66e9a399
-
mentioned in commit d16c37a7
-
mentioned in commit f53f8f20
-
mentioned in commit 07c59bff
-
mentioned in commit 6a64c8e6
-
mentioned in commit cf8498e1
-
mentioned in commit ffe3b3e4
-
mentioned in commit 167f328f
-
mentioned in commit a0857338
-
mentioned in commit b9b52f3d
-
mentioned in commit 818cb313
-
mentioned in commit f02dd268
-
mentioned in commit 5c1e825c
-
mentioned in commit 81b67e62
-
mentioned in commit 56790fb1
-
mentioned in commit cbb44b1f
-
mentioned in commit e9804015
-
mentioned in commit e5a51f40
-
mentioned in commit ccf67492
-
mentioned in commit 7316d67b
-
mentioned in commit 7dbf216e
-
mentioned in commit cd241a90
-
mentioned in commit c8949393