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

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
..
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO
gdm_endian.c staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_endian.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_lte.c staging: gdm724x: check for overflow in gdm_lte_netif_rx() 2021-07-14 16:53:44 +02:00
gdm_lte.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_mux.c staging: gdm724x: Do not break expressions 2019-03-18 07:53:39 +01:00
gdm_mux.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_tty.c Staging: gdm724x: use match_string() helper 2018-06-17 09:05:13 +02:00
gdm_tty.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_usb.c staging: gdm724x: Fix DMA from stack 2021-03-04 10:26:46 +01:00
gdm_usb.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
hci.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
hci_packet.h staging: gdm724x: Rename dftEpsId to dft_eps_id 2019-03-21 08:26:52 +01:00
netlink_k.c staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
netlink_k.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00