WSL2-Linux-Kernel/drivers/staging
Dan Carpenter e230a4455a staging: rtl8712: fix use after free bugs
_Read/Write_MACREG callbacks are NULL so the read/write_macreg_hdl()
functions don't do anything except free the "pcmd" pointer.  It
results in a use after free.  Delete them.

Fixes: 2865d42c78 ("staging: r8712u: Add the new driver to the mainline kernel")
Cc: stable <stable@kernel.org>
Reported-by: Zheng Wang <hackerzheng666@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/Yw4ASqkYcUhUfoY2@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-30 17:15:16 +02:00
..
axis-fifo
board
clocking-wizard
emxx_udc
fbtft staging: fbtft: core: set smem_len before fb_deferred_io_init call 2022-07-28 10:42:42 +02:00
fieldbus
fwserial
gdm724x staging: gdm724x: drop unused CDC defines 2022-07-25 10:57:42 +02:00
greybus
iio
ks7010
media hantro: Remove incorrect HEVC SPS validation 2022-07-27 20:55:02 +02:00
most
nvec
octeon
olpc_dcon
pi433 staging: pi433: remove duplicated comments 2022-07-27 08:42:14 +02:00
qlge Staging driver patches for 6.0-rc1 2022-08-04 12:01:42 -07:00
r8188eu staging: r8188eu: Add Rosewill USB-N150 Nano to device tables 2022-08-16 15:25:00 +02:00
rtl8192e
rtl8192u
rtl8712 staging: rtl8712: fix use after free bugs 2022-08-30 17:15:16 +02:00
rtl8723bs Staging driver patches for 6.0-rc1 2022-08-04 12:01:42 -07:00
rts5208
sm750fb
vc04_services
vme_user
vt6655 Staging driver patches for 6.0-rc1 2022-08-04 12:01:42 -07:00
vt6656
wlan-ng Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-07-14 15:27:35 -07:00
Kconfig
Makefile