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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-02-18T14:53:30.784Z
- **Modified:** 2026-08-05T12:20:45.582Z

## Who should check

- Anyone running Linux \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 56966a4cfa925ec24edb68ab652a740a7abe2c4d; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 9e1ef9396a1899925911b1729cb65665420268df; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< abfdf449fb3d7b42e85a1ad1c8694b768b1582f4; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 60b75407c172e1f341a8a5097c5cbc97dbbdd893; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 52b330799e2d6f825ae2bb74662ec1b10eb954bb
- Anyone running Linux 3.6

## 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.

## Affected and fixed versions

- Linux: \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 56966a4cfa925ec24edb68ab652a740a7abe2c4d; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 9e1ef9396a1899925911b1729cb65665420268df; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< abfdf449fb3d7b42e85a1ad1c8694b768b1582f4; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 60b75407c172e1f341a8a5097c5cbc97dbbdd893; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 52b330799e2d6f825ae2bb74662ec1b10eb954bb (cvelist)
- Linux: 3.6 (cvelist)

## Mitigation

- Upgrade Linux to 52b330799e2d6f825ae2bb74662ec1b10eb954bb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23227. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23227.md
Affected: Linux >= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 56966a4cfa925ec24edb68ab652a740a7abe2c4d; >= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 9e1ef9396a1899925911b1729cb65665420268df; >= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5; >= d3b62dbfc7b9bb013926f56…
Fixed in: Linux 56966a4cfa925ec24edb68ab652a740a7abe2c4d, Linux 9e1ef9396a1899925911b1729cb65665420268df, Linux 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5, Linux 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13, Linux 60b75407c172e1f341a8a5097c5cbc97dbbdd893, Linux 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385, Linux 52b33…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23227 being exploited?

There is no confirmed exploitation: CVE-2026-23227 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23227?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23227?

Linux \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 56966a4cfa925ec24edb68ab652a740a7abe2c4d; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 9e1ef9396a1899925911b1729cb65665420268df; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< abfdf449fb3d7b42e85a1ad1c8694b768b1582f4; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 60b75407c172e1f341a8a5097c5cbc97dbbdd893; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385; \>= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, \< 52b330799e2d6f825ae2bb74662ec1b10eb954bb; Linux 3.6.

### Is there a fix for CVE-2026-23227?

Yes. Fixed in Linux 56966a4cfa925ec24edb68ab652a740a7abe2c4d, Linux 9e1ef9396a1899925911b1729cb65665420268df, Linux 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5, Linux 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13, Linux 60b75407c172e1f341a8a5097c5cbc97dbbdd893, Linux 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385, Linux 52b330799e2d6f825ae2bb74662ec1b10eb954bb. Upgrade Linux to 52b330799e2d6f825ae2bb74662ec1b10eb954bb or later.

### How do I check if I'm affected by CVE-2026-23227?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/abfdf449fb3d7b42e85a1ad1c8694b768b1582f4>
- patch: <https://git.kernel.org/stable/c/60b75407c172e1f341a8a5097c5cbc97dbbdd893>
- patch: <https://git.kernel.org/stable/c/0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385>
- patch: <https://git.kernel.org/stable/c/52b330799e2d6f825ae2bb74662ec1b10eb954bb>
- other: <https://git.kernel.org/stable/c/56966a4cfa925ec24edb68ab652a740a7abe2c4d>
- other: <https://git.kernel.org/stable/c/9e1ef9396a1899925911b1729cb65665420268df>
- other: <https://git.kernel.org/stable/c/92dd1f38d7db75374dcdaf54f1d79d67bffd54e5>
- other: <https://git.kernel.org/stable/c/1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23227>

HTML: <https://flawdb.com/CVE-2026-23227> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23227>
