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 3865318452A for ; Fri, 13 Sep 2024 05:31:29 +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=1726205490; cv=none; b=ceIb5LIGJuTu45K3D2W/NxHT8W8lkmiiO5jxKCbFVgTSb1rbSm7KRNiuzKyxa5i4vHvkUqHiZjtXD/gSUzzMi1XFION1fbxUZedeUXTdaULbYOhZYyEGaZvl/hMEhMz0bQFT1nCBPDrsBDZklcXMdzTaaIuCW1+oAA0HF76vGs8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726205490; c=relaxed/simple; bh=twsCdFzRkvN/9k9A0SPmWn+gefPa3izU0EFmV0p8gCY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=C79nFMCLyExuZEJWM71Z1m5zD/FoT1idbQmzXchA/KIvYb0N4/zVxad8nmn8F56r+BcgXm75dl68j3Qj4PfY9BeXy9WbruTbYFoqzysSYVRdraXE9W9vjXe9jw93xqSiHIgYid8zCbuMUMkDHjHDFgLZ2eroNwdBllw2MSAge50= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DIF7ukiq; 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="DIF7ukiq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77FC0C4CEC0; Fri, 13 Sep 2024 05:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726205489; bh=twsCdFzRkvN/9k9A0SPmWn+gefPa3izU0EFmV0p8gCY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DIF7ukiqy7d+Sbo5WNTpuE3ueXiJLixw3PzwUkRfe+x26jXpY0Tgz6tIH7e4ZyfqT OKisRZm2UfeBCrRLLgE2V60UcCqSxa+9aX6HMxpLGt0dct442UCxpRrJOeD2GjKsr+ 6YEM8bneaLY1OmhgAeKHK/nc6NYLB36A2vMpIQUc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46694: drm/amd/display: avoid using null object of framebuffer Date: Fri, 13 Sep 2024 07:30:55 +0200 Message-ID: <2024091340-CVE-2024-46694-0706@gregkh> X-Mailer: git-send-email 2.46.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=2343; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=twsCdFzRkvN/9k9A0SPmWn+gefPa3izU0EFmV0p8gCY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmPzzFwfC47c6dWr16sSDuTPaSw4nPWIRaWSbZNShNOv rGp9V7fEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMxvcWwYGO10ULByMp5Foqe U7XnnlnL7qUdyTBP+X3kngeyB9dfsGTcYrZF5vLhj/cmAQA= 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/amd/display: avoid using null object of framebuffer Instead of using state->fb->obj[0] directly, get object from framebuffer by calling drm_gem_fb_get_obj() and return error code when object is null to avoid using null object of framebuffer. (cherry picked from commit 73dd0ad9e5dad53766ea3e631303430116f834b3) The Linux kernel CVE team has assigned CVE-2024-46694 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 5d945cbcd4b1 and fixed in 6.1.108 with commit 093ee72ed35c Issue introduced in 6.0 with commit 5d945cbcd4b1 and fixed in 6.6.49 with commit f6f5e39a3fe7 Issue introduced in 6.0 with commit 5d945cbcd4b1 and fixed in 6.10.8 with commit 49e1b214f323 Issue introduced in 6.0 with commit 5d945cbcd4b1 and fixed in 6.11-rc6 with commit 3b9a33235c77 Issue introduced in 6.0.7 with commit c46dda486e4f 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-46694 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/amd/display/amdgpu_dm/amdgpu_dm_plane.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/093ee72ed35c2338c87c26b6ba6f0b7789c9e14e https://git.kernel.org/stable/c/f6f5e39a3fe7cbdba190f42b28b40bdff03c8cf0 https://git.kernel.org/stable/c/49e1b214f3239b78967c6ddb8f8ec47ae047b051 https://git.kernel.org/stable/c/3b9a33235c773c7a3768060cf1d2cf8a9153bc37