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 52A72305E10 for ; Wed, 24 Dec 2025 13:07:20 +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=1766581641; cv=none; b=uTnFHfa1OWxmH7HwhULFNxOIaLLrq6IxxQp8vry5UORrhWmAHsHXmRimXM/RItHieGEpNL7lgcdbul/0gZdDLLPtcHDfOG3mu1AOif7n/iH6ubriDPRzr5lC95b7RguTPAqSjgFLz/WDK5ZVdO9THQjUAUpQcBVvkQJcZ+250Ws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581641; c=relaxed/simple; bh=So67+eJnaFjbObO7ln/MJBv1A10HY6ajr6kH2FWLLBw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pK2LuWt2XD0DsAO0MLevZUOzlJ+nLsxq31GB3pjDn3b163UA9p3/9L9/aOMvdE33j8MuEP9qhz7zgxhKMfyMs7IXhoSduyMurI96kezzN09e7e9rjGevsS178JdZBmeNeqHcc4lSnCKVETbwAuVNfZIKPdxbG5ATHpU/O3ULImk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XVYGBtTs; 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="XVYGBtTs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41BD5C4CEFB; Wed, 24 Dec 2025 13:07:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581640; bh=So67+eJnaFjbObO7ln/MJBv1A10HY6ajr6kH2FWLLBw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=XVYGBtTsnIxPCA5haWonH/oC978Gb3E//fs0XOhW6M99QNYE1xT/9CKZIF6dmRlLw M3FMhnkgafhTG/rZkhKSy+ktuUGuHMupDdLxm/jktxkTO9GRZRDNctEw3XznuPdpT/ tgVZ2ZP09qhaHD+tIDD2cQPO+ebmjjiAlwh6TnxA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50759: media: i2c: ov5648: Free V4L2 fwnode data on unbind Date: Wed, 24 Dec 2025 14:06:10 +0100 Message-ID: <2025122454-CVE-2022-50759-747e@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2073; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mMGXZ4e6BHxmYdXbLjQRP+G2SjZcAneAwNZzygaz1EY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT41KDl3MM0wzLw+/eG92K8NDu7TLVk7XyxqCmfPrb mVy6izriGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIls+smwYOeXgxX7nryfO/eP oiHn5ezks+86DjPMjz5oz8H9Up8zKHVaenrUVZHvvX2bAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: media: i2c: ov5648: Free V4L2 fwnode data on unbind The V4L2 fwnode data structure doesn't get freed on unbind, which leads to a memleak. The Linux kernel CVE team has assigned CVE-2022-50759 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit e43ccb0a045f34838b786e8021dc4838b4af5c38 and fixed in 6.0.16 with commit 4a34fd4d9b548789d4a2018940edbec86282ed3b Issue introduced in 5.12 with commit e43ccb0a045f34838b786e8021dc4838b4af5c38 and fixed in 6.1.2 with commit 3a54b72868930f07935accaf95ec4df639324940 Issue introduced in 5.12 with commit e43ccb0a045f34838b786e8021dc4838b4af5c38 and fixed in 6.2 with commit c95770e4fc172696dcb1450893cda7d6324d96fc 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-50759 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/media/i2c/ov5648.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/4a34fd4d9b548789d4a2018940edbec86282ed3b https://git.kernel.org/stable/c/3a54b72868930f07935accaf95ec4df639324940 https://git.kernel.org/stable/c/c95770e4fc172696dcb1450893cda7d6324d96fc