Linux kernel Exynos DRM UAF via unprotected memory in vidi_context
CVE-2026-23227 Published on February 18, 2026
drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free
In the Linux kernel, the following vulnerability has been resolved:
drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free
Exynos Virtual Display driver performs memory alloc/free operations
without lock protection, which easily causes concurrency problem.
For example, use-after-free can occur in race scenario like this:
```
CPU0 CPU1 CPU2
---- ---- ----
vidi_connection_ioctl()
if (vidi->connection) // true
drm_edid = drm_edid_alloc(); // alloc drm_edid
...
ctx->raw_edid = drm_edid;
...
drm_mode_getconnector()
drm_helper_probe_single_connector_modes()
vidi_get_modes()
if (ctx->raw_edid) // true
drm_edid_dup(ctx->raw_edid);
if (!drm_edid) // false
...
vidi_connection_ioctl()
if (vidi->connection) // false
drm_edid_free(ctx->raw_edid); // free drm_edid
...
drm_edid_alloc(drm_edid->edid)
kmemdup(edid); // UAF!!
...
```
To prevent these vulns, at least in vidi_context, member variables related
to memory alloc/free should be protected with ctx->lock.
Products Associated with CVE-2026-23227
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-23227 are published in Linux Kernel:
Affected Versions
Linux:- Version d3b62dbfc7b9bb013926f56db79b60f6c18c392f and below 60b75407c172e1f341a8a5097c5cbc97dbbdd893 is affected.
- Version d3b62dbfc7b9bb013926f56db79b60f6c18c392f and below 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385 is affected.
- Version d3b62dbfc7b9bb013926f56db79b60f6c18c392f and below 52b330799e2d6f825ae2bb74662ec1b10eb954bb is affected.
- Version 3.6 is affected.
- Before 3.6 is unaffected.
- Version 6.18.11, <= 6.18.* is unaffected.
- Version 6.19.1, <= 6.19.* is unaffected.
- Version 7.0-rc1, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.