media: atomisp: gc2235: fix UAF and memory leak
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.18, 6.1.191, 6.6.160, 6.12.97, 6.18.40, 7.1.5, 7.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-80650
- 2026-10-03 Alias added: GHSA-g5xp-8jpc-79mv
- 2026-10-05 Fix available: Linux/[email protected], Linux/Linux@51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 · CNA
- 2026-10-05 1 new reference · CNA
- 2026-10-21 Fix available: Linux/Linux@592a0e78ab08f6373c40912365759d8a066e7711, Linux/[email protected] · CNA
- 2026-10-21 1 new reference · CNA
- 2026-10-30 Fix available: Linux/Linux@5bed166be3054f9ebb527dbce7158677085eea59, Linux/[email protected] · CNA
- 2026-10-30 1 new reference · CNA
References
Other 7
- https://git.kernel.org/stable/c/51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654
- https://git.kernel.org/stable/c/5bed166be3054f9ebb527dbce7158677085eea59
- https://git.kernel.org/stable/c/592a0e78ab08f6373c40912365759d8a066e7711
- https://git.kernel.org/stable/c/fdbb8e55578b4ab647fa58827a9dd8730d7f4add
- https://git.kernel.org/stable/c/d57e67ea48e4d095052f2b14d8dd7593621f862f
- https://git.kernel.org/stable/c/f614bf0a64aa1cb7444d152a96798a6bf1d49e1f
- https://git.kernel.org/stable/c/628f763aee0047ff44974388d6f70f75a763026b
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-80650 · CVE Program
- CVE-2026-80650 · NVD
- FIRST EPSS
- GHSA-g5xp-8jpc-79mv · GitHub Advisory Database · CC BY 4.0
- CVE-2026-80650 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences