diff options
| author | 2021-09-16 17:33:11 +0100 | |
|---|---|---|
| committer | 2021-09-30 10:08:03 +0200 | |
| commit | 38245d0340ea732057f69b957de609cec56cd061 (patch) | |
| tree | 18cc7ac0999d587025d17e6e8ae24667887d18bd /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | HID: amd_sfh: Fix potential NULL pointer dereference (diff) | |
HID: u2fzero: ignore incomplete packets without data
Since the actual_length calculation is performed unsigned, packets
shorter than 7 bytes (e.g. packets without data or otherwise truncated)
or non-received packets ("zero" bytes) can cause buffer overflow.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=214437
Fixes: 42337b9d4d958("HID: add driver for U2F Zero built-in LED and RNG")
Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
