From: Takashi Iwai <tiwai@suse.de>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: alsa-devel@alsa-project.org, clemens@ladisch.de,
ffado-devel@lists.sf.net
Subject: Re: [PATCH 0/2] ALSA: dice: fix a fatal bug when no sound card is registered
Date: Mon, 28 Mar 2016 09:36:11 +0200 [thread overview]
Message-ID: <s5hzitj6olw.wl-tiwai@suse.de> (raw)
In-Reply-To: <56F8696B.8000704@sakamocchi.jp>
On Mon, 28 Mar 2016 01:14:51 +0200,
Takashi Sakamoto wrote:
>
> Hi,
>
> On Mar 26 2016 21:05, Takashi Sakamoto wrote:
> > Hi,
> >
> > This patchset is for Linux 4.6-rc2.
> >
> > ALSA dice driver causes kernel NULL pointer dereference in a case that
> > no sound card instance is registered and unit is going to be removed.
> > This is observed when dice-based units are connected to Linux system and
> > disconnected within 2 seconds, thus it's rare.
> >
> > Additionally, even if the bug is fixed, the driver dumps warnings for
> > most dice-based models which supports a pair of isochronous streams.
> > This can occur regardless of the former bug. Users can see this for
> > unsupported dice-based models.
> >
> > This patchset fixes these bugs.
>
> I realized that this patchset is not proper to Linux 4.6-rc2. The stream
> data is confirmed to initialized in unit probe callback, and safely
> released when releasing private data. I worked on the other branch and
> had a confusion. So please drop this.
>
> However, current ALSA dice driver has a bug not to release stream data
> when releasing private data. This causes memory leak and should be fixed
> in 4.6-rc2. I'll post a patch for the bug soon.
So, I don't need to pick up this patchset after applying your fix
([PATCH v2] ALSA: dice: fix memory leak when unplugging)?
thanks,
Takashi
next prev parent reply other threads:[~2016-03-28 7:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-26 12:05 [PATCH 0/2] ALSA: dice: fix a fatal bug when no sound card is registered Takashi Sakamoto
2016-03-26 12:05 ` [PATCH 1/2] ALSA: dice: fix NULL pointer dereference at remove units when sound card is not registered Takashi Sakamoto
2016-03-26 12:05 ` [PATCH 2/2] ALSA: firewire-lib: skip releasing stream data when it's not initialized Takashi Sakamoto
2016-03-27 23:14 ` [PATCH 0/2] ALSA: dice: fix a fatal bug when no sound card is registered Takashi Sakamoto
2016-03-28 7:36 ` Takashi Iwai [this message]
2016-03-28 7:44 ` Takashi Sakamoto
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=s5hzitj6olw.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=ffado-devel@lists.sf.net \
--cc=o-takashi@sakamocchi.jp \
/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