drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free
Summary
| CVE | CVE-2026-23227 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-02-18 16:22:32 UTC |
| Updated | 2026-04-02 15:16:24 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d3b62dbfc7b9bb013926f56db79b60f6c18c392f 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5 git | Not specified |
| CNA | Linux | Linux | affected d3b62dbfc7b9bb013926f56db79b60f6c18c392f 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13 git | Not specified |
| CNA | Linux | Linux | affected d3b62dbfc7b9bb013926f56db79b60f6c18c392f abfdf449fb3d7b42e85a1ad1c8694b768b1582f4 git | Not specified |
| CNA | Linux | Linux | affected d3b62dbfc7b9bb013926f56db79b60f6c18c392f 60b75407c172e1f341a8a5097c5cbc97dbbdd893 git | Not specified |
| CNA | Linux | Linux | affected d3b62dbfc7b9bb013926f56db79b60f6c18c392f 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385 git | Not specified |
| CNA | Linux | Linux | affected d3b62dbfc7b9bb013926f56db79b60f6c18c392f 52b330799e2d6f825ae2bb74662ec1b10eb954bb git | Not specified |
| CNA | Linux | Linux | affected 3.6 | Not specified |
| CNA | Linux | Linux | unaffected 3.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.167 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.130 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.77 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.11 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.1 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/abfdf449fb3d7b42e85a1ad1c8694b768b1582f4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/52b330799e2d6f825ae2bb74662ec1b10eb954bb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/60b75407c172e1f341a8a5097c5cbc97dbbdd893 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/92dd1f38d7db75374dcdaf54f1d79d67bffd54e5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.