[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFcO6XNsqKCzNBiBF4eYyh+RCSGBp_5HSzxF0gw0kgfQ2FDAiQ@mail.gmail.com>
Date: Thu, 29 Sep 2022 22:52:10 +0800
From: butt3rflyh4ck <butterflyhuangxx@...il.com>
To: Takashi Iwai <tiwai@...e.de>
Cc: perex@...ex.cz, tiwai@...e.com,
pierre-louis.bossart@...ux.intel.com, broonie@...nel.org,
alsa-devel@...a-project.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: A divide error bug in snd_pcm_write
This one fixes the problem.
https://lore.kernel.org/all/20220926135558.26580-2-tiwai@suse.de/
Regards,
butt3rflyh4ck.
On Tue, Sep 27, 2022 at 2:01 AM Takashi Iwai <tiwai@...e.de> wrote:
>
> On Mon, 26 Sep 2022 19:16:48 +0200,
> butt3rflyh4ck wrote:
> >
> > The latest kernel upstream.
> > Yes, but using mmap, you can map the runtime->status page, and then
> > copy the data through memcpy to overwrite the status->state data, or
> > even more, which is incredible.
>
> Ah, then that's exactly the case my latest patch set covers.
> Either the first patch or the second patch alone should work.
> https://lore.kernel.org/r/20220926135558.26580-2-tiwai@suse.de
> https://lore.kernel.org/r/20220926135558.26580-3-tiwai@suse.de
>
> Could you verify either of them fixes the problem?
>
>
> thanks,
>
> Takashi
--
Active Defense Lab of Venustech
Powered by blists - more mailing lists