CVE-2026-98662

iio: light: gp2ap020a00f: drain irq_work after free_irq

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.

Key facts

Published
18 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.176% likely to be exploited in the next 30 days, higher than 7.249% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • bf29fbeaa13d3350ca71df70c705d8b883c45692 up to but excluding 6f2bb000493c3b4f5715b3103657393672aea05b (affected)
  • bf29fbeaa13d3350ca71df70c705d8b883c45692 up to but excluding 43fbbb9eaae5d6f45668e3c4d45508c498d6ba9c (affected)
  • bf29fbeaa13d3350ca71df70c705d8b883c45692 up to but excluding d029639b079b28a5334f934c848d895bef0653d1 (affected)
  • bf29fbeaa13d3350ca71df70c705d8b883c45692 up to but excluding 85c20d1cf3f01a506605a16c2f9ce23b9c8b114f (affected)
  • bf29fbeaa13d3350ca71df70c705d8b883c45692 up to but excluding a36814b9fe00970116d30c3143d81e7425c4d334 (affected)
  • bf29fbeaa13d3350ca71df70c705d8b883c45692 up to but excluding cc71400bc965c0d3894a38ead3d71243400c2d5e (affected)
  • bf29fbeaa13d3350ca71df70c705d8b883c45692 up to but excluding a1769877ff52a4f1bfb9ca535d1b5113808bd602 (affected)
  • bf29fbeaa13d3350ca71df70c705d8b883c45692 up to but excluding 63213927b141085b6c8719b8037dab3074b7e0fe (affected)
LinuxLinux
  • Default status: affected
  • 3.13 (affected)
  • 0 up to but excluding 3.13 (unaffected)
  • 5.10.273 up to and including 5.10.* (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.113 up to and including 6.12.* (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References