diff options
| author | Andrej Shadura <[email protected]> | 2021-09-16 17:33:11 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-09-30 10:08:03 +0200 |
| commit | 38245d0340ea732057f69b957de609cec56cd061 (patch) | |
| tree | 18cc7ac0999d587025d17e6e8ae24667887d18bd /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ef11357046512918ab876aa0f837b0a6de65a3c6 (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 <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions