Revision 22d65765f211cc83186fd8b87521159f354c0da9 authored by Andrej Shadura on 16 September 2021, 16:33:11 UTC, committed by Jiri Kosina on 22 September 2021, 07:31:18 UTC
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>
1 parent d46ef75
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.6 KB |
Makefile | -rw-r--r-- | 398 bytes |
cf-fsi-fw.h | -rw-r--r-- | 4.7 KB |
fsi-core.c | -rw-r--r-- | 32.6 KB |
fsi-master-aspeed.c | -rw-r--r-- | 15.9 KB |
fsi-master-ast-cf.c | -rw-r--r-- | 37.0 KB |
fsi-master-gpio.c | -rw-r--r-- | 20.9 KB |
fsi-master-hub.c | -rw-r--r-- | 7.3 KB |
fsi-master.h | -rw-r--r-- | 5.8 KB |
fsi-occ.c | -rw-r--r-- | 14.6 KB |
fsi-sbefifo.c | -rw-r--r-- | 26.6 KB |
fsi-scom.c | -rw-r--r-- | 14.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...