CVE-2026-43287: drm: Account property blob allocations to memcg
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm: Account property blob allocations to memcg
DRM_IOCTL_MODE_CREATEPROPBLOB allows userspace to allocate arbitrary-sized property blobs backed by kernel memory.
Currently, the blob data allocation is not accounted to the allocating process's memory cgroup, allowing unprivileged users to trigger unbounded kernel memory consumption and potentially cause system-wide OOM.
Mark the property blob data allocation with GFP_KERNEL_ACCOUNT so that the memory is properly charged to the caller's memcg. This ensures existing cgroup memory limits apply and prevents uncontrolled kernel memory growth without introducing additional policy or per-file limits.
The Linux kernel CVE team has assigned CVE-2026-43287 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.252 with commit b6117210ed349356f8e6027ff020b4d620bca42b Fixed in 5.15.202 with commit 815fa29cab3c67bebb9d0b5f41145cdd3a14d04d Fixed in 6.1.165 with commit 866e0c1a9e7244d58ed74853cb22b81e1900cfdd Fixed in 6.6.128 with commit bbfaa5761f589a81031b493cb01275a990d6fb25 Fixed in 6.12.75 with commit 8e1664b9ee43608eb973d357ae5d858d30cbc9ca Fixed in 6.18.16 with commit cb8b9a1755fe9f38e4fb7f287486d7e7fab3dba4 Fixed in 6.19.6 with commit 405fd652d8fedff219a8f48daf8f20e881e303ab Fixed in 7.0 with commit 26b4309a3ab82a0697751cde52eb336c29c19035
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-43287
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/gpu/drm/drm_property.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/b6117210ed349356f8e6027ff020b4d620bca42b https://git.kernel.org/stable/c/815fa29cab3c67bebb9d0b5f41145cdd3a14d04d https://git.kernel.org/stable/c/866e0c1a9e7244d58ed74853cb22b81e1900cfdd https://git.kernel.org/stable/c/bbfaa5761f589a81031b493cb01275a990d6fb25 https://git.kernel.org/stable/c/8e1664b9ee43608eb973d357ae5d858d30cbc9ca https://git.kernel.org/stable/c/cb8b9a1755fe9f38e4fb7f287486d7e7fab3dba4 https://git.kernel.org/stable/c/405fd652d8fedff219a8f48daf8f20e881e303ab https://git.kernel.org/stable/c/26b4309a3ab82a0697751cde52eb336c29c19035