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 3D97F1FAF0C for ; Mon, 21 Oct 2024 18:03:29 +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=1729533809; cv=none; b=UXA9Mgis5leIyEjYzuJ/YscWL4UzLZLI0zHw+R0FGHgqdghgDVt51fYy/dUMwaSESp/YOvc5UbkNcmTxT7jN6LqK6EkCoisV4SoqSLCEQP8FOvVUVmyiJf/Jc9g8a5udsiDZGqcQ/eskfOkP74LJLWX9zk9JN+RJFsjXXaUTyYM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729533809; c=relaxed/simple; bh=VA0FbIIe+PvU9BwbIAEbi1VOjVw+hNO/tlQ0Kf+viws=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JHS0UabTGhAF9OMIb0Rt84opNFjzTVUDzTSKD724LJWdZTimHFstJ441szdqw/gySOCrV62e1agMGiUY8WO5NbB01NAdwqq4xzfAVAGyA6d1KwqimzzEkyR4nZuhhYZO4gAxRvQfxBqU0uSVk745t3dYNjnxZRnrE35NnV5WuFw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=foxBdg3b; 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="foxBdg3b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2907C4DE01; Mon, 21 Oct 2024 18:03:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729533809; bh=VA0FbIIe+PvU9BwbIAEbi1VOjVw+hNO/tlQ0Kf+viws=; h=From:To:Cc:Subject:Date:Reply-to:From; b=foxBdg3bBPkoGaa3ESOXGfpyPcXPMSdvTbqsGCqpnIxzOdP2uqzVuyyO5ufh3CPWa he1Km/FgbXrQ1tHC4ecEhqShtLPR8poINAuGw4w1Gv4AoHnX11afbKSBNHR/scHkeE vNLXrDSYYhlTMw3EU4RBNEJIBuQq2Fn77/oZNglo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49897: drm/amd/display: Check phantom_stream before it is used Date: Mon, 21 Oct 2024 20:01:45 +0200 Message-ID: <2024102119-CVE-2024-49897-42cd@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=1853; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VA0FbIIe+PvU9BwbIAEbi1VOjVw+hNO/tlQ0Kf+viws=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli095PmefU8i769+xrPq/PO77+188n/U0t0MnJ0GCZV j1HxmemjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIYibDgktLYpd4xt8/nOHQ kqgguVTRdyFXHsM8M6H/NmLTXshEr7quOWcm14zpQjLGAA== 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 phantom_stream before it is used dcn32_enable_phantom_stream can return null, so returned value must be checked before used. This fixes 1 NULL_RETURNS issue reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-49897 to this issue. Affected and fixed versions =========================== Fixed in 6.10.14 with commit 1decf695ce08 Fixed in 6.11.3 with commit 3ba1219e299a Fixed in 6.12-rc1 with commit 3718a619a8c0 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-49897 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/resource/dcn32/dcn32_resource.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/1decf695ce08e23d9ded6ce83d121b2282ce9899 https://git.kernel.org/stable/c/3ba1219e299ab5462b5cb374c2fa2a67af0ea190 https://git.kernel.org/stable/c/3718a619a8c0a53152e76bb6769b6c414e1e83f4