Re: [PATCH] ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 20 Aug 2017 08:54:26 +0200,
Takashi Sakamoto wrote:
> 
> When calling 'iso_resource_free()' for uninitialized data, this function
> causes NULL pointer dereference due to its 'unit' member. This occurs when
> unplugging audio and music units on IEEE 1394 bus at failure of card
> registration.
> 
> This commit fixes the bug. The bug exists since kernel v4.5.
> 
> Fixes: 324540c4e05c ('ALSA: fireface: postpone sound card registration') at v4.12
> Fixes: 8865a31e0fd8 ('ALSA: firewire-motu: postpone sound card registration') at v4.12
> Fixes: b610386c8afb ('ALSA: firewire-tascam: deleyed registration of sound card') at v4.7
> Fixes: 86c8dd7f4da3 ('ALSA: firewire-digi00x: delayed registration of sound card') at v4.7
> Fixes: 6c29230e2a5f ('ALSA: oxfw: delayed registration of sound card') at v4.7
> Fixes: 7d3c1d5901aa ('ALSA: fireworks: delayed registration of sound card') at v4.7
> Fixes: 04a2c73c97eb ('ALSA: bebob: delayed registration of sound card') at v4.7
> Fixes: b59fb1900b4f ('ALSA: dice: postpone card registration') at v4.5
> Cc: <stable@xxxxxxxxxxxxxxx> # v4.5+
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>

Applied, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux