CVE-2026-23227

drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free

State
Published
Severity
7.8 High
Published
Feb 18, 2026
Updated
Aug 5, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d3b62dbfc7b9bb013926f56db79b60f6c18c392f to before 56966a4cfa925ec24edb68ab652a740a7abe2c4dAffected
  • d3b62dbfc7b9bb013926f56db79b60f6c18c392f to before 9e1ef9396a1899925911b1729cb65665420268dfAffected
  • d3b62dbfc7b9bb013926f56db79b60f6c18c392f to before 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5Affected
  • d3b62dbfc7b9bb013926f56db79b60f6c18c392f to before 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13Affected
  • d3b62dbfc7b9bb013926f56db79b60f6c18c392f to before abfdf449fb3d7b42e85a1ad1c8694b768b1582f4Affected
  • d3b62dbfc7b9bb013926f56db79b60f6c18c392f to before 60b75407c172e1f341a8a5097c5cbc97dbbdd893Affected
  • d3b62dbfc7b9bb013926f56db79b60f6c18c392f to before 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385Affected
  • d3b62dbfc7b9bb013926f56db79b60f6c18c392f to before 52b330799e2d6f825ae2bb74662ec1b10eb954bbAffected
LinuxLinux
  • 3.6Affected
  • before 3.6Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.77 through 6.12.*Not affected
  • 6.18.11 through 6.18.*Not affected
  • 6.19.1 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.