{"id":"CVE-2026-23227","published":"2026-02-18T14:53:30Z","modified":"2026-08-05T12:20:45Z","title":"drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free\n\nExynos Virtual Display driver performs memory alloc/free operations\nwithout lock protection, which easily causes concurrency problem.\n\nFor example, use-after-free can occur in race scenario like this:\n```\n\tCPU0\t\t\t\tCPU1\t\t\t\tCPU2\n\t----\t\t\t\t----\t\t\t\t----\n  vidi_connection_ioctl()\n    if (vidi->connection) // true\n      drm_edid = drm_edid_alloc(); // alloc drm_edid\n      ...\n      ctx->raw_edid = drm_edid;\n      ...\n\t\t\t\t\t\t\t\tdrm_mode_getconnector()\n\t\t\t\t\t\t\t\t  drm_helper_probe_single_connector_modes()\n\t\t\t\t\t\t\t\t    vidi_get_modes()\n\t\t\t\t\t\t\t\t      if (ctx->raw_edid) // true\n\t\t\t\t\t\t\t\t        drm_edid_dup(ctx->raw_edid);\n\t\t\t\t\t\t\t\t          if (!drm_edid) // false\n\t\t\t\t\t\t\t\t          ...\n\t\t\t\tvidi_connection_ioctl()\n\t\t\t\t  if (vidi->connection) // false\n\t\t\t\t    drm_edid_free(ctx->raw_edid); // free drm_edid\n\t\t\t\t    ...\n\t\t\t\t\t\t\t\t          drm_edid_alloc(drm_edid->edid)\n\t\t\t\t\t\t\t\t            kmemdup(edid); // UAF!!\n\t\t\t\t\t\t\t\t            ...\n```\n\nTo prevent these vulns, at least in vidi_context, member variables related\nto memory alloc/free should be protected with ctx->lock.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0017,"percentile":0.06497,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/56966a4cfa925ec24edb68ab652a740a7abe2c4d","tags":[]},{"url":"https://git.kernel.org/stable/c/9e1ef9396a1899925911b1729cb65665420268df","tags":[]},{"url":"https://git.kernel.org/stable/c/92dd1f38d7db75374dcdaf54f1d79d67bffd54e5","tags":[]},{"url":"https://git.kernel.org/stable/c/1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13","tags":[]},{"url":"https://git.kernel.org/stable/c/abfdf449fb3d7b42e85a1ad1c8694b768b1582f4","tags":[]},{"url":"https://git.kernel.org/stable/c/60b75407c172e1f341a8a5097c5cbc97dbbdd893","tags":[]},{"url":"https://git.kernel.org/stable/c/0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385","tags":[]},{"url":"https://git.kernel.org/stable/c/52b330799e2d6f825ae2bb74662ec1b10eb954bb","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":1.3},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 56966a4cfa925ec24edb68ab652a740a7abe2c4d",">= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 9e1ef9396a1899925911b1729cb65665420268df",">= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 92dd1f38d7db75374dcdaf54f1d79d67bffd54e5",">= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 1b24d3e8792bcc050c70e8e0dea6b49c4fc63b13",">= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < abfdf449fb3d7b42e85a1ad1c8694b768b1582f4",">= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 60b75407c172e1f341a8a5097c5cbc97dbbdd893",">= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385",">= d3b62dbfc7b9bb013926f56db79b60f6c18c392f, < 52b330799e2d6f825ae2bb74662ec1b10eb954bb"]},{"vendor":"Linux","product":"Linux","versions":["3.6"]}],"euvd":{"id":"EUVD-2026-7674","exploited":false,"provenance":"source"}}