CVE-2026-23236: fbdev: smscufx: properly copy ioctl memory to kernelspace
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
fbdev: smscufx: properly copy ioctl memory to kernelspace
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.
The Linux kernel CVE team has assigned CVE-2026-23236 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.251 with commit 061cfeb560aa3ddc174153dbe5be9d0b55eb7248 Fixed in 5.15.201 with commit 6167af934f956d3ae1e06d61f45cd0d1004bbe1a Fixed in 6.1.164 with commit a0321e6e58facb39fe191caa0e52ed9aab6a48fe Fixed in 6.6.127 with commit 0634e8d650993602fc5b389ff7ac525f6542e141 Fixed in 6.12.74 with commit 52917e265aa5f848212f60fc50fc504d8ef12866 Fixed in 6.18.13 with commit 1c008ad0f0d1c1523902b9cdb08e404129677bfc Fixed in 6.19.3 with commit f1e91bd4efeae48b0f42caed7e8ce2e3a0d05b02 Fixed in 7.0-rc1 with commit 120adae7b42faa641179270c067864544a50ab69
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-23236
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/video/fbdev/smscufx.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/061cfeb560aa3ddc174153dbe5be9d0b55eb7248 https://git.kernel.org/stable/c/6167af934f956d3ae1e06d61f45cd0d1004bbe1a https://git.kernel.org/stable/c/a0321e6e58facb39fe191caa0e52ed9aab6a48fe https://git.kernel.org/stable/c/0634e8d650993602fc5b389ff7ac525f6542e141 https://git.kernel.org/stable/c/52917e265aa5f848212f60fc50fc504d8ef12866 https://git.kernel.org/stable/c/1c008ad0f0d1c1523902b9cdb08e404129677bfc https://git.kernel.org/stable/c/f1e91bd4efeae48b0f42caed7e8ce2e3a0d05b02 https://git.kernel.org/stable/c/120adae7b42faa641179270c067864544a50ab69