CVE-2026-98662

iio: light: gp2ap020a00f: drain irq_work after free_irq

No CVSS score yet EPSS 0.18%

Published 18 Oct 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98662

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98662 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.49% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from bf29fbeaa13d3350ca71df70c705d8b883c45692, before 6f2bb000493c3b4f5715b3103657393672aea05b
affected from bf29fbeaa13d3350ca71df70c705d8b883c45692, before 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c
affected from bf29fbeaa13d3350ca71df70c705d8b883c45692, before d029639b079b28a5334f934c848d895bef0653d1
affected from bf29fbeaa13d3350ca71df70c705d8b883c45692, before 85c20d1cf3f01a506605a16c2f9ce23b9c8b114f
affected from bf29fbeaa13d3350ca71df70c705d8b883c45692, before a36814b9fe00970116d30c3143d81e7425c4d334
affected from bf29fbeaa13d3350ca71df70c705d8b883c45692, before cc71400bc965c0d3894a38ead3d71243400c2d5e
affected from bf29fbeaa13d3350ca71df70c705d8b883c45692, before a1769877ff52a4f1bfb9ca535d1b5113808bd602
affected from bf29fbeaa13d3350ca71df70c705d8b883c45692, before 63213927b141085b6c8719b8037dab3074b7e0fe
Other versions: unaffected
Linux
affected 3.13
unaffected before 3.13
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.113 up to and including 6.12.*
unaffected from 6.18.56 up to and including 6.18.*
unaffected from 7.2.10 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98662 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98662

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98662
trivy image --scanners vuln IMAGE | grep CVE-2026-98662

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98662 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.