CVE-2026-90249: iio: light: gp2ap002: Fix unbalanced runtime PM on repeated event writes

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

iio: light: gp2ap002: Fix unbalanced runtime PM on repeated event writes

The IIO core does not filter duplicate writes to the event enable attribute, so writing the same value twice invokes writeeventconfig() twice. Enabling twice leaks a runtime PM reference, preventing the device from ever suspending again; disabling twice underflows the usage count and triggers a "Runtime PM usage count underflow" warning.

Bail out early when the requested state matches the current state. While at it, switch to pmruntimeresumeandget() so a failed resume is propagated to userspace instead of silently marking the event enabled.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel IIO core (iio: light: gp2ap002) to a version that resolves this vulnerability.

    Patch iio: light: gp2ap002: Fix unbalanced runtime PM on repeated event writes

Event History

Sep 17, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
Description

Frequently Asked Questions

1

What systems are exposed to this issue?

Systems using the Linux kernel gp2ap002 IIO light-sensor driver are exposed when software writes the driver's event-enable attribute repeatedly with the same value. The issue is tied to event configuration writes rather than ordinary sensor operation alone.

2

What behavior indicates that a system may be affected?

Repeatedly enabling the same event can leave an extra runtime power-management reference, causing the device to remain active instead of suspending. Repeatedly disabling the same event can trigger a "Runtime PM usage count underflow" warning.

3

What changes with the fix when event enabling fails?

The fix avoids duplicate state changes and uses pm_runtime_resume_and_get(). If runtime resume fails, the event-enable operation reports the failure to userspace rather than marking the event as enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203