# CVE-2026-89888: media: i2c: ov02a10: fix endpoint parsing use-after-free

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:51.892Z
- Modified: 2026-10-19T09:18:33.790Z
- Assigned by: Linux

## 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'.

(As written by CVE List.)

## Affected

- Linux Linux: from 91807efbe8ec7f591085067d9f96a112e015274b before 9de48ba68f56de9fe20ebd3f9728d22af25f9a91; from 91807efbe8ec7f591085067d9f96a112e015274b before 8ddb3b69f67b0632ff3830da18de3e8dcaf5884b; from 91807efbe8ec7f591085067d9f96a112e015274b before 4c2988bf1ad2753240a38db10ce23e87ec542f8f; from 91807efbe8ec7f591085067d9f96a112e015274b before 213b2489130357c8d3e8d4fb2bdab88791ce3185; from 91807efbe8ec7f591085067d9f96a112e015274b before 90f9b421fc6d4f2edab7521efdb1e58571468d33; from 91807efbe8ec7f591085067d9f96a112e015274b before 6e13784452785cd8402b228bea53bc6a027ade84; from 91807efbe8ec7f591085067d9f96a112e015274b before 94971ba0592ca77ec99b292226a4b398763315b8; 5.11 (not affected: before 5.11; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-89888](https://www.cve.org/CVERecord?id=CVE-2026-89888), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89888](https://nvd.nist.gov/vuln/detail/CVE-2026-89888), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89888 · Whole record: https://cve.day/CVE-2026-89888.json · Rebuilt by cve.day 2026-11-25T22:59:38.968Z
