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 8E2CD21364 for ; Wed, 18 Sep 2024 06:32:47 +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=1726641167; cv=none; b=S2hrjt1Y2rhC4D1DyoeO4xutiS0V5RglSZtP7lWa74Kt6dGhUBHpguImroGf+NfNERclgAShpyhAZw1DLpDmyhokgMysGsorETK2AhTP8ANRyh9As5T9BtoQrwXcET7ebsHteQPRY8HBxqDZd0C/m32n6sKFhMA9TIjd4Sh3dbY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726641167; c=relaxed/simple; bh=IQeymboioIelmgj2V+H6qBuZ81npSjUU5v4rXAvRSA0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YZVuoWnsNkzORonbj+IP5pQQ1AvN5fIobsh/xmfQPLyTBn4Fl14wAREEWnebxOOzOKa38X9GTmIy1Yit0KGLhV1SBpzAyZC92E/szRfNZY6eT1/d55qDHc4OPmeqK+HfLU6DWSN2aYbrHdF7HHm/4s3U0Ekjs+8aYG50iHOetk4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E29Un5x0; 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="E29Un5x0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BEDCEC4CEC3; Wed, 18 Sep 2024 06:32:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726641167; bh=IQeymboioIelmgj2V+H6qBuZ81npSjUU5v4rXAvRSA0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=E29Un5x08gAv8YzOVosu4JDPyHGsLaoDV+xmOJypvG7x5Q+X7Rw6g+J7HF+OBEt5M ilxyLeykv+BUmVs8EWJWQYz7aYBg5sC9TQyY3zQloKv9TflfZL/hAHTFpkmtTAwpOE L3RDLTFU09pKFf4BX63ZevTr9H1vTI76u+mmKNhA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46714: drm/amd/display: Skip wbscl_set_scaler_filter if filter is null Date: Wed, 18 Sep 2024 08:32:31 +0200 Message-ID: <2024091831-CVE-2024-46714-73de@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=2391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IQeymboioIelmgj2V+H6qBuZ81npSjUU5v4rXAvRSA0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmviv9nL/bRYnmiUaISqtOklqLgP7nxRdfuDTftolyVb jbt/9PdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMpjGKYK5GbM3FxQ7ZG26wt 7VM0034Unvj3hmHBgRyjdz2MV654yuv+EJCudhdrypcEAA== 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: Skip wbscl_set_scaler_filter if filter is null Callers can pass null in filter (i.e. from returned from the function wbscl_get_filter_coeffs_16p) and a null check is added to ensure that is not the case. This fixes 4 NULL_RETURNS issues reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-46714 to this issue. Affected and fixed versions =========================== Fixed in 5.4.284 with commit 0364f1f17a86 Fixed in 5.10.226 with commit c083c8be6bdd Fixed in 5.15.167 with commit 6d94c05a13fa Fixed in 6.1.109 with commit 1726914cb17c Fixed in 6.6.50 with commit e3a95f29647a Fixed in 6.10.9 with commit 54834585e91c Fixed in 6.11 with commit c4d31653c03b 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-46714 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/dcn20/dcn20_dwb_scl.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/0364f1f17a86d89dc39040beea4f099e60189f1b https://git.kernel.org/stable/c/c083c8be6bdd046049884bec076660d4ec9a19ca https://git.kernel.org/stable/c/6d94c05a13fadd80c3e732f14c83b2632ebfaa50 https://git.kernel.org/stable/c/1726914cb17cedab233820d26b86764dc08857b4 https://git.kernel.org/stable/c/e3a95f29647ae45d1ec9541cd7df64f40bf2120a https://git.kernel.org/stable/c/54834585e91cab13e9f82d3a811deb212a4df786 https://git.kernel.org/stable/c/c4d31653c03b90e51515b1380115d1aedad925dd