mbox series

[0/2] media: dvb-usb: Fix UAF and memory leaks

Message ID 20210120102057.21143-1-tiwai@suse.de
Headers show
Series media: dvb-usb: Fix UAF and memory leaks | expand

Message

Takashi Iwai Jan. 20, 2021, 10:20 a.m. UTC
Hi,

here is a patch set to address the use-after-free at disconnecting
a USB DVB device that was recently reported on openSUSE Bugzilla.
The bug itself seems to be a long-standing one, and I spotted
another memory leak there, which is covered in the first patch.


Takashi

===

Takashi Iwai (2):
  media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
  media: dvb-usb: Fix use-after-free access

 drivers/media/usb/dvb-usb/dvb-usb-init.c | 41 +++++++++++++++---------
 1 file changed, 25 insertions(+), 16 deletions(-)