CVE-2026-80650

Source
https://cve.org/CVERecord?id=CVE-2026-80650
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80650.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80650
Downstream
Published
2026-08-28T06:48:58.858Z
Modified
2026-08-30T03:48:03.995250694Z
Summary
media: atomisp: gc2235: fix UAF and memory leak
Details

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 mediaentitypadsinit() fails, gc2235remove() is called, which tears down the subdev and frees dev, but then still falls through to atomispregisteri2c_module(). This results in use-after-free.

If atomispregisteri2c_module() fails, the media entity and control handler are left initialized and dev is leaked.

gc2235remove() unconditionally calls mediaentitycleanup() and v4l2ctrlhandlerfree(), 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80650.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a49d25364dfb9f8a64037488a39ab1f56c5fa419
Fixed
fdbb8e55578b4ab647fa58827a9dd8730d7f4add
Fixed
d57e67ea48e4d095052f2b14d8dd7593621f862f
Fixed
f614bf0a64aa1cb7444d152a96798a6bf1d49e1f
Fixed
628f763aee0047ff44974388d6f70f75a763026b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80650.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80650.json"