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 43A431F472F for ; Fri, 27 Dec 2024 14:12:30 +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=1735308750; cv=none; b=Kf6jIvl3NzxCxYMrCaXGg8QGn5M/ub9O09gD2DpOVIaYFXZX1hZsZgQiyTGpkWPmBMyfJlmZ8iukvawTscMPworlT2FqiYoqUp+ZEjjGzjlIytoe19nW0DA7/JLdizx2DgtjQjnK+2SKnXUqDwHVxJkh41AvDf5kT6Wa6Ntt/Gs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735308750; c=relaxed/simple; bh=aqZCSVuAJhvLkrpXtR6sPsX3uAUCv+d+MdtKlzgJc00=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N8cR7GkF9LPYa60p2ByNXWoxYdUMUBtQgkmw2HgS62JFI1g8RLFHUC19sfjmNiNx5EsCS5w20r+PDMYelc21zo4aEmo9E/waZ6L2FUD4xMGluYUkV7XhxGey/610kqLCQw7OrEBEzVyTY/axbK4uDXO1D33Q/h1sKx8hw+7K7+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sCjkfPum; 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="sCjkfPum" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A58DFC4CED0; Fri, 27 Dec 2024 14:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735308750; bh=aqZCSVuAJhvLkrpXtR6sPsX3uAUCv+d+MdtKlzgJc00=; h=From:To:Cc:Subject:Date:Reply-to:From; b=sCjkfPumA/3R6MaJYSYlXQNLRAAe66Yv0gnLL3Fkz8egaOn67/jHGYZuY4Q69/sJa eull2ZhNdq2Y2V0lthu/KECn6hbiVT45VLWULypcE3++VqTLPxtuv/WLhlfnXuU6hQ ldqRcCfqwRjO9bbWFIrSBcUgGoZrl5PfQN+6+Ex0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56538: drm: zynqmp_kms: Unplug DRM device before removal Date: Fri, 27 Dec 2024 15:11:29 +0100 Message-ID: <2024122726-CVE-2024-56538-379d@gregkh> X-Mailer: git-send-email 2.47.1 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=2462; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aqZCSVuAJhvLkrpXtR6sPsX3uAUCv+d+MdtKlzgJc00=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5W/s+vzlWvT6iqFpqyafqfs39lkq9e+8eCFld87jwh vKba/2PO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiflUMc/i38NVH9V5nKrbL Wn5moeu2rvtaIgzz3ScfiTngKRh6fqqE6+3zc3PYL6ebAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm: zynqmp_kms: Unplug DRM device before removal Prevent userspace accesses to the DRM device from causing use-after-frees by unplugging the device before we remove it. This causes any further userspace accesses to result in an error without further calls into this driver's internals. The Linux kernel CVE team has assigned CVE-2024-56538 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit d76271d22694e874ed70791702db9252ffe96a4c and fixed in 6.6.64 with commit a17b9afe58c474657449cf87e238b1788200576b Issue introduced in 5.9 with commit d76271d22694e874ed70791702db9252ffe96a4c and fixed in 6.11.11 with commit 4fb97432e28a7e136b2d76135d50e988ada8e1af Issue introduced in 5.9 with commit d76271d22694e874ed70791702db9252ffe96a4c and fixed in 6.12.2 with commit 692f52aedccbf79b212a1e14e3735192b4c24a7d Issue introduced in 5.9 with commit d76271d22694e874ed70791702db9252ffe96a4c and fixed in 6.13-rc1 with commit 2e07c88914fc5289c21820b1aa94f058feb38197 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-2024-56538 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/xlnx/zynqmp_kms.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/a17b9afe58c474657449cf87e238b1788200576b https://git.kernel.org/stable/c/4fb97432e28a7e136b2d76135d50e988ada8e1af https://git.kernel.org/stable/c/692f52aedccbf79b212a1e14e3735192b4c24a7d https://git.kernel.org/stable/c/2e07c88914fc5289c21820b1aa94f058feb38197