diff options
| author | Dan Carpenter <[email protected]> | 2022-02-28 07:43:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-03-01 21:42:32 +0000 |
| commit | fc7f750dc9d102c1ed7bbe4591f991e770c99033 (patch) | |
| tree | b78435c9ec5eba185ef09c9b42473d7751903bc1 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | Linux 5.17-rc6 (diff) | |
| download | kernel-fc7f750dc9d102c1ed7bbe4591f991e770c99033.tar.gz kernel-fc7f750dc9d102c1ed7bbe4591f991e770c99033.zip | |
staging: gdm724x: fix use after free in gdm_lte_rx()
The netif_rx_ni() function frees the skb so we can't dereference it to
save the skb->len.
Fixes: 61e121047645 ("staging: gdm7240: adding LTE USB driver")
Cc: stable <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/20220228074331.GA13685@kili
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
