[alsa-devel] [PATCH v2] snd/hda: fix use-after-free after module unload
Takashi Iwai
tiwai at suse.de
Mon Jul 11 20:10:15 CEST 2016
On Mon, 11 Jul 2016 19:51:06 +0200,
Peter Wu wrote:
>
> register_vga_switcheroo() sets the PM ops from the hda structure which
> is freed later in azx_free. Make sure that these ops are cleared.
>
> Caught by KASAN, initially noticed due to a general protection fault.
>
> Fixes: 246efa4a072f ("snd/hda: add runtime suspend/resume on optimus support (v4)")
> Signed-off-by: Peter Wu <peter at lekensteyn.nl>
> ---
> Maybe Cc stable?
Yes, I applied with Cc to stable now.
thanks,
Takashi
More information about the Alsa-devel
mailing list