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 5DCF91FCC54 for ; Mon, 21 Oct 2024 18:03:32 +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=1729533812; cv=none; b=VudVXdNEuatR6tTH4eooBd1sEkMWv4rQog4od2TdsZW8Qf+d7OyomtpctTiFJP4uVvGyRu9kmqbLgkYCdKviKVmkY7z3NkB/7OjkaObGKPC+o6/RZOUe6cUK5Jry3nqxxzy/N8BdkVecW2gAcYI0O/AezYt1CPdemjXPiTrvpL8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729533812; c=relaxed/simple; bh=4oNdd0Q1O1p35ahReLPLF0Yoht1vG792cNRtlPfGkHg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fvyeqvfCdx9YiVwMb68ShR6yk1J7O0ixkHIDaVjop2UPmgS7tZWUyWyCqbaeg6Q1RBHeKO84cCxMD+E5CcDL/pc6c9k87rkZogvUwu0LLl6pqy3pyxWkFNaEuJD+UKQ1is1W9cK9eWZLTc3F7AoTd0G8NFNkVZvntoaZ6cYr+5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fJ95n4wA; 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="fJ95n4wA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9FC7C4AF61; Mon, 21 Oct 2024 18:03:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729533812; bh=4oNdd0Q1O1p35ahReLPLF0Yoht1vG792cNRtlPfGkHg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fJ95n4wAylA47sbJqjXT4g9N8bFlNisbOkLkW4KqvXHMjBTEf8bJUAV5oP+PFf3H+ X0lkzzaa+3rc3on9Kos7BN2wU+rfMzCKeJW37Y+9v7VCIn1bMA7QvL2dqxXyZC5Ku5 U/e58P9Asvwd815PWv1N7c1j1YRXvhD71vAA2qyE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49898: drm/amd/display: Check null-initialized variables Date: Mon, 21 Oct 2024 20:01:46 +0200 Message-ID: <2024102119-CVE-2024-49898-adff@gregkh> X-Mailer: git-send-email 2.47.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=1912; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4oNdd0Q1O1p35ahReLPLF0Yoht1vG792cNRtlPfGkHg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli0957ns32dzlY+y1IyG37hRNq+mfY7r89WOCYx/u2W e/yrr6YjhgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIOkuGqYLSjNH3TK9uXKGp eUR5qVTzEc1NDAsaj33VtFsrbXqg+NDyAGmNk4oXj18FAA== 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: Check null-initialized variables [WHAT & HOW] drr_timing and subvp_pipe are initialized to null and they are not always assigned new values. It is necessary to check for null before dereferencing. This fixes 2 FORWARD_NULL issues reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-49898 to this issue. Affected and fixed versions =========================== Fixed in 6.10.14 with commit 3fc70ae048fe Fixed in 6.11.3 with commit 115b1a3b0944 Fixed in 6.12-rc1 with commit 367cd9ceba19 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-49898 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/dc/dml/dcn32/dcn32_fpu.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/3fc70ae048fe0936761b73b50700a810ff61e853 https://git.kernel.org/stable/c/115b1a3b0944b4d8ef0b4b0c5a625bdd9474131f https://git.kernel.org/stable/c/367cd9ceba1933b63bc1d87d967baf6d9fd241d2