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 BA5041F9AB7 for ; Mon, 21 Oct 2024 18:03:25 +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=1729533805; cv=none; b=SK+ZVTuTdd2b9ocgy5K5tOh58458NlF3OkvjOFfOkVlDLdazt79mB8gPIxXCWFS87xFy/HVGmDebUF6xTr+P552OkXJAyF0sV+GLZg1nHO57+ppQVlW2Yfy61PBYlJmc1+Gr4KwPoLX9sQ51UvAS+fMk2NQbh88yT3kSG2/i2qw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729533805; c=relaxed/simple; bh=vniGnohAVRTcaAVk+NkjCS2Uhd31sLEptl8xcHZOUSo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rtsY0SzcBblxX94ca5RhJ8xa+jkk/a0oNXg2BOltNonW34Tr4K6dz0jkYywQCmkt83DUMV9z6QjFBZ3E0uGJQbVLrj9bVkEm/vUgAHMsp+lET1Mj3HZT2RCifUTPXqSl0eBR8bWHFQJClgZhZy71+7YwedIgYqfC0/qp6QeEMH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TRg0DTjX; 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="TRg0DTjX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26695C4AF11; Mon, 21 Oct 2024 18:03:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729533805; bh=vniGnohAVRTcaAVk+NkjCS2Uhd31sLEptl8xcHZOUSo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TRg0DTjX5+LEemB8gfJmVHbX94b5sk3+VfqeWJN29wi0hq/JbUjp1jRP7kjtfK28u uYzn/FqrBNy9nR/39lm+Pj5XSqTAYp8SC5KnkiQqqtR5WsnQNJzGa0wwjl0F5rNUbZ llT4yliXnZ08Ah7/VVZ0/oiFKgHPCGgsD6qgtjKg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49896: drm/amd/display: Check stream before comparing them Date: Mon, 21 Oct 2024 20:01:44 +0200 Message-ID: <2024102119-CVE-2024-49896-f220@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=2356; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vniGnohAVRTcaAVk+NkjCS2Uhd31sLEptl8xcHZOUSo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli095fq0rcwvp/yqY1F2MTijwqm4OmqMjtf1IzZarxP 3ZN6+QtHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRynKGueLl8sqcWw+JLDto nqp5b8OdT49XRTHMjz3tO+FdeNGz73sjfdh6usqdlxo0AQA= 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 stream before comparing them [WHAT & HOW] amdgpu_dm can pass a null stream to dc_is_stream_unchanged. It is necessary to check for null before dereferencing them. This fixes 1 FORWARD_NULL issue reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-49896 to this issue. Affected and fixed versions =========================== Fixed in 5.10.227 with commit 0167d570f6a0 Fixed in 5.15.168 with commit 14db8692afe1 Fixed in 6.1.113 with commit e8da54b7f8a1 Fixed in 6.6.55 with commit 42d31a336438 Fixed in 6.10.14 with commit 5b4b13e678b1 Fixed in 6.11.3 with commit e41a291e1bef Fixed in 6.12-rc1 with commit 35ff747c8676 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-49896 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/core/dc_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/0167d570f6a0b38689c4a0e50bf79c518d827500 https://git.kernel.org/stable/c/14db8692afe1aa2143b673856bb603713d8ea93f https://git.kernel.org/stable/c/e8da54b7f8a17e44e67ea6d1037f35450af28115 https://git.kernel.org/stable/c/42d31a33643813cce55ee1ebbad3a2d0d24a08e0 https://git.kernel.org/stable/c/5b4b13e678b15975055f4ff1ce4cf0ce4c19b6c4 https://git.kernel.org/stable/c/e41a291e1bef1153bba091b6580ecc7affc53c82 https://git.kernel.org/stable/c/35ff747c86767937ee1e0ca987545b7eed7a0810