linux-stable/drivers/staging/gdm724x
Dan Carpenter 9f0800bd93 staging: gdm724x: check for overflow in gdm_lte_netif_rx()
[ Upstream commit 7002b526f4 ]

This code assumes that "len" is at least 62 bytes, but we need a check
to prevent a read overflow.

Fixes: 61e1210476 ("staging: gdm7240: adding LTE USB driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YMcoTPsCYlhh2TQo@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:53:44 +02:00
..
gdm_endian.c
gdm_endian.h
gdm_lte.c staging: gdm724x: check for overflow in gdm_lte_netif_rx() 2021-07-14 16:53:44 +02:00
gdm_lte.h
gdm_mux.c
gdm_mux.h
gdm_tty.c
gdm_tty.h
gdm_usb.c
gdm_usb.h
hci.h
hci_packet.h
Kconfig
Makefile
netlink_k.c
netlink_k.h
TODO