Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ALSA: dice: fix a fatal bug when no sound card is registered
@ 2016-03-26 12:05 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
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Takashi Sakamoto @ 2016-03-26 12:05 UTC (permalink / raw)
  To: clemens, tiwai; +Cc: alsa-devel, ffado-devel

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.

Takashi Sakamoto (2):
  ALSA: dice: fix NULL pointer dereference at remove units when sound
    card is not registered
  ALSA: firewire-lib: skip releasing stream data when it's not
    initialized

 sound/firewire/amdtp-stream.c     |  4 ++++
 sound/firewire/dice/dice-stream.c | 14 ++++----------
 2 files changed, 8 insertions(+), 10 deletions(-)

-- 
2.7.3

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

end of thread, other threads:[~2016-03-28  7:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-03-28  7:44     ` Takashi Sakamoto

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