Use-after-free in Linux kernel gp2ap020a00f light sensor driver
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 1 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 3.13 is affected in the IIO light sensor driver for gp2ap020a00f. The driver frees its IRQ without flushing work already queued through irq_work, so that deferred work can run after device removal and call iio_trigger_poll on a trigger that was already freed, causing a use-after-free.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: iio: light: gp2ap020a00f: drain irq_work after free_irq The threaded IRQ handler queues data->work through irq_work_queue() so the trigger is polled from a per-CPU context. free_irq() does not flush an irq_work the handler already queued, so after gp2ap020a00f_remove() returns that work may still run and call iio_trigger_poll() on data->trig, which the devm cleanup has already freed, causing a use-after-free. Add irq_work_sync(&data->work) after free_irq() in remove() and in the probe error path, mirroring commit 78601726d4a5 ("iio: trigger: sysfs: fix use-after-free on remove"). Found by an in-house static analysis tool, confirmed by manual review.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.13 and later | 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10, 7.3 | Patch available | CNA |
- Linux VendorLinux Affected 3.13 and later Fixed in 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10, 7.3 Patch available CNA
Remediation
Upgrade the Linux kernel to 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10 or 7.3, or a later release in the same branch. Red Hat lists Red Hat Enterprise Linux 10 as affected with a plan of none available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA Linux (Linux) Fixed in 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10, 7.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-18 Threatist record created from CVE-2026-98662
- 2026-10-18 Alias added: GHSA-5vf6-9cv6-xwcm
- 2026-10-19 Fix available: Linux/[email protected] · CNA
- 2026-10-20 Affected versions changed · Red Hat
- 2026-10-20 CVSS score added · Red Hat
- 2026-10-21 Fix available: Linux/[email protected], Linux/Linux@85c20d1cf3f01a506605a16c2f9ce23b9c8b114f · CNA
- 2026-10-21 1 new reference · CNA
- 2026-10-30 Fix available: Linux/Linux@43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c, Linux/[email protected], Linux/[email protected] +3 · CNA
- 2026-10-30 3 new references · CNA
References
Other 8
- https://git.kernel.org/stable/c/6f2bb000493c3b4f5715b3103657393672aea05b
- https://git.kernel.org/stable/c/43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c
- https://git.kernel.org/stable/c/d029639b079b28a5334f934c848d895bef0653d1
- https://git.kernel.org/stable/c/85c20d1cf3f01a506605a16c2f9ce23b9c8b114f
- https://git.kernel.org/stable/c/a36814b9fe00970116d30c3143d81e7425c4d334
- https://git.kernel.org/stable/c/cc71400bc965c0d3894a38ead3d71243400c2d5e
- https://git.kernel.org/stable/c/a1769877ff52a4f1bfb9ca535d1b5113808bd602
- https://git.kernel.org/stable/c/63213927b141085b6c8719b8037dab3074b7e0fe
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-98662 · CVE Program
- CVE-2026-98662 · NVD
- FIRST EPSS
- GHSA-5vf6-9cv6-xwcm · GitHub Advisory Database · CC BY 4.0
- CVE-2026-98662 · 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