linux-stable/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 staging: greybus: audio: replace safe list iteration 2022-06-10 14:47:42 +02:00
iio
ks7010
media hantro: Remove incorrect HEVC SPS validation 2022-07-27 20:55:02 +02:00
most
nvec
octeon staging: switch to netif_napi_add_weight() 2022-07-08 14:28:21 +02:00
olpc_dcon Merge 5.19-rc3 into staging-next 2022-06-20 08:59:23 +02:00
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 Staging: rtl8192e: Added spaces around '+' 2022-07-08 14:25:46 +02:00
rtl8192u staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback 2022-07-11 10:05:35 +02:00
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 staging: rts5208: spi.c: fix codestyle error in dynamic debug code 2022-06-06 07:53:49 +02:00
sm750fb staging: sm750fb: fix CamelCase function parameter 2022-06-20 10:01:21 +02:00
vc04_services staging: vchiq_arm: Add missing memory barrier comments 2022-06-27 13:50:19 +02:00
vme_user vme: move back to staging 2022-06-10 15:38:14 +02:00
vt6655 Staging driver patches for 6.0-rc1 2022-08-04 12:01:42 -07:00
vt6656 wifi: mac80211: return a beacon for a specific link 2022-06-20 12:57:08 +02:00
wlan-ng Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-07-14 15:27:35 -07:00
Kconfig staging: octeon-usb: move driver out of staging 2022-06-21 16:43:37 +02:00
Makefile staging: octeon-usb: move driver out of staging 2022-06-21 16:43:37 +02:00