# CVE-2026-23227: drm/exynos: vidi: use ctx-\>lock to protect struct vidi\_context member variables related to memory alloc/free

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-18 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2026-23227, DEBIAN-CVE-2026-23227, CGA-3j97-6cvj-5pvc, CGA-83x9-xg3m-53hm, CGA-ph65-9hhx-rr9w, CGA-rwf8-3f3c-gj43, CGA-v9j9-8mm2-v9cv
- Record: https://cvemate.com/vulnerability/CVE-2026-23227 · JSON: https://cvemate.com/vulnerability/CVE-2026-23227/json

## Description

````text
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.
````

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.17%, percentile 6.661%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 166)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.78-r0
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.78-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.78-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.78-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.78-r0
- debian linux (Debian): \< 6.1.170-1 \| \< 6.12.85-1 \| \< 6.18.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-186.196 \| \< 6.8.0-136.136
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119 \| \< 6.8.0-1061.64
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 41)

- <https://git.kernel.org/stable/c/56966a4cfa925ec24edb68ab652a740a7abe2c4d>
- <https://git.kernel.org/stable/c/9e1ef9396a1899925911b1729cb65665420268df>
- <https://git.kernel.org/stable/c/92dd1f38d7db75374dcdaf54f1d79d67bffd54e5>
- <https://git.kernel.org/stable/c/1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13>
- <https://git.kernel.org/stable/c/abfdf449fb3d7b42e85a1ad1c8694b768b1582f4>
- <https://git.kernel.org/stable/c/60b75407c172e1f341a8a5097c5cbc97dbbdd893>
- <https://git.kernel.org/stable/c/0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385>
- <https://git.kernel.org/stable/c/52b330799e2d6f825ae2bb74662ec1b10eb954bb>
- <https://ubuntu.com/security/CVE-2026-23227>
- <https://www.cve.org/CVERecord?id=CVE-2026-23227>
- <https://ubuntu.com/security/notices/USN-8567-1>
- <https://ubuntu.com/security/notices/USN-8574-1>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>
- <https://ubuntu.com/security/notices/USN-8574-2>
- <https://ubuntu.com/security/notices/USN-8595-1>
- <https://ubuntu.com/security/notices/USN-8596-1>
- <https://ubuntu.com/security/notices/USN-8575-2>
- <https://ubuntu.com/security/notices/USN-8576-2>
- <https://ubuntu.com/security/notices/USN-8597-1>

---

Data as of 2026-12-05T04:47:06.538Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
