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 04E8516DEC3 for ; Fri, 12 Jul 2024 12:28:40 +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=1720787320; cv=none; b=aEWL4Hyd/fBsbLOeMHzYnRcc/15evXwAEecXw/ySikA/BR9HhQ/rLcpbrIzm0n9IautA4V+bCUyG+jb9FOr6hR07aCGGNZoTmu6JLFfy/0VlXL60Vb1kfYOnR6ghWSXYk7ZnZxXeU5Mob5jXBCJFCp9TKMdDFD19m02tyVG/fFA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787320; c=relaxed/simple; bh=kYaExFk4BRSgTJrTF5epSc7UKeje4U4JwJ4NwhN7D9s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=L43wrz2FFwTFe19rdY2rbfaMZUF2uf57ZF/DuA71QAI0xHZqoBqbhgURoGI1CliUbLhW6fNFetR+H7yg8FFkwMPDwLvhu8THPc0vJo3+wydtj3hsE+mgiP0QsuirhJCV20L2BESbohl0uOT5C2oDYSQtx1zw6SYep0cPQXFbEy8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e+/Pzi97; 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="e+/Pzi97" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F990C32782; Fri, 12 Jul 2024 12:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787319; bh=kYaExFk4BRSgTJrTF5epSc7UKeje4U4JwJ4NwhN7D9s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=e+/Pzi97YLuMkKNZZad9/bExEIEoAP1ejLeoB97/8bRvsyqO/mIbArWJ8u4siH6nf ce++rQBm/ujcuk+xWNj9kVjoQ/MzlL2JKqQb/2CpwyidNobR6+2SvADu5sQ1qGcD9d SoetJwIYV3srJUjv1sMyp//LotaMYfMOSL0UTXOk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40932: drm/exynos/vidi: fix memory leak in .get_modes() Date: Fri, 12 Jul 2024 14:27:30 +0200 Message-ID: <2024071216-CVE-2024-40932-2c2a@gregkh> X-Mailer: git-send-email 2.45.2 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=2313; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kYaExFk4BRSgTJrTF5epSc7UKeje4U4JwJ4NwhN7D9s=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTFVWsD6rOvW2U/WFF2OHl+lZhjce7Qjsf7BLt16rKW 7h7NcfpjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIIguG+dl8c1le1c1UPpaw 8M3mt86d7bvyWRkWrJsnNmv2flW+ug06QfGqFz/ce/WxEgA= 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/exynos/vidi: fix memory leak in .get_modes() The duplicated EDID is never freed. Fix it. The Linux kernel CVE team has assigned CVE-2024-40932 to this issue. Affected and fixed versions =========================== Fixed in 4.19.317 with commit 540ca99729e2 Fixed in 5.4.279 with commit ebcf81504fef Fixed in 5.10.221 with commit 0acc356da854 Fixed in 5.15.162 with commit 777838c9b571 Fixed in 6.1.95 with commit dcba6bedb439 Fixed in 6.6.35 with commit a269c5701244 Fixed in 6.9.6 with commit cb3ac233434d Fixed in 6.10-rc4 with commit 38e3825631b1 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-40932 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/exynos/exynos_drm_vidi.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/540ca99729e28dbe902b01039a3b4bd74520a819 https://git.kernel.org/stable/c/ebcf81504fef03f701b9711e43fea4fe2d82ebc8 https://git.kernel.org/stable/c/0acc356da8546b5c55aabfc2e2c5caa0ac9b0003 https://git.kernel.org/stable/c/777838c9b571674ef14dbddf671f372265879226 https://git.kernel.org/stable/c/dcba6bedb439581145d8aa6b0925209f23184ae1 https://git.kernel.org/stable/c/a269c5701244db2722ae0fce5d1854f5d8f31224 https://git.kernel.org/stable/c/cb3ac233434dba130281db330c4b15665b2d2c4d https://git.kernel.org/stable/c/38e3825631b1f314b21e3ade00b5a4d737eb054e