# CVE-2026-98662: iio: light: gp2ap020a00f: drain irq\_work after free\_irq

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-18T15:44:24.421Z
- **Modified:** 2026-10-30T13:21:16.690Z

## Who should check

- Anyone running Linux \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 6f2bb000493c3b4f5715b3103657393672aea05b; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< d029639b079b28a5334f934c848d895bef0653d1; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 85c20d1cf3f01a506605a16c2f9ce23b9c8b114f; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< a36814b9fe00970116d30c3143d81e7425c4d334; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< cc71400bc965c0d3894a38ead3d71243400c2d5e; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< a1769877ff52a4f1bfb9ca535d1b5113808bd602; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 63213927b141085b6c8719b8037dab3074b7e0fe
- Anyone running Linux 3.13

## Description

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.

## Affected and fixed versions

- Linux: \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 6f2bb000493c3b4f5715b3103657393672aea05b; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< d029639b079b28a5334f934c848d895bef0653d1; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 85c20d1cf3f01a506605a16c2f9ce23b9c8b114f; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< a36814b9fe00970116d30c3143d81e7425c4d334; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< cc71400bc965c0d3894a38ead3d71243400c2d5e; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< a1769877ff52a4f1bfb9ca535d1b5113808bd602; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 63213927b141085b6c8719b8037dab3074b7e0fe (cvelist)
- Linux: 3.13 (cvelist)

## Mitigation

- Upgrade Linux to 63213927b141085b6c8719b8037dab3074b7e0fe or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98662. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98662.md
Affected: Linux >= bf29fbeaa13d3350ca71df70c705d8b883c45692, < 6f2bb000493c3b4f5715b3103657393672aea05b; >= bf29fbeaa13d3350ca71df70c705d8b883c45692, < 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c; >= bf29fbeaa13d3350ca71df70c705d8b883c45692, < d029639b079b28a5334f934c848d895bef0653d1; >= bf29fbeaa13d3350ca71df7…
Fixed in: Linux 6f2bb000493c3b4f5715b3103657393672aea05b, Linux 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c, Linux 85c20d1cf3f01a506605a16c2f9ce23b9c8b114f, Linux 63213927b141085b6c8719b8037dab3074b7e0fe

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98662 being exploited?

There is no confirmed exploitation: CVE-2026-98662 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98662?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98662?

Linux \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 6f2bb000493c3b4f5715b3103657393672aea05b; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< d029639b079b28a5334f934c848d895bef0653d1; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 85c20d1cf3f01a506605a16c2f9ce23b9c8b114f; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< a36814b9fe00970116d30c3143d81e7425c4d334; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< cc71400bc965c0d3894a38ead3d71243400c2d5e; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< a1769877ff52a4f1bfb9ca535d1b5113808bd602; \>= bf29fbeaa13d3350ca71df70c705d8b883c45692, \< 63213927b141085b6c8719b8037dab3074b7e0fe; Linux 3.13.

### Is there a fix for CVE-2026-98662?

Yes. Fixed in Linux 6f2bb000493c3b4f5715b3103657393672aea05b, Linux 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c, Linux 85c20d1cf3f01a506605a16c2f9ce23b9c8b114f, Linux 63213927b141085b6c8719b8037dab3074b7e0fe. Upgrade Linux to 63213927b141085b6c8719b8037dab3074b7e0fe or later.

### How do I check if I'm affected by CVE-2026-98662?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6f2bb000493c3b4f5715b3103657393672aea05b>
- other: <https://git.kernel.org/stable/c/43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c>
- other: <https://git.kernel.org/stable/c/d029639b079b28a5334f934c848d895bef0653d1>
- other: <https://git.kernel.org/stable/c/85c20d1cf3f01a506605a16c2f9ce23b9c8b114f>
- other: <https://git.kernel.org/stable/c/a36814b9fe00970116d30c3143d81e7425c4d334>
- other: <https://git.kernel.org/stable/c/cc71400bc965c0d3894a38ead3d71243400c2d5e>
- other: <https://git.kernel.org/stable/c/a1769877ff52a4f1bfb9ca535d1b5113808bd602>
- other: <https://git.kernel.org/stable/c/63213927b141085b6c8719b8037dab3074b7e0fe>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98662>

HTML: <https://flawdb.com/CVE-2026-98662> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98662>
