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 BD619208C4 for ; Mon, 26 Aug 2024 10:23:14 +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=1724667794; cv=none; b=nkxKpKrKOq6+BhlMYszRJpTN40ae/B9XZqqB8/za98a2c27/qPpYjStN9mMrgiQmRS0ZlR5jqsltZqB6frCTNUNxEsnuD/aKv4jKK8aVg0sPEW1d6qtYvi1qRIk30ryg6/lhlaskY8MZd84nyemjzTHYMGi6eh/tACeNUPjUNjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724667794; c=relaxed/simple; bh=WTeiok7KEo7IHwkgPXs8GqY9xpzU7RJTcyQQ+G7i2ww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AGRpwgfkpT9TB6wc2dIFicT0Jq8nXIWy0pBiU7ElTtq+6LgdsD/d2VTQN6Is6gpJsbySswOhAF9xSZWxn8YTwgKXCTZIzeB/ZCbvYBaTeikdW2r0pRpfKlKxuAWY9h1FTPt0Rdknz45VdFErJBheSWCwYvM24lJ05iTB1rh4YYI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Uc7tp+bN; 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="Uc7tp+bN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F115EC5829A; Mon, 26 Aug 2024 10:23:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724667794; bh=WTeiok7KEo7IHwkgPXs8GqY9xpzU7RJTcyQQ+G7i2ww=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Uc7tp+bN7P3GbJsN3KkXZqgg3xk8ZoriNiloWftep5eWamWfFsR7lt1p9Sg1KXOPA z7B/hTZMJ87ZfWsaRktghN1mgSf3h355NSQKOePcgMvx2E/Tn/ekxbTP/mYDvKUB7m fAUMj3al+MR5+9cl598FV+Ad0POuKJHqUCmGlbOw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43906: drm/admgpu: fix dereferencing null pointer context Date: Mon, 26 Aug 2024 12:17:14 +0200 Message-ID: <2024082624-CVE-2024-43906-27ab@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=1810; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WTeiok7KEo7IHwkgPXs8GqY9xpzU7RJTcyQQ+G7i2ww=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlnwkwrJnz4t9PQK0dvZV7Mz5DJWyealW1JOHh5KVfoM RGOAI+nHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCREg+G+Q7xvHKWn534t3r1 2omsvpi/ZGOgEcOCKb3r53g8Lq/TmJr94pOTke/JLwXHAQ== 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/admgpu: fix dereferencing null pointer context When user space sets an invalid ta type, the pointer context will be empty. So it need to check the pointer context before using it The Linux kernel CVE team has assigned CVE-2024-43906 to this issue. Affected and fixed versions =========================== Fixed in 6.6.46 with commit 641dac64178c Fixed in 6.10.5 with commit 4fd52f7c2c11 Fixed in 6.11-rc1 with commit 030ffd4d43b4 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-43906 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/amdgpu/amdgpu_psp_ta.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/641dac64178ccdb9e45c92b67120316896294d05 https://git.kernel.org/stable/c/4fd52f7c2c11d330571c6bde06e5ea508ec25c9d https://git.kernel.org/stable/c/030ffd4d43b433bc6671d9ec34fc12c59220b95d