Re: [PATCH v2] ALSA: hda: handle UAF at probe error

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

 



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



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

  Powered by Linux