CVE-2026-80650
Received Received - Intake

Use-After-Free and Memory Leak in Linux Kernel gc2235 Driver

Vulnerability report for CVE-2026-80650, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-28

Last updated on: 2026-08-28

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-28
Last Modified
2026-08-28
Generated
2026-09-17
AI Q&A
2026-08-28
EPSS Evaluated
2026-09-15
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux_kernel gc2235 *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free (UAF) and memory leak vulnerability in the Linux kernel's media subsystem, specifically in the atomisp driver for the gc2235 camera sensor. The issue occurs in the gc2235_probe() function where error handling incorrectly triggers cleanup routines, leading to freed memory being accessed or resources not being properly released.

Detection Guidance

This vulnerability is specific to the Linux kernel's atomisp driver for the gc2235 camera sensor. Detection requires checking kernel logs for errors related to media entity initialization or atomisp module registration failures. Commands like dmesg | grep -i 'gc2235\|atomisp\|media_entity' or journalctl -k | grep -i 'gc2235\|atomisp' may help identify issues.

Impact Analysis

This vulnerability could allow an attacker with local access to cause system instability, crashes, or potentially execute arbitrary code by exploiting the UAF condition. It may also lead to resource exhaustion due to memory leaks, degrading system performance over time.

Compliance Impact

This vulnerability is a use-after-free and memory leak in the Linux kernel's media subsystem, specifically in the atomisp driver for the gc2235 camera sensor. It does not directly relate to data protection, privacy, or security controls typically addressed by GDPR or HIPAA. Compliance impact would be indirect if this flaw led to system instability or crashes, potentially affecting availability of systems processing regulated data.

Mitigation Strategies

Update your Linux kernel to a patched version that includes the fix for this vulnerability. If updating is not immediately possible, disable the atomisp and gc2235 kernel modules by blacklisting them in /etc/modprobe.d/ to prevent their use until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-80650. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart