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 AD8BB208C4 for ; Mon, 26 Aug 2024 10:23:17 +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=1724667797; cv=none; b=GjW3cRl/d55bLBw2oF+OJ32GG02sR/3rI6yjOsa4+CAPzcp+X49CA/V+q7NXkjtdpfF1NjZsyQNdwG4PyemQZvnRbD70dMzqdCqM2zbctqOZuN3IUsMOjWSGVcl9kV8tK4g35Qj3oXaeJCrxivbzJS3FE9SPxzgPHAMR9/+CaTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724667797; c=relaxed/simple; bh=XWiak09JNwUHiypwh92hF4k7c9N//KDUK8Buv6TmeYo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p+x7vamaMX/nvuaPU/WrtxJu4yjnwF9PJay72Gz/8ocIwxXgdE++j2tYZ5u9xFnbFPAlsEK6hehJpjemIwWIyH2pxPFpteo+kEo1lmmgUSp+qwEUr+jaq+qDGUi8aKuVqXFQdKBsza8yk2LcWJycrrnUM7cihk3sMjwP5/lOHjE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pk20KwrE; 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="pk20KwrE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E004CC5829D; Mon, 26 Aug 2024 10:23:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724667797; bh=XWiak09JNwUHiypwh92hF4k7c9N//KDUK8Buv6TmeYo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=pk20KwrEdFEOXY2cceCNwhzuWqPh5TQgKMIn/JRBu1RasZjlzQfU9ndD4M6Ucni8s YPRAn+zsz21iyyrKpM53DRhE3mxK9WcjdJ6vFVFm+601DwvZJVohoUMdv+xTjWaOGW 3/0CqX1UrsWHMl9X6I33whIt4YPVGs1d8VaucK60= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43907: drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules Date: Mon, 26 Aug 2024 12:17:15 +0200 Message-ID: <2024082626-CVE-2024-43907-91a1@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=2247; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XWiak09JNwUHiypwh92hF4k7c9N//KDUK8Buv6TmeYo=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlnwsxWGTu6HP383vnNKYuaP5k6gens0Su+Vpe+ijnTf jRAxIWhI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYS+JFhvmNMxevdLKZz694t 2vd0/svZF+T6tRjmaThvEMlz/B3GPbEj9+5Gnr6mxtD3AA== 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/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules Check the pointer value to fix potential null pointer dereference The Linux kernel CVE team has assigned CVE-2024-43907 to this issue. Affected and fixed versions =========================== Fixed in 5.10.224 with commit c1749313f35b Fixed in 5.15.165 with commit 0c065e50445a Fixed in 6.1.105 with commit e04d18c29954 Fixed in 6.6.46 with commit 3a01bf2ca9f8 Fixed in 6.10.5 with commit 13937a40aae4 Fixed in 6.11-rc1 with commit d19fb10085a4 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-43907 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/pm/powerplay/hwmgr/smu7_hwmgr.c drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.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/c1749313f35b98e2e655479f037db37f19756622 https://git.kernel.org/stable/c/0c065e50445aea2e0a1815f12e97ee49e02cbaac https://git.kernel.org/stable/c/e04d18c29954441aa1054af649f957ffad90a201 https://git.kernel.org/stable/c/3a01bf2ca9f860fdc88c358567b8fa3033efcf30 https://git.kernel.org/stable/c/13937a40aae4efe64592ba48c057ac3c72f7fe82 https://git.kernel.org/stable/c/d19fb10085a49b77578314f69fff21562f7cd054