Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0D4033E35C for ; Wed, 18 Feb 2026 14:54:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426482; cv=none; b=qrttOMPs/lVHTK/0L6tvRAqfb9Nn6W4Z6QZgZ6o2i9sODTDklri9AFAEUEyMDktZm/8QNjGs14pNWNM3ajHJAoZ7bXuKvZaBcyRdptYbk8+0pddvpO0zYWb3iQ04JZP5jLMchrDZaJeX2oPdIhEORilEx1QfCtn+cvfwjAqgsq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426482; c=relaxed/simple; bh=A2PodVXi/YjDt24KP+AI5wRCWnv7MISAt5O5nFIfsdQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=npq6WwNLs3ZLxRN7oYMBi3voLnD/j4oo0te6VCZSOO2QbOtPh9pessWNRC9fdcgYLi+B8ZE6RjX3frFDvDGU6a6OifB/xFSBEbTS/l+GSo2b390R9Lq+rnG2mj4HB4ojM4A1hIDd8yLid1xs8LvSd+nfk0SRf4HeDAWDDYgWv6E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Z4Bod2/j; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Z4Bod2/j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33C22C116D0; Wed, 18 Feb 2026 14:54:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771426481; bh=A2PodVXi/YjDt24KP+AI5wRCWnv7MISAt5O5nFIfsdQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Z4Bod2/jshoVkCoGOKMiy3liSNXFBC+Y5qVhzrxYcVMnZYlaodbCw+7Wu7CZRE2di 781bUoiwnRjbvHxgX8Cg8Z1tHHos9QHE2FzuryI3Rto1EBylVkRbIKfCMa3mqU+BKk loLMGXwOUmLL9tRO/iCQW9oL/uLajfXIBTx08iFg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23227: drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free Date: Wed, 18 Feb 2026 15:54:16 +0100 Message-ID: <2026021807-CVE-2026-23227-6986@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2838; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tC3S4Y8O5mGDfO9VoMG5FWU3kY0Y9/ST29olwQmSpOM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlTL/U7hE7advBM+epe9TqlY2J7755w//81guNOr2pim K3+p2qTjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgIvwHDgpW1TUqnvRjca/YE /952RPTLmxPRbxkWtEZ9vD3n7J39miliZo9nPGTZWWGyAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-23227 to this issue. Affected and fixed versions =========================== Fixed in 6.18.11 with commit 60b75407c172e1f341a8a5097c5cbc97dbbdd893 Fixed in 6.19.1 with commit 0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-23227 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpu/drm/exynos/exynos_drm_vidi.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/60b75407c172e1f341a8a5097c5cbc97dbbdd893 https://git.kernel.org/stable/c/0cd2c155740dbd00868ac5a8ae5d14cd6b9ed385 https://git.kernel.org/stable/c/52b330799e2d6f825ae2bb74662ec1b10eb954bb