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 92B7F1FBF53 for ; Mon, 21 Oct 2024 19:41:06 +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=1729539666; cv=none; b=sAeA1h23511o5BUZHYcwcEzyss80uV7pS+y0vY/k1RZyqw5qBtKXkIZyZLh1ekGuRnT0CW4IXxfGzZma7nTXHhC3h0vIPTjPpzoAzh1ZjKvHZZ31xF4Kox3d9kt8nt7rqNuWzMl4DvoSsoYCydEUWQRhoSL9E2r1s6cZCuu0eRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729539666; c=relaxed/simple; bh=yQjb+21Skj6tN5yN0fTLQ0ycd/Kn+d1MuwWqWLX0Dis=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uK31kG6b1hcRsqt2qnmlqzkqITCVUebgJaVVxUonTSsmmpUvM0qyix6/R6TVecxd/ghgr+RMqczgfM5TICZxuLr28zRSOYoW5MdHBt6pGdjohpHvoLUsnOp5TOtu/5gbYSW7tH2UJHMeZQkWaNwfnvsYmOqc1OemaW3wgBnOWNs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yZHyBQcM; 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="yZHyBQcM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DF03C4CEC3; Mon, 21 Oct 2024 19:41:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729539666; bh=yQjb+21Skj6tN5yN0fTLQ0ycd/Kn+d1MuwWqWLX0Dis=; h=From:To:Cc:Subject:Date:Reply-to:From; b=yZHyBQcM5dRcbcyTElArxLCroFMIW0zW2z3h3UWIv8U106gRn1dBvi5I92gCE5H8O RRcTu546Tr6NLQ6eOVgs0adfw5XCDRMEShc88+fAN3ZMFE/bboFO4Sx7PCIdkuS0D2 zj9SqWgj2EA9jZie1rtF3rBwpxW+QADDfZMSUtrk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50049: drm/amd/display: Check null pointer before dereferencing se Date: Mon, 21 Oct 2024 21:39:55 +0200 Message-ID: <2024102134-CVE-2024-50049-26da@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=2243; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yQjb+21Skj6tN5yN0fTLQ0ycd/Kn+d1MuwWqWLX0Dis=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlia79tnHat6seyrC+mn0/aXci80txndnS75dHtkhuVN 7QYpZ0K6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJJBgwLOi8c3X5Wv7v2/+Y aTzw65vZt99At5NhDteTm3JRjw1XtKZuvqlYtXr1leA+aQA= 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 pointer before dereferencing se [WHAT & HOW] se is null checked previously in the same function, indicating it might be null; therefore, it must be checked when used again. This fixes 1 FORWARD_NULL issue reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-50049 to this issue. Affected and fixed versions =========================== Fixed in 5.10.227 with commit f4149eec9601 Fixed in 5.15.168 with commit c643ef59390e Fixed in 6.1.113 with commit 97a79933fb08 Fixed in 6.6.57 with commit 65b2d49e55fe Fixed in 6.11.4 with commit a9b4fd194667 Fixed in 6.12-rc1 with commit ff599ef6970e 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-50049 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/core/dc.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/f4149eec960110ffd5bcb161075dd9f1d7773075 https://git.kernel.org/stable/c/c643ef59390e49f1dfab35e8ea65f5db5e527d64 https://git.kernel.org/stable/c/97a79933fb08a002ba9400d1a7a5df707ecdb896 https://git.kernel.org/stable/c/65b2d49e55fe13ae56da3a7685bdccadca31134a https://git.kernel.org/stable/c/a9b4fd1946678fa0e069e442f3c5a7d3fa446fac https://git.kernel.org/stable/c/ff599ef6970ee000fa5bc38d02fa5ff5f3fc7575