From: Takashi Iwai <tiwai@suse.de>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Stefan Seyfried <seife+kernel@b1-systems.com>,
Robert Foss <robert.foss@linaro.org>, Sean Young <sean@mess.org>
Subject: [PATCH v2 0/2] media: dvb-usb: Fix UAF and memory leaks
Date: Mon, 1 Feb 2021 09:32:45 +0100 [thread overview]
Message-ID: <20210201083247.10760-1-tiwai@suse.de> (raw)
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
next reply other threads:[~2021-02-01 8:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-01 8:32 Takashi Iwai [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210201083247.10760-1-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robert.foss@linaro.org \
--cc=sean@mess.org \
--cc=seife+kernel@b1-systems.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®