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 0823A2AF00 for ; Sat, 4 Oct 2025 15:17:31 +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=1759591052; cv=none; b=s8ZDebOISU1YYp5i7dMCLbyNB3Co0uJprHWa8OdDX+osx8fyUwRKvJ4qzdb+jx5xjiBMu43JOXLxqIbbfXRrZ2FGiR2PZ7KqW0Iz3aHIPFi6F5Ea2X3cRGznu9WW8pisA1HeJcirV1caX6ytIrC6eEr6Cyyv/1c56l+6tDhibms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591052; c=relaxed/simple; bh=kPgtQaMxivzabrfdkNnFnn+qKnbiMMGOCH1rGeHxK5U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LxgBCG5Pal4eU6QrPEwZ6sKv3fOv6YlyXZzu3Wqg4R4owwzN3Lccpl3A8VoD9ERg4UwLelC+vhZjhU3m3mRa5UsuMBOWGqzmwh3yo6EolX9BvFKhJwDaRmXMDlkK6ht/0nzMHOinqOAYWk9SQI4DU+IGtqPHciYn4Ot1pI5BVmM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LjFEdwcN; 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="LjFEdwcN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FD9DC4CEF1; Sat, 4 Oct 2025 15:17:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759591051; bh=kPgtQaMxivzabrfdkNnFnn+qKnbiMMGOCH1rGeHxK5U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LjFEdwcNNLFc9mq0Fn+pTJ+umRhCUduvttB6VpW/hhYK9VOGueyUNQJKAEIln5hlB hhpOiEc2iT5G8uwiT4zrHqai12HngWgvf96E7DUfsIICVmHucf3itx1ZzihyYWdVdV Wk6BczF4Fw7YUtPz+soMINOp/EotX+nHD41Rsixc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53534: drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc Date: Sat, 4 Oct 2025 17:16:48 +0200 Message-ID: <2025100442-CVE-2023-53534-9260@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2568; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=t+aZhuemx+7/t0Ewp3qi6pcGlf//YMntSn+ILI3RGYc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPraKK81+rPsnelRsxT0Xh6z63zUx/r9UmMrWquxnv/ CJnXKvfEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPRvcuwoO/njznhrzVcrCW0 bm218336/bnGVobZbPOO3iv5sPTHY93UebEGvpezA4/IAgA= 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/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc As the devm_kcalloc may return NULL, the return value needs to be checked to avoid NULL poineter dereference. The Linux kernel CVE team has assigned CVE-2023-53534 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit 31c5558dae0513bd2bae33ea37543f584c6c35a5 and fixed in 5.10.173 with commit b64b6dff15a38468b8cd33fc7864fa4e02b0933a Issue introduced in 5.5 with commit 31c5558dae0513bd2bae33ea37543f584c6c35a5 and fixed in 5.15.99 with commit 62952905e195f7350bc230cf0960a74ddbceed5d Issue introduced in 5.5 with commit 31c5558dae0513bd2bae33ea37543f584c6c35a5 and fixed in 6.1.16 with commit 67ea657c7891c2f86a7750395640d9bdf2555926 Issue introduced in 5.5 with commit 31c5558dae0513bd2bae33ea37543f584c6c35a5 and fixed in 6.2.3 with commit 7d569ae98ee5490585929be69fea68047679b7b2 Issue introduced in 5.5 with commit 31c5558dae0513bd2bae33ea37543f584c6c35a5 and fixed in 6.3 with commit 5bf1e3bd7da625ccf9a22c8cb7d65271e6e47f4c 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-2023-53534 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/mediatek/mtk_drm_crtc.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/b64b6dff15a38468b8cd33fc7864fa4e02b0933a https://git.kernel.org/stable/c/62952905e195f7350bc230cf0960a74ddbceed5d https://git.kernel.org/stable/c/67ea657c7891c2f86a7750395640d9bdf2555926 https://git.kernel.org/stable/c/7d569ae98ee5490585929be69fea68047679b7b2 https://git.kernel.org/stable/c/5bf1e3bd7da625ccf9a22c8cb7d65271e6e47f4c