[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hh7lk3jzd.wl-tiwai@suse.de>
Date: Tue, 09 Mar 2021 07:43:34 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Pavel Skripkin <paskripkin@...il.com>
Cc: perex@...ex.cz, tiwai@...e.com, kai.heng.feng@...onical.com,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH next 2/2] sound: usb: fix use after free in usb_audio_disconnect
On Mon, 08 Mar 2021 23:30:57 +0100,
Pavel Skripkin wrote:
>
> The problem was in wrong "if" placement. chip->quirk_type is freed
> in snd_card_free_when_closed(), but inside if statement it's accesed.
>
> Fixes: 9799110825db ("ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()"
> Signed-off-by: Pavel Skripkin <paskripkin@...il.com>
Thanks, applied now.
Takashi
Powered by blists - more mailing lists