From mboxrd@z Thu Jan 1 00:00:00 1970 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 7BFC928313A for ; Tue, 16 Sep 2025 08:12:05 +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=1758010325; cv=none; b=Khftw//tjxV/PNUi8lxGB9WAxjS1Oz1WYCSyFqN77Wv285fjBEg3Ibabnz1/ijAXu1CNHg6F4ZNV3GzokZ5OfBOP9e96t8nJspOvNqGuc+CmgxZ/pJUzpw6ori0egkYSXoBkUx9Xc1ytgZaL398H1zVTCYApOoKGgiRBW1WLe1s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758010325; c=relaxed/simple; bh=YM+OZjSr1Me7KslQBnlicJguXlJ0hdgvePUqSmDEcnY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EpCY7F/Zk8iOu6bvnyD+qYRSIpuLgla/VL4XXqAoXcNw5Zm6/o607Rknm8A54tbysoay71bC5aLKtcUyS39pykLR4/otIVji+A3Dj2/Q8o7ep4QSFilpgOHi2/m+RwA2Ye286aVxQHKJ0CEQF5oqr4Q9l77rz4zYszytb/qopHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FMjLBxdM; 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="FMjLBxdM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB10AC4CEEB; Tue, 16 Sep 2025 08:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758010325; bh=YM+OZjSr1Me7KslQBnlicJguXlJ0hdgvePUqSmDEcnY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FMjLBxdMfwy+NtllwDJYMQ4U8LFhYR3d7HGLGgvncr/wr7zU4gKAOU31xslanTB/Q 95mM8G+d8Ox/H9V82DkzIM9zBZC54UcBH4BKwAJHykPdYfPaneZG2KhSWi+ubCFw67 g+aSO7mdTbQ3YphvcJ7NQGvJgRuYYqrYY4Xp5JKA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53263: drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create Date: Tue, 16 Sep 2025 10:07:01 +0200 Message-ID: <2025091600-CVE-2023-53263-9abe@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=2370; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BuoMZJr6RIwxVtymKxzCJWjILNnecPJcznzwJ/zd5Xw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknpZYkbZhz5s6H6BPGzht/sDJppXL+zTvU7tiS3B16/ eSmJRvvd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPnoxzK/wWbH118KrNmu2 W2/4dnrZDa56wxiG+VlHS+5q310Tw7bryoStPZm+11ZtfwQA 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/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create We can't simply free the connector after calling drm_connector_init on it. We need to clean up the drm side first. It might not fix all regressions from commit 2b5d1c29f6c4 ("drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts"), but at least it fixes a memory corruption in error handling related to that commit. The Linux kernel CVE team has assigned CVE-2023-53263 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 95983aea80038539ebc70e41e73e9bb4eabd1a92 and fixed in 6.1.47 with commit 3f27451c9f29d5ed00232968680c7838a44dcac7 Issue introduced in 6.0 with commit 95983aea80038539ebc70e41e73e9bb4eabd1a92 and fixed in 6.4.12 with commit 872feeecd08c81d212a52211d212897b8a857544 Issue introduced in 6.0 with commit 95983aea80038539ebc70e41e73e9bb4eabd1a92 and fixed in 6.5 with commit 1b254b791d7b7dea6e8adc887fbbd51746d8bb27 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-53263 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/nouveau/nouveau_connector.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/3f27451c9f29d5ed00232968680c7838a44dcac7 https://git.kernel.org/stable/c/872feeecd08c81d212a52211d212897b8a857544 https://git.kernel.org/stable/c/1b254b791d7b7dea6e8adc887fbbd51746d8bb27