[PATCH v2] ALSA: hda: handle UAF at probe error
Takashi Iwai
tiwai at suse.de
Fri Apr 15 09:27:14 CEST 2022
On Thu, 14 Apr 2022 20:24:37 +0200,
Nirmoy Das wrote:
>
> Call snd_card_free_on_error() on probe error instead of
> calling snd_card_free() which should handle devres call orders.
This won't change any practical behavior, because HD-audio driver
doesn't use snd_devm_card_new(). snd_card_free() still gets called
explicitly in the relevant code paths.
> Issues: https://gitlab.freedesktop.org/drm/intel/-/issues/5701
So it must be a different cause for this problem...
thanks,
Takashi
More information about the Alsa-devel
mailing list