linux/drivers/staging
Dan Carpenter 19e3f69d19 staging: rtl8712: fix use after free bugs
commit e230a4455a upstream.

_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-09-08 11:11:37 +02:00
..
android staging: ion: Prevent incorrect reference counting behavour 2022-04-27 13:53:57 +02:00
axis-fifo
board
clocking-wizard
comedi comedi: vmk80xx: fix expression for tx buffer size 2022-06-22 14:13:18 +02:00
emxx_udc
fbtft staging: fbtft: fb_st7789v: reset display before initialization 2022-03-28 09:57:08 +02:00
fieldbus staging: fieldbus: Fix the error handling path in anybuss_host_common_probe() 2022-06-14 18:32:31 +02:00
fsl-dpaa2
fwserial
gasket
gdm724x staging: gdm724x: fix use after free in gdm_lte_rx() 2022-03-16 14:16:01 +01:00
goldfish
greybus staging: greybus: codecs: fix type confusion of list iterator variable 2022-06-14 18:32:30 +02:00
gs_fpgaboot
hikey9xx
iio staging:iio:adc:ad7280a: Fix handing of device address bit reversing. 2022-04-08 14:40:24 +02:00
kpc2000
ks7010
media media: cedrus: hevc: Add check for invalid timestamp 2022-08-21 15:15:50 +02:00
most
mt7621-dma
mt7621-dts staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet 2022-04-08 14:40:42 +02:00
mt7621-pci
mt7621-pci-phy
mt7621-pinctrl pinctrl: ralink: Check for null return of devm_kcalloc 2022-07-29 17:19:11 +02:00
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
qlge
ralink-gdma
rtl8188eu
rtl8192e drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop() 2022-06-14 18:32:42 +02:00
rtl8192u staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback 2022-08-21 15:15:57 +02:00
rtl8712 staging: rtl8712: fix use after free bugs 2022-09-08 11:11:37 +02:00
rtl8723bs staging: rtl8723bs: prevent ->Ssid overflow in rtw_wx_set_scan() 2022-05-30 09:33:22 +02:00
rts5208
sm750fb
unisys
vc04_services staging: vchiq_core: handle NULL result of find_service_by_handle 2022-04-13 21:01:01 +02:00
vme
vt6655
vt6656
wfx staging: wfx: fix an error handling in wfx_init_common() 2022-04-13 21:01:01 +02:00
wlan-ng
Kconfig
Makefile