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 products

VendorProductVersions
LinuxLinuxbf29fbeaa13d3350ca71df70c705d8b883c45692 to <a36814b9fe00970116d30c3143d81e7425c4d334 [affected]; bf29fbeaa13d3350ca71df70c705d8b883c45692 to <cc71400bc965c0d3894a38ead3d71243400c2d5e [affected]; bf29fbeaa13d3350ca71df70c705d8b883c45692 to <a1769877ff52a4f1bfb9ca535d1b5113808bd602 [affected]; bf29fbeaa13d3350ca71df70c705d8b883c45692 to <63213927b141085b6c8719b8037dab3074b7e0fe [affected]
LinuxLinux3.13 [affected]; 0 to <3.13 [unaffected]; 6.12.113 to <=6.12.* [unaffected]; 6.18.56 to <=6.18.* [unaffected]; 7.2.10 to <=7.2.* [unaffected]; 7.3-rc6 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 19 Oct 2026 07:04 UTC.