From: Takashi Iwai <tiwai@suse.de>
To: Nirmoy Das <nirmoy.das@intel.com>
Cc: alsa-devel@alsa-project.org, lucas.demarchi@intel.com,
tiwai@suse.com, kai.vehmanen@linux.intel.com,
matthew.auld@intel.com
Subject: Re: [PATCH v2] ALSA: hda: handle UAF at probe error
Date: Fri, 15 Apr 2022 09:27:14 +0200 [thread overview]
Message-ID: <s5h5yna4xil.wl-tiwai@suse.de> (raw)
In-Reply-To: <20220414182437.14944-1-nirmoy.das@intel.com>
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
next prev parent reply other threads:[~2022-04-15 7:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220414182437.14944-1-nirmoy.das@intel.com>
2022-04-15 4:23 ` [PATCH v2] ALSA: hda: handle UAF at probe error Lucas De Marchi
2022-04-15 8:24 ` Das, Nirmoy
2022-04-15 7:27 ` Takashi Iwai [this message]
2022-04-15 8:16 ` Das, Nirmoy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5h5yna4xil.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=kai.vehmanen@linux.intel.com \
--cc=lucas.demarchi@intel.com \
--cc=matthew.auld@intel.com \
--cc=nirmoy.das@intel.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox