CVE-2026-89888

media: i2c: ov02a10: fix endpoint parsing use-after-free

State
Published
Severity
7.8 High
Published
Sep 16, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 91807efbe8ec7f591085067d9f96a112e015274b to before 9de48ba68f56de9fe20ebd3f9728d22af25f9a91Affected
  • 91807efbe8ec7f591085067d9f96a112e015274b to before 8ddb3b69f67b0632ff3830da18de3e8dcaf5884bAffected
  • 91807efbe8ec7f591085067d9f96a112e015274b to before 4c2988bf1ad2753240a38db10ce23e87ec542f8fAffected
  • 91807efbe8ec7f591085067d9f96a112e015274b to before 213b2489130357c8d3e8d4fb2bdab88791ce3185Affected
  • 91807efbe8ec7f591085067d9f96a112e015274b to before 90f9b421fc6d4f2edab7521efdb1e58571468d33Affected
  • 91807efbe8ec7f591085067d9f96a112e015274b to before 6e13784452785cd8402b228bea53bc6a027ade84Affected
  • 91807efbe8ec7f591085067d9f96a112e015274b to before 94971ba0592ca77ec99b292226a4b398763315b8Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.