CVE-2026-23227
drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free
Check your servers for CVE-2026-23227
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23227 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.70% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d3b62dbfc7b9bb013926f56db79b60f6c18c392f, before 56966a4cfa925ec24edb68ab652a740a7abe2c4d affected from d3b62dbfc7b9bb013926f56db79b60f6c18c392f, before 9e1ef9396a1899925911b1729cb65665420268df affected from d3b62dbfc7b9bb013926f56db79b60f6c18c392f, before 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5 affected from d3b62dbfc7b9bb013926f56db79b60f6c18c392f, before 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13 affected from d3b62dbfc7b9bb013926f56db79b60f6c18c392f, before abfdf449fb3d7b42e85a1ad1c8694b768b1582f4 affected from d3b62dbfc7b9bb013926f56db79b60f6c18c392f, before 60b75407c172e1f341a8a5097c5cbc97dbbdd893 affected from d3b62dbfc7b9bb013926f56db79b60f6c18c392f, before 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385 affected from d3b62dbfc7b9bb013926f56db79b60f6c18c392f, before 52b330799e2d6f825ae2bb74662ec1b10eb954bb
Other versions: unaffected
|
| Linux |
affected 3.6 unaffected before 3.6 unaffected from 5.10.253 up to and including 5.10.* unaffected from 5.15.203 up to and including 5.15.* unaffected from 6.1.167 up to and including 6.1.* unaffected from 6.6.130 up to and including 6.6.* unaffected from 6.12.77 up to and including 6.12.* unaffected from 6.18.11 up to and including 6.18.* unaffected from 6.19.1 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23227 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23227
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-23227
trivy image --scanners vuln IMAGE | grep CVE-2026-23227
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/56966a4cfa925ec24edb68ab652a740a7abe2c4d git.kernel.org
- https://git.kernel.org/stable/c/9e1ef9396a1899925911b1729cb65665420268df git.kernel.org
- https://git.kernel.org/stable/c/92dd1f38d7db75374dcdaf54f1d79d67bffd54e5 git.kernel.org
- https://git.kernel.org/stable/c/1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13 git.kernel.org
- https://git.kernel.org/stable/c/abfdf449fb3d7b42e85a1ad1c8694b768b1582f4 git.kernel.org
- https://git.kernel.org/stable/c/60b75407c172e1f341a8a5097c5cbc97dbbdd893 git.kernel.org
- https://git.kernel.org/stable/c/0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385 git.kernel.org
- https://git.kernel.org/stable/c/52b330799e2d6f825ae2bb74662ec1b10eb954bb git.kernel.org
Source: the record CVE-2026-23227 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse