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 2D43B16DC36 for ; Wed, 18 Sep 2024 07:19:00 +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=1726643940; cv=none; b=ec/DTnzQz5j9FSWR72J1ETp1wGjilXUujoBWHmgQOOgFko4ZZRqGJAPDqz/nVqqjWR0PUaTleQCJFk8uZPPNPTVDom27d0KETByKOggvnd0lBKU0TrNC1YkiIx3H1sJO26DE+E1pgCIkHYhCqeKqGtXEd5/vzUzHissqOsr6xZs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726643940; c=relaxed/simple; bh=lrh+M1O+dMGlQh4q7u7W+j3MYlooyXlkrEcQsP/ycBQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mwCSBXSCy5ejeHSe8ax4j339F2RV2fJdvJrW9VZ2kfHC1cmkcs8wq550MKs53OMk95znIfc4vSyA5tpd3Hp9nH6pAgPP1X/dXFKdx44HpayjRfA55mSn/GEhVP3Gwi0IHEAgxE+JN5EuwcPb69BBnbsGUmtAHOCxsiDXl4A25Ac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yRHc9akp; 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="yRHc9akp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6F87C4CEC3; Wed, 18 Sep 2024 07:18:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726643940; bh=lrh+M1O+dMGlQh4q7u7W+j3MYlooyXlkrEcQsP/ycBQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=yRHc9akpPqU7YNzrXnCT3ZaWiML/95zOQrjtVJZ0AY6Fgx5vvfWi0v91rnEN6Lvjq w/0NeeGNqHZ1iKucmgPXNU7hG1erltHSKCAac+rMQ5yrQKPc8wRokjWfGVnaF++zgO zrTSxPZ+Q+EDClP22778+WHHx6+K1Qo4EhR+TatM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46778: drm/amd/display: Check UnboundedRequestEnabled's value Date: Wed, 18 Sep 2024 09:17:13 +0200 Message-ID: <2024091848-CVE-2024-46778-ded6@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=1837; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lrh+M1O+dMGlQh4q7u7W+j3MYlooyXlkrEcQsP/ycBQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmv6hI/MLr3f6x/vTei7++LjlYpvpmHWFMjtZf8zUu5r T7dst6uI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSt5hhwZJ9wTfyAoS0tUWO rp2autDhyroDrxjmp4ZuXyyZ2vJh57/Wp5vc/mw8tOpPIAA= 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 UnboundedRequestEnabled's value CalculateSwathAndDETConfiguration_params_st's UnboundedRequestEnabled is a pointer (i.e. dml_bool_t *UnboundedRequestEnabled), and thus if (p->UnboundedRequestEnabled) checks its address, not bool value. This fixes 1 REVERSE_INULL issue reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-46778 to this issue. Affected and fixed versions =========================== Fixed in 6.10.10 with commit 4e2b49a85e79 Fixed in 6.11 with commit a7b38c785209 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-46778 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/dml2/display_mode_core.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/4e2b49a85e7974d21364798c5d4aa8070aa864d9 https://git.kernel.org/stable/c/a7b38c7852093385d0605aa3c8a2efd6edd1edfd