CVE Catalog

CVE-2026-98662

Low risk· EPSS 6%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel, the iio: light: gp2ap020a00f driver queues work via irq_work_queue(), but free_irq() does not flush an already queued irq_work. After gp2ap020a00f_remove() returns, that work may still run and call iio_trigger_poll() on data->trig, which devm cleanup has already freed, causing a use-after-free.

Risk Assessment

A use-after-free can occur during device removal, leading to a kernel crash or potential privilege escalation. Systems using this driver are affected.

Recommendation

Update the Linux kernel to a version with the fix that adds irq_work_sync(&data->work) after free_irq() in remove() and in the probe error path.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS