Skip to main content

In the Linux kernel, the following vulnerability has been resolved: iio: light: gp2ap020a00f: drain irq_work after free_irq The threaded IRQ handler… (CVE-2026-98662)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:58 UTC)
Source: GCVE Database

Description

A use-after-free vulnerability in the Linux kernel's iio light sensor driver (gp2ap020a00f) was resolved. The issue occurs because the threaded IRQ handler queues work that may run after free_irq() has been called, potentially accessing freed memory. The fix adds synchronization to ensure queued work is drained after free_irq(), preventing use-after-free.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 21:48:41 UTC

Technical Analysis

The Linux kernel's iio light sensor driver gp2ap020a00f had a use-after-free vulnerability caused by the threaded IRQ handler queuing work via irq_work_queue() without flushing it on free_irq(). After gp2ap020a00f_remove() returns, the queued work could still run and call iio_trigger_poll() on a trigger that has already been freed by devm cleanup, leading to use-after-free. The fix adds irq_work_sync(&data->work) after free_irq() in the remove function and probe error path, ensuring the queued work is completed before the trigger is freed. This vulnerability was found by an in-house static analysis tool and confirmed manually.

Potential Impact

The vulnerability allows a use-after-free condition in kernel space, which can lead to undefined behavior including potential kernel crashes or memory corruption. No known exploits in the wild have been reported. The impact is limited to systems using the affected iio light sensor driver.

Mitigation Recommendations

A fix is available that adds synchronization to drain queued irq_work after free_irq() calls in the gp2ap020a00f driver. Users should apply the updated Linux kernel version containing this fix. No additional mitigation is required beyond applying the official patch.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-5vf6-9cv6-xwcm
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98662"]

Threat ID: 6ad520ad2cdf04f656993a55

Added to database: 10/18/2026, 19:40:29 UTC

Last enriched: 10/18/2026, 21:48:41 UTC

Last updated: 10/19/2026, 00:28:19 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses