mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: dvb-usb: Fix UAF and memory leaks
@ 2021-02-01  8:32 Takashi Iwai
  2021-02-01  8:32 ` [PATCH v2 1/2] media: dvb-usb: Fix memory leak at error in dvb_usb_device_init() Takashi Iwai
  2021-02-01  8:32 ` [PATCH v2 2/2] media: dvb-usb: Fix use-after-free access Takashi Iwai
  0 siblings, 2 replies; 3+ messages in thread
From: Takashi Iwai @ 2021-02-01  8:32 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: linux-media, linux-kernel, Stefan Seyfried, Robert Foss, Sean Young

Hi,

here is a revised 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.

This revision addressed the double-free bug Sean pointed.

I added Robert's R-b tag only to patch#2, as patch#1 differs from the
v1 significantly.


thanks,

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 | 70 +++++++++++++++---------
 1 file changed, 44 insertions(+), 26 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-01  8:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01  8:32 [PATCH v2 0/2] media: dvb-usb: Fix UAF and memory leaks Takashi Iwai
2021-02-01  8:32 ` [PATCH v2 1/2] media: dvb-usb: Fix memory leak at error in dvb_usb_device_init() Takashi Iwai
2021-02-01  8:32 ` [PATCH v2 2/2] media: dvb-usb: Fix use-after-free access Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®