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 F191212CD91 for ; Wed, 1 May 2024 13:06:59 +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=1714568820; cv=none; b=r5NqXDB/iBQVsY8OOwghUqNeuOP5mYFCfzpDA0RDrkBHr68ceEJ5zQR90IWIh7I60Hx+tJengjsRNYMMLzjEi6gFWbw45aDkM2DJKwBhXtaBLoKSWsIVA5Wn3L7y2W0mwkkbvSPk5XUxmYsWaLcP1pMj3krLJ4mEDlgIro/9wR0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568820; c=relaxed/simple; bh=CO+Yx6RKUG5Xj+bcODqLDuUIHzykWCDchWK1Sgxkti8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XAIvVDxv/U/i41fPvqS3c86DB9TjtauYcaHuM3AQrUo7lJ7aMj8g235lf1dVHMJc27e7BUjxuJPKwRl3bG98woaaqgwJPMpnGnG0x5qZVgz9HkYCl0oysVvBjUpzukSvwprbSkzZKQNW/4hiTFNnezxkrEhYsYPdVz3Zllvpoiw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I0S/1SHK; 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="I0S/1SHK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12DECC113CC; Wed, 1 May 2024 13:06:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568819; bh=CO+Yx6RKUG5Xj+bcODqLDuUIHzykWCDchWK1Sgxkti8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=I0S/1SHKPYj2/CCYB6nhrY1BN6w1ziVUAK3nUhMtljfMLkBHN/hIc4AJdKPVvpypy QyqcPYdGxBZeowb1HOTIf0Sz3q7vIx80t2w6ybiUey3Ap9FFj2QibXgF/xrei07JYe L9tF2dJW1S/HE1mnYk4mqOWyMlQRR7aN8ATPxprg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27076: media: imx: csc/scaler: fix v4l2_ctrl_handler memory leak Date: Wed, 1 May 2024 15:06:47 +0200 Message-ID: <2024050134-CVE-2024-27076-5a2e@gregkh> X-Mailer: git-send-email 2.44.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=2771; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CO+Yx6RKUG5Xj+bcODqLDuUIHzykWCDchWK1Sgxkti8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGdlE9M7mmLq12VHlnv1Fe67W3LTPj4V+eR7yNtmpdF iz6GVDfEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOJ5mVYsOgI7xGTGX9ep396 12kZrqd3rZzpN8M8nbQHEZUsU+7fOdalJG22OGTRUbtOAA== 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: media: imx: csc/scaler: fix v4l2_ctrl_handler memory leak Free the memory allocated in v4l2_ctrl_handler_init on release. The Linux kernel CVE team has assigned CVE-2024-27076 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit a8ef0488cc59 and fixed in 5.4.273 with commit 8c2e4efe1278 Issue introduced in 5.4 with commit a8ef0488cc59 and fixed in 5.10.214 with commit 5d9fe604bf9b Issue introduced in 5.4 with commit a8ef0488cc59 and fixed in 5.15.153 with commit b1d0eebaf87c Issue introduced in 5.4 with commit a8ef0488cc59 and fixed in 6.1.83 with commit 8df9a3c7044b Issue introduced in 5.4 with commit a8ef0488cc59 and fixed in 6.6.23 with commit d164ddc21e98 Issue introduced in 5.4 with commit a8ef0488cc59 and fixed in 6.7.11 with commit 42492b00156c Issue introduced in 5.4 with commit a8ef0488cc59 and fixed in 6.8.2 with commit 6c92224721a4 Issue introduced in 5.4 with commit a8ef0488cc59 and fixed in 6.9-rc1 with commit 4797a3dd46f2 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-27076 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/staging/media/imx/imx-media-csc-scaler.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/8c2e4efe1278cd2b230cdbf90a6cefbf00acc282 https://git.kernel.org/stable/c/5d9fe604bf9b5b09d2215225df55f22a4cbbc684 https://git.kernel.org/stable/c/b1d0eebaf87cc9ccd05f779ec4a0589f95d6c18b https://git.kernel.org/stable/c/8df9a3c7044b847e9c4dc7e683fd64c6b873f328 https://git.kernel.org/stable/c/d164ddc21e986dd9ad614b4b01746e5457aeb24f https://git.kernel.org/stable/c/42492b00156c03a79fd4851190aa63045d6a15ce https://git.kernel.org/stable/c/6c92224721a439d6350db5933a1060768dcd565e https://git.kernel.org/stable/c/4797a3dd46f220e6d83daf54d70c5b33db6deb01