VDB

CVE-2026-80650

CVE-2026-80650 PUBLISHED

media: atomisp: gc2235: fix UAF and memory leak

Reported by linux · Published August 28, 2026

In the Linux kernel, the following vulnerability has been resolved: media: atomisp: gc2235: fix UAF and memory leak gc2235_probe() handles its error paths incorrectly. If media_entity_pads_init() fails, gc2235_remove() is called, which tears down the subdev and frees dev, but then still falls through to atomisp_register_i2c_module(). This results in use-after-free. If atomisp_register_i2c_module() fails, the media entity and control handler are left initialized and dev is leaked. gc2235_remove() unconditionally calls media_entity_cleanup() and v4l2_ctrl_handler_free(), but these are not initialized at every error path in gc2235_probe(). Replace gc2235_remove() calls in the probe error paths with explicit unwind labels that free only the resources initialized at each point of failure, in reverse order of initialization.

EPSS 0.22% · 11.9th percentile

Risk scores

EPSS Score
0.22%
11.9th percentile

Affected products

VendorProductVersions
LinuxLinuxa49d25364dfb9f8a64037488a39ab1f56c5fa419, ad85094b293e40e7a2f831b0311a389d952ebd5e, ad85094b293e40e7a2f831b0311a389d952ebd5e
LinuxLinux4.12, 5.8, 0
linuxlinux_kernel4.12, 5.8, 5.8
LinuxLinux*, *, *

Timeline

  • Aug 28, 2026 EPSS Score (16 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score
  • Aug 28, 2026 CVE Published
  • Sep 1, 2026 Security Advisory
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80650
vulnetix vdb fixes CVE-2026-80650

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-80650/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 ›