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 2A2331459EC for ; Tue, 21 May 2024 15:35:33 +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=1716305733; cv=none; b=Ignl0US3Jwx6ODozwmM7f+N9htcstY+Ix0ppF/MdMDCHvElPjf8yp/NiVSYkBgoz1pKP7wO3toQYBoGUWxxpMFl135oC+qRV0MljEl93w0dZRE+mM2YhGTQjmf3fpbzXPDmiVtfSX8IOh+MyqVFbUj5LVYErJ072jYQAU3ptbNw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305733; c=relaxed/simple; bh=Wkj9nSy+aSNinKGRzis5z+dfMo7vkh7/IWeQq+xDrkU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lDhuFiSC7xUszaE0S1e4vHkXARKc7W7m1XTzpOwgcHbUmbLCleee1XQSVnZlI7Vnx3/BVL0OUo9Mfl5705R8f23uoc3LAvF0HKwx0Jdaug96+osBFy9UEJfr398Yy1kJejUXwLhwYsq4AZ2IAKnrBmdlCWvfROliTR4QYHvgGkA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Q6B/p7mE; 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="Q6B/p7mE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A827CC2BD11; Tue, 21 May 2024 15:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305733; bh=Wkj9nSy+aSNinKGRzis5z+dfMo7vkh7/IWeQq+xDrkU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Q6B/p7mEhN5yPOJpRRrOjsbHKDRPRmZCVotOCYr+ZWZEvhb6IrwKfjmVs/Kf31f59 PWli1VPsbhfiJ81MROJprczr8T/hh1Hk+6uNwCYZhRgZCNLAld2l+aSiFH+HmiOzpU bUBftQEPM5cpLFu9s6wZ1L9qrcBQtjbaEJZcJ3SM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52788: i915/perf: Fix NULL deref bugs with drm_dbg() calls Date: Tue, 21 May 2024 17:31:24 +0200 Message-ID: <2024052155-CVE-2023-52788-9cb4@gregkh> X-Mailer: git-send-email 2.45.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=2452; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Wkj9nSy+aSNinKGRzis5z+dfMo7vkh7/IWeQq+xDrkU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++/RviGxIiIjvfmLcwfb/u8qKjelLoqZ6mfy9b30h1 FO3evHTjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIbmmGBe1dSju+nzm1cmLU wrdmHpWik380yDIsOMyloHrE02v5dG3Rrj/Bb6e+SlTqAAA= 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: i915/perf: Fix NULL deref bugs with drm_dbg() calls When i915 perf interface is not available dereferencing it will lead to NULL dereferences. As returning -ENOTSUPP is pretty clear return when perf interface is not available. [tursulin: added stable tag] (cherry picked from commit 36f27350ff745bd228ab04d7845dfbffc177a889) The Linux kernel CVE team has assigned CVE-2023-52788 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.108 with commit 9b344cf6aea0 and fixed in 5.15.140 with commit 1566e8be73fd Issue introduced in 6.0 with commit 2fec539112e8 and fixed in 6.1.64 with commit 55db76caa782 Issue introduced in 6.0 with commit 2fec539112e8 and fixed in 6.5.13 with commit bf8e10503008 Issue introduced in 6.0 with commit 2fec539112e8 and fixed in 6.6.3 with commit 10f49cdfd5fb Issue introduced in 6.0 with commit 2fec539112e8 and fixed in 6.7 with commit 471aa951bf12 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-52788 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/i915/i915_perf.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/1566e8be73fd5fa424e88d2a4cffdc34f970f0e1 https://git.kernel.org/stable/c/55db76caa782baa4a1bf02296e2773c38a524a3e https://git.kernel.org/stable/c/bf8e105030083e7b71591cdf437e464bcd8a0c09 https://git.kernel.org/stable/c/10f49cdfd5fb342a1a9641930dc040c570694e98 https://git.kernel.org/stable/c/471aa951bf1206d3c10d0daa67005b8e4db4ff83