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 F173B2E0902 for ; Tue, 16 Sep 2025 08:14:01 +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=1758010442; cv=none; b=tesL6+Yu8ifYX7Fa8IN+d7izgActijcJq22fv6HCTuf4jExC9LS+FqxCIEjjL0Xu9fcEo2NHOH48/X929Ke85WmOs70O61iDiySaK9cONfe2Pp3+bBq+CrL1xB83sgEJ41wMe+Mmh8n6I6TGqrlcpo3c7/Ci5VD+JUDFpVgurEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758010442; c=relaxed/simple; bh=vtyOWNdRUNjF4OUsojxFXcMHzXjlfhrpN5Ju41j/C5s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SetXoLhkkr7eo6FRtVRRZgBwixXx2/dXdtCHc1uoEoS+a4ZqfsUqWTs24tvhrgz+uXGD2UPt+wK7IuRYvAMLKuLVtjpYDbk8H5DUgvhvcgDmLrIS1EqEcsR4uvOZQNsqxF3rndkpt0CKNCYw2v3wncAuGLa7LmODVYOzRp5K31k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xh1sa4C5; 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="xh1sa4C5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 747F9C4CEEB; Tue, 16 Sep 2025 08:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758010441; bh=vtyOWNdRUNjF4OUsojxFXcMHzXjlfhrpN5Ju41j/C5s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xh1sa4C5da4LZ1oaGnQPG1vufTfE9SGVVCVl5+zDlTcRMqlJHH2X8CN7rDWulU8ql +761fI/X+gQ3aFLB4oDMvuiy0RACoIaulu90EoeqwHgopZCc1P4OMqKBfXAKNPHGSb tU4Ey0qIgbwTt+WGkFfn5v0tG6w5GSwsX9bIEAu4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53288: drm/client: Fix memory leak in drm_client_modeset_probe Date: Tue, 16 Sep 2025 10:11:38 +0200 Message-ID: <2025091625-CVE-2023-53288-b799@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=2756; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wmgQndOj3M+WbuAR2xrlfepphijuo16cw2+4Tc38nAY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknpddNZZa/FV0W/Giq29ILy+Q5ph7oMZ+U80PmuOf5Z 3p/3GR0O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi8VMYFnQf41ZgK+5V+CN6 WqpyuskjLf5EToZ5yjfPar3OXORYs2KPxkmvw0svMb6pBgA= 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/client: Fix memory leak in drm_client_modeset_probe When a new mode is set to modeset->mode, the previous mode should be freed. This fixes the following kmemleak report: drm_mode_duplicate+0x45/0x220 [drm] drm_client_modeset_probe+0x944/0xf50 [drm] __drm_fb_helper_initial_config_and_unlock+0xb4/0x2c0 [drm_kms_helper] drm_fbdev_client_hotplug+0x2bc/0x4d0 [drm_kms_helper] drm_client_register+0x169/0x240 [drm] ast_pci_probe+0x142/0x190 [ast] local_pci_probe+0xdc/0x180 work_for_cpu_fn+0x4e/0xa0 process_one_work+0x8b7/0x1540 worker_thread+0x70a/0xed0 kthread+0x29f/0x340 ret_from_fork+0x1f/0x30 The Linux kernel CVE team has assigned CVE-2023-53288 to this issue. Affected and fixed versions =========================== Fixed in 5.4.251 with commit 5d580017bdb9b3e930b6009e467e5e1589f8ca8a Fixed in 5.10.188 with commit 5f2a12f64347f535c6ef55fa7eb36a2874d69b59 Fixed in 5.15.123 with commit 1369d0c586ad44f2d18fe2f4cbc5bcb24132fa71 Fixed in 6.1.42 with commit 917bef37cfaca07781c6fbaf6cd9404d27e64e6f Fixed in 6.4.7 with commit 8108a494639e56aea77e7196a1d6ea89792b9d4a Fixed in 6.5 with commit 2329cc7a101af1a844fbf706c0724c0baea38365 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-53288 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/drm_client_modeset.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/5d580017bdb9b3e930b6009e467e5e1589f8ca8a https://git.kernel.org/stable/c/5f2a12f64347f535c6ef55fa7eb36a2874d69b59 https://git.kernel.org/stable/c/1369d0c586ad44f2d18fe2f4cbc5bcb24132fa71 https://git.kernel.org/stable/c/917bef37cfaca07781c6fbaf6cd9404d27e64e6f https://git.kernel.org/stable/c/8108a494639e56aea77e7196a1d6ea89792b9d4a https://git.kernel.org/stable/c/2329cc7a101af1a844fbf706c0724c0baea38365