Re: [BUG] media: cx88-alsa: Found a bug at the probe time

From: Zheyu Ma
Date: Sat Jul 16 2022 - 20:05:47 EST


On Sun, Jul 17, 2022 at 3:03 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> Hi--
>
> On 7/14/22 18:54, Zheyu Ma wrote:
> > Hello,
> >
> > I found a bug in the driver cx88-alsa.
> >
> > When the driver fails in the function snd_cx88_create() at the probe
> > time, it will cause a UAF bug as follows:
>
> It's not a UAF. It's a WARN() macro with an IRQ management problem,
> as shown in the next 2 lines below:

You are right, that is indeed just a warning :)

regards,

Zheyu Ma