CVE-2026-89887

CVE-2026-89887

High · published September 16, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
5.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

media: i2c: ov7740: fix use-after-destroy in remove

The ov7740_remove() function had a severe teardown order bug where it

destroyed the driver's mutex before freeing the V4L2 control handler

which relies on that mutex, leading to a use-after-destroy kernel panic.

Furthermore, the driver explicitly called v4l2_ctrl_handler_free() and

mutex_destroy() sequentially, but then called ov7740_free_controls()

which invokes both of them a second time, resulting in a double-free.

This patch fixes the issue by unregistering the subdevice first, and

relying exclusively on ov7740_free_controls() to safely tear down the

mutex and control handler in the correct order.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00169 · 5.9th percentile
Published
2026-09-16T15:16Z
References (8)
EPSS history
Timeline
  • 18 SEP 04:02Z
    EPSS moved — → 0%
    epss
  • 16 SEP 10:31Z
    media: i2c: ov7740: fix use-after-destroy in remove
    cvelistv5