CVE-2026-98662

Source
https://cve.org/CVERecord?id=CVE-2026-98662
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98662.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98662
Downstream
Published
2026-10-18T15:44:24Z
Modified
2026-10-20T02:30:34Z
Summary
iio: light: gp2ap020a00f: drain irq_work after free_irq
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98662.json"
}
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
bf29fbeaa13d3350ca71df70c705d8b883c45692
Fixed
a36814b9fe00970116d30c3143d81e7425c4d334
Fixed
cc71400bc965c0d3894a38ead3d71243400c2d5e
Fixed
a1769877ff52a4f1bfb9ca535d1b5113808bd602
Fixed
63213927b141085b6c8719b8037dab3074b7e0fe

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.13.0
Fixed
6.12.113
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.10

Database specific

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