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 0B5E01991AE for ; Mon, 21 Oct 2024 18:07:19 +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=1729534039; cv=none; b=QsmzwKznzdiZmTDkr3QpovtkQJlxTQvffbUsKKtv0cTEnbbwSDnmAAuF3R0UzfVuSfKvyWLu6LZzea2SFcvQbqRMr1/74fwiXcoo5lU1lyhyRCrGN9gRGVC6n/1xxGTWEyGkHeBA9Y40RYyLfY9wXhUo+BA8f5WHzLtHjy/PUHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729534039; c=relaxed/simple; bh=vToRiQY2P2QPttyWQBsJemcxPPvQmpVYh84SYU7a9rM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uC3NnWc8XjzPx+op5zDi89zb9aRBrRej6hBmqesS06PeXTO3VN/a4NUwYiLcfGHHvxn2lWkfLSSCwB2X51Zq/wugcwjM6jOspaU3F2dtRUek7hvGj3rlI70Vq7Xl1x1v/6pF+hoCf4mP95Jj49ykrEecUYDTiJgvmWyKAcirc8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L17AQ5rP; 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="L17AQ5rP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80D0DC4CEC3; Mon, 21 Oct 2024 18:07:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729534038; bh=vToRiQY2P2QPttyWQBsJemcxPPvQmpVYh84SYU7a9rM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=L17AQ5rPQWvQlz+Ecc5SbhtPWpewnhTtm3rXknN7QSufC45yZ/ZJem4C48fEVQ3Ic BeLJNCnqNjPZPyy0d2z0EXwtPMO8ZSKoD7JuAQp9rPwCueA4JBHjzFBLWKKpBEWn99 bDt9CnKoRYSzBXQLCePcKsjoB856ojFoiz5uGQrw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49972: drm/amd/display: Deallocate DML memory if allocation fails Date: Mon, 21 Oct 2024 20:03:00 +0200 Message-ID: <2024102134-CVE-2024-49972-9c6d@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=1785; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vToRiQY2P2QPttyWQBsJemcxPPvQmpVYh84SYU7a9rM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli0/7de55c+jS62GpPhsGixJw9/48Zpm43vHi686b56 dbbJS1GHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRNeoMC5Y7VE97/vLoRW/J NA6Rjg3xElwP9BgWbNZMOvxX71Il21yVkq6L5kLMtz87AAA= 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: Deallocate DML memory if allocation fails [Why] When DC state create DML memory allocation fails, memory is not deallocated subsequently, resulting in uninitialized structure that is not NULL. [How] Deallocate memory if DML memory allocation fails. The Linux kernel CVE team has assigned CVE-2024-49972 to this issue. Affected and fixed versions =========================== Fixed in 6.11.3 with commit 80345daa5746 Fixed in 6.12-rc1 with commit 892abca6877a 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-49972 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_state.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/80345daa5746184195f2d383a2f1bad058f0f94c https://git.kernel.org/stable/c/892abca6877a96c9123bb1c010cafccdf8ca1b75