{"id":77384,"date":"2026-02-18T19:52:32","date_gmt":"2026-02-18T16:22:32","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-23227-drm-exynos-vidi-use-ctx-lock-to-protect-struct-vidi_context-member-variables-related-to-memory-alloc-free\/"},"modified":"2026-02-18T19:52:32","modified_gmt":"2026-02-18T16:22:32","slug":"cve-2026-23227-drm-exynos-vidi-use-ctx-lock-to-protect-struct-vidi_context-member-variables-related-to-memory-alloc-free","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-23227-drm-exynos-vidi-use-ctx-lock-to-protect-struct-vidi_context-member-variables-related-to-memory-alloc-free\/","title":{"rendered":"CVE-2026-23227 &#8211; drm\/exynos: vidi: use ctx-&gt;lock to protect struct vidi_context member variables related to memory alloc\/free"},"content":{"rendered":"<p>CVE ID : CVE-2026-23227<\/p>\n<p>Published :  Feb. 18, 2026, 4:22 p.m. | 37\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/exynos: vidi: use ctx-&gt;lock to protect struct vidi_context member variables related to memory alloc\/free<\/p>\n<p>Exynos Virtual Display driver performs memory alloc\/free operations<br \/>\nwithout lock protection, which easily causes concurrency problem.<\/p>\n<p>For example, use-after-free can occur in race scenario like this:<br \/>\n&#8220;`<br \/>\n\tCPU0\t\t\t\tCPU1\t\t\t\tCPU2<br \/>\n\t&#8212;-\t\t\t\t&#8212;-\t\t\t\t&#8212;-<br \/>\n  vidi_connection_ioctl()<br \/>\n    if (vidi-&gt;connection) \/\/ true<br \/>\n      drm_edid = drm_edid_alloc(); \/\/ alloc drm_edid<br \/>\n      &#8230;<br \/>\n      ctx-&gt;raw_edid = drm_edid;<br \/>\n      &#8230;<br \/>\n\t\t\t\t\t\t\t\tdrm_mode_getconnector()<br \/>\n\t\t\t\t\t\t\t\t  drm_helper_probe_single_connector_modes()<br \/>\n\t\t\t\t\t\t\t\t    vidi_get_modes()<br \/>\n\t\t\t\t\t\t\t\t      if (ctx-&gt;raw_edid) \/\/ true<br \/>\n\t\t\t\t\t\t\t\t        drm_edid_dup(ctx-&gt;raw_edid);<br \/>\n\t\t\t\t\t\t\t\t          if (!drm_edid) \/\/ false<br \/>\n\t\t\t\t\t\t\t\t          &#8230;<br \/>\n\t\t\t\tvidi_connection_ioctl()<br \/>\n\t\t\t\t  if (vidi-&gt;connection) \/\/ false<br \/>\n\t\t\t\t    drm_edid_free(ctx-&gt;raw_edid); \/\/ free drm_edid<br \/>\n\t\t\t\t    &#8230;<br \/>\n\t\t\t\t\t\t\t\t          drm_edid_alloc(drm_edid-&gt;edid)<br \/>\n\t\t\t\t\t\t\t\t            kmemdup(edid); \/\/ UAF!!<br \/>\n\t\t\t\t\t\t\t\t            &#8230;<br \/>\n&#8220;`<\/p>\n<p>To prevent these vulns, at least in vidi_context, member variables related<br \/>\nto memory alloc\/free should be protected with ctx-&gt;lock.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-23227 Published : Feb. 18, 2026, 4:22 p.m. | 37\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: drm\/exynos: vidi: use ctx-&gt;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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77384","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77384"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77384\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}