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 B92D6B661 for ; Mon, 15 Sep 2025 14:06:05 +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=1757945165; cv=none; b=KiAai208bsvV8SG0QsKTIDtRDWhvTVH1FEOIjnZawDS210yggi5xYTFbKq8eud6bnDO9d48XkkxQsGnqrQDqlk1l6CnLqTmn+BreFGVvisxfjDWX48ghiB4nlDzTDQhrDgoDenIrvQ47T9JEWwZACyAeEmvr74NWXN99VdNrmrQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945165; c=relaxed/simple; bh=+lCdAhTOLix/WHHl7R+uPwuJ0Wq6tfD50PfDiZ8hBtE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DplgF7df2SclQfmlc1XCMCpoTjkUted64rmLGEKFfFccovZob6O9inZlJL1Mv6vmrVgFivCshwqt7mopTHPjI+yBHwgiWEcNgsPjmUkqvZY2XedHDM1WGA1Nac5Eq5ctTJkkjIcgFeSZqYUuKZbJ4TqAocfBwGOmCV6ZT1nTzEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZVHSVRC8; 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="ZVHSVRC8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C715DC4CEF1; Mon, 15 Sep 2025 14:05:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757945165; bh=+lCdAhTOLix/WHHl7R+uPwuJ0Wq6tfD50PfDiZ8hBtE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZVHSVRC8bC/PB9zW/XG2m+5olsFHsjQfz4qeo10sUNZF/fO33iTqCs7MSUxw02Xkz EKfT9pw9vGRIHLzCdqFYJ5SKbC/Fof0slqeSvJSoL+VzcS/e5ljAmSWSBtjXfRRd7j VAbaHUtb8fpkw8oFKytE6WbL2HQFHF4n0ay/o2co= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50254: media: ov8865: Fix an error handling path in ov8865_probe() Date: Mon, 15 Sep 2025 16:02:02 +0200 Message-ID: <2025091550-CVE-2022-50254-c910@gregkh> X-Mailer: git-send-email 2.51.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=1911; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UGqApVOGuHXVJYDPMIYPvy+AFyVSr5x9i4u/Mc8Dtbs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknZPye8onemu8XcKFkSsr3zbzpd0W/rvl+rLXwe9qip RbzGtz4OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAisfMZ5nvyGBm+2OJRedJQ idW2X0C1z+/qWoYFvVasyxd+s97yr1AsW/WKpE/oicqHAA== 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: ov8865: Fix an error handling path in ov8865_probe() The commit in Fixes also introduced some new error handling which should goto the existing error handling path. Otherwise some resources leak. The Linux kernel CVE team has assigned CVE-2022-50254 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 73dcffeb2ff98e8181b43e9d9faad042ddcb7f60 and fixed in 6.0.7 with commit 1f55a2273a7b41895ea6272e51ccb1d797cfd39b Issue introduced in 5.17 with commit 73dcffeb2ff98e8181b43e9d9faad042ddcb7f60 and fixed in 6.1 with commit 080e0b7404850406628674b07286f16cc389a892 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-50254 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/ov8865.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/1f55a2273a7b41895ea6272e51ccb1d797cfd39b https://git.kernel.org/stable/c/080e0b7404850406628674b07286f16cc389a892