[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cf7dcdf8-6b81-4e80-b358-f20b2f0f576c@gmx.de>
Date: Tue, 30 Dec 2025 09:38:21 +0100
From: Helge Deller <deller@....de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-fbdev@...r.kernel.org, dri-devel@...ts.freedesktop.org
Cc: linux-kernel@...r.kernel.org, Tianchu Chen <flynnnchen@...cent.com>,
stable <stable@...nel.org>, Steve Glendinning <steve.glendinning@...well.net>
Subject: Re: [PATCH] fbdev: smscufx: properly copy ioctl memory to kernelspace
On 12/28/25 14:17, Greg Kroah-Hartman wrote:
> The UFX_IOCTL_REPORT_DAMAGE ioctl does not properly copy data from
> userspace to kernelspace, and instead directly references the memory,
> which can cause problems if invalid data is passed from userspace. Fix
> this all up by correctly copying the memory before accessing it within
> the kernel.
>
> Reported-by: Tianchu Chen <flynnnchen@...cent.com>
> Cc: stable <stable@...nel.org>
> Cc: Steve Glendinning <steve.glendinning@...well.net>
> Cc: Helge Deller <deller@....de>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> ---
> drivers/video/fbdev/smscufx.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
applied to fbdev git tree.
Thanks!
Helge
Powered by blists - more mailing lists