VDB

CVE-2026-89887

CVE-2026-89887 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published September 16, 2026

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.

EPSS 0.17% · 6.3th percentile

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.17%
6.3th percentile

Affected products

VendorProductVersions
LinuxLinux39c5c4471b8d793daf868bd004e56ed420e89707, 39c5c4471b8d793daf868bd004e56ed420e89707, 39c5c4471b8d793daf868bd004e56ed420e89707
LinuxLinux4.16, 0, 5.10.270
linuxlinux_kernel4.16, 4.16, 4.16
LinuxLinux39c5c4471b8d793daf868bd004e56ed420e89707, 39c5c4471b8d793daf868bd004e56ed420e89707, 39c5c4471b8d793daf868bd004e56ed420e89707

Timeline

  • Sep 16, 2026 Coalition ESS Score
  • Sep 16, 2026 CVE Published
  • Sep 17, 2026 EPSS Score (9 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89887
vulnetix vdb fixes CVE-2026-89887

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89887/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›