Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 7C8C9503BFA for ; Wed, 16 Sep 2026 10:39:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555207; cv=none; b=Cxmq+iEEnQNOrgCZVxopERZC4fLR9eVTb+j490oL229QSGzOWL+A2XlYM9IXOUluGZfHWKb780xEuXOlK8eecI5FLXhEovHkJrHG1NPL4la0tiRGJhlDiqm4Jwl7IoWpcEQ5KnXFijXhO83XCVyC90HuyKF4Kjq7J1E4NZlnVNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555207; c=relaxed/simple; bh=f8pFr5bVIsMmhv2tnj9V2I1b6tGdaiN56aQrAS+irFs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pa2oDYXA+ZE60+Ny7ihgduX6/9SnbjcA587F+jAwaHbxaibELjKZB84VTfpDKy/y7cdF+2N/eU97xhN3F0+zD8qhsp2cUfpD86WPMbX+CyZSpyWmU5p2T95TKmcl0WOdo559Y+54NklxSI963jMkPpmfQ5Q1L+0SotoSGLj/nng= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vA74DPOZ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vA74DPOZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E76A1F0089B; Wed, 16 Sep 2026 10:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555172; bh=Zu+eUe1UtMG5DjmOtWetg91i8dBWp6PPNnpqAjM8wQY=; h=From:To:Cc:Subject:Date:Reply-To; b=vA74DPOZg822D51CbS4uGDTDv33EoSb7Ux85JP4219KzVqWYXB5rY9qTJXG2D6Fkq mtroIcNZBXMQCUfmDd4oCEHR8SP0DKGXPN2BGtQZ1a4gVnR8b6SAYzozVi9dg2kuF3 fsJPf5y2cslk+/FkG4/qs/fmel7ZXhIVVw+loeFU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89888: media: i2c: ov02a10: fix endpoint parsing use-after-free Date: Wed, 16 Sep 2026 11:30:18 +0100 Message-ID: <2026091634-CVE-2026-89888-70f2@gregkh> X-Mailer: git-send-email 2.55.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=3640; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yv4pSZO97c15c92ftz2dqKRNB8/2jgplp26E+yqdKMA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8vsn31bK/ynu5MBwcdVpBU2lvbNm7n/dtOBXR+I+A 6kOt7tBHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRW+EMC3bs2tJb9zqH8YmP 6MJpJ+5dcozMK2dYsPf8zcP/DKovOubv3dE5J1gtTNC/GQA= 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: ov02a10: fix endpoint parsing use-after-free The ov02a10_check_hwcfg() function calls fwnode_handle_put(ep) immediately after allocating and parsing the endpoint. However, it subsequently calls fwnode_property_read_u32() using the same 'ep' handle, leading to a potential use-after-free. Additionally, reading the optional 'ovti,mipi-clock-voltage' property used to overwrite the 'ret' variable. If the property was missing, 'ret' would become negative, and this failure code would be incorrectly returned at the end of the function, causing probe to fail entirely. Fix the use-after-free by moving fwnode_property_read_u32() before the endpoint is parsed and freed. Avoid the error leak by not assigning the result of fwnode_property_read_u32() to 'ret'. The Linux kernel CVE team has assigned CVE-2026-89888 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 91807efbe8ec7f591085067d9f96a112e015274b and fixed in 5.15.221 with commit 9de48ba68f56de9fe20ebd3f9728d22af25f9a91 Issue introduced in 5.11 with commit 91807efbe8ec7f591085067d9f96a112e015274b and fixed in 6.1.188 with commit 8ddb3b69f67b0632ff3830da18de3e8dcaf5884b Issue introduced in 5.11 with commit 91807efbe8ec7f591085067d9f96a112e015274b and fixed in 6.6.157 with commit 4c2988bf1ad2753240a38db10ce23e87ec542f8f Issue introduced in 5.11 with commit 91807efbe8ec7f591085067d9f96a112e015274b and fixed in 6.12.110 with commit 213b2489130357c8d3e8d4fb2bdab88791ce3185 Issue introduced in 5.11 with commit 91807efbe8ec7f591085067d9f96a112e015274b and fixed in 6.18.51 with commit 90f9b421fc6d4f2edab7521efdb1e58571468d33 Issue introduced in 5.11 with commit 91807efbe8ec7f591085067d9f96a112e015274b and fixed in 7.2.5 with commit 6e13784452785cd8402b228bea53bc6a027ade84 Issue introduced in 5.11 with commit 91807efbe8ec7f591085067d9f96a112e015274b and fixed in 7.3-rc1 with commit 94971ba0592ca77ec99b292226a4b398763315b8 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-2026-89888 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/ov02a10.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/9de48ba68f56de9fe20ebd3f9728d22af25f9a91 https://git.kernel.org/stable/c/8ddb3b69f67b0632ff3830da18de3e8dcaf5884b https://git.kernel.org/stable/c/4c2988bf1ad2753240a38db10ce23e87ec542f8f https://git.kernel.org/stable/c/213b2489130357c8d3e8d4fb2bdab88791ce3185 https://git.kernel.org/stable/c/90f9b421fc6d4f2edab7521efdb1e58571468d33 https://git.kernel.org/stable/c/6e13784452785cd8402b228bea53bc6a027ade84 https://git.kernel.org/stable/c/94971ba0592ca77ec99b292226a4b398763315b8