Searched hist:"22 d65765" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hid/ |
H A D | hid-u2fzero.c | 22d65765 Thu Sep 16 11:33:11 CDT 2021 Andrej Shadura <andrew.shadura@collabora.co.uk> 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>
|