Re: [BUG] KASAN: slab-use-after-free in ALSA OSS read/poll race

From: Jaeyoung Chung

Date: Fri Apr 24 2026 - 03:12:36 EST


On Fri, Apr 24, 2026 at 12:26 AM Takashi Iwai <tiwai@xxxxxxx> wrote:
>
> Thanks for the report. I see the point, and IMO, a better fix is to
> protect runtime->oss.trigger access with the mutex. We can change the
> bit fields to bool as a separate patch, but it shouldn't be considered
> as an ad hoc fix.
>
> Could you submit a proper patch after verifying that it fixes your
> fuzzer?
>
>
> thanks,
>
> Takashi

Hi Takashi,

Thank you for taking a look.

Since we are not very familiar with this subsystem, we are a bit cautious
about preparing a patch ourselves.

If you could suggest a patch or a preferred fix direction, we would be
happy to test it on our reproducer and report the results.

Best,
Jaeyoung