[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <878qfct9le.wl-tiwai@suse.de>
Date: Tue, 09 Dec 2025 08:09:33 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Junrui Luo <moonafterrain@...look.com>
Cc: Clemens Ladisch <clemens@...isch.de>,
Takashi Sakamoto <o-takashi@...amocchi.jp>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Takashi Iwai <tiwai@...e.de>,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: firewire-motu: add bounds check in put_user loop for DSP events
On Tue, 09 Dec 2025 06:16:41 +0100,
Junrui Luo wrote:
>
> In the DSP event handling code, a put_user() loop copies event data.
> When the user buffer size is not aligned to 4 bytes, it could overwrite
> beyond the buffer boundary.
>
> Fix by adding a bounds check before put_user().
>
> Suggested-by: Takashi Iwai <tiwai@...e.de>
> Fixes: 634ec0b2906e ("ALSA: firewire-motu: notify event for parameter change in register DSP model")
> Signed-off-by: Junrui Luo <moonafterrain@...look.com>
Applied now. Thanks.
Takashi
Powered by blists - more mailing lists