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 097251A5B8A for ; Wed, 26 Feb 2025 01:58:08 +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=1740535088; cv=none; b=E3kzAR1ankklXqkVTnvRnGIbQpFoSD3RZ+kwihMrlZulTZXwUREmhI2CsFripd2OFKN6zyBz2gp1/Bsre/ohSYDvZZRdL98DaSACbWfVUNondyVU/lO4wGIlI5IvhuLpTIu2S/iVndqubpK0qOiZEqEddzkj0b3zOYmABEN6N3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535088; c=relaxed/simple; bh=2gE0k9I60ENunzto37MhIyc5ZuutHEId2ykwYjEwfTI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BT6LfhQw2SjzLqRP/p4pn9N2WOGyUGjGRZKIpegUy5bGv0yEtSyjdGrJDphtjo5Rr/BUfGBLqQHhLeZrbx8ifzykUGcFiD4QBI1z+ausqNliKaNYt7PKhMBiPth/UZJnd/+RcqIRvYDu4PqWKaper4WfEL0g/EFD9B+ULblqlSc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sbT7Guw2; 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="sbT7Guw2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D39E8C4CEDD; Wed, 26 Feb 2025 01:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535087; bh=2gE0k9I60ENunzto37MhIyc5ZuutHEId2ykwYjEwfTI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=sbT7Guw2zt/PEYleBhNu2PB2fRALwiQRx3iLdh53J3ejJPRIB8pwlPWMYMO996KLi lA04g5OgxsE1ZXJM/6tS7yrStDQQkGtWVOm508Tguef3HsYyzT6Q9y+myw6jqkhptY RCDEUJkWsD/eT+U0MLKMig3ml4voiKIpbJRMZB2s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49091: drm/imx: Fix memory leak in imx_pd_connector_get_modes Date: Wed, 26 Feb 2025 02:54:56 +0100 Message-ID: <2025022658-CVE-2022-49091-0014@gregkh> X-Mailer: git-send-email 2.48.1 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=3499; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2gE0k9I60ENunzto37MhIyc5ZuutHEId2ykwYjEwfTI=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SszMKxKXG4sZ5Z6pufzQ9enBL6VlypH7udQKI6b++ 5IrH8rcEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5ksEwv16M26BPVf9Cm5h8 +qblPWsDmn+cZ1hwVV5ft9jV+vT5lw3df1//ma5qmN0LAA== 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/imx: Fix memory leak in imx_pd_connector_get_modes Avoid leaking the display mode variable if of_get_drm_display_mode fails. Addresses-Coverity-ID: 1443943 ("Resource leak") The Linux kernel CVE team has assigned CVE-2022-49091 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 4.9.311 with commit d2c2758cfb0262637fd93350bdc8ad485fb1dd61 Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 4.14.276 with commit 38bf605bd8c83d942c8dcffaef3633b7d8b37549 Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 4.19.238 with commit 41624d7c0c3df71dee170c610744aaa5909327b8 Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 5.4.189 with commit c539a6a5896ed92bfb91494e46996d013f3d5967 Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 5.10.111 with commit f8b0ef0a5889890b50482b6593bd8de544736351 Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 5.15.34 with commit 31e449302ed00c38d4068443cf0243279701ab28 Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 5.16.20 with commit bc23c327e1a23cc3555fa1e86288e13288515442 Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 5.17.3 with commit 7526102d908ec5ae777aa77723d52fce12916093 Issue introduced in 4.8 with commit 76ecd9c9fb24b014a6f33fbb1287ede3be12158b and fixed in 5.18 with commit bce81feb03a20fca7bbdd1c4af16b4e9d5c0e1d3 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-2022-49091 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/imx/parallel-display.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/d2c2758cfb0262637fd93350bdc8ad485fb1dd61 https://git.kernel.org/stable/c/38bf605bd8c83d942c8dcffaef3633b7d8b37549 https://git.kernel.org/stable/c/41624d7c0c3df71dee170c610744aaa5909327b8 https://git.kernel.org/stable/c/c539a6a5896ed92bfb91494e46996d013f3d5967 https://git.kernel.org/stable/c/f8b0ef0a5889890b50482b6593bd8de544736351 https://git.kernel.org/stable/c/31e449302ed00c38d4068443cf0243279701ab28 https://git.kernel.org/stable/c/bc23c327e1a23cc3555fa1e86288e13288515442 https://git.kernel.org/stable/c/7526102d908ec5ae777aa77723d52fce12916093 https://git.kernel.org/stable/c/bce81feb03a20fca7bbdd1c4af16b4e9d5c0e1d3