CVE-2026-142962: iio: gyro: bmg160: reject duplicate event disable
iio: gyro: bmg160: reject duplicate event disable
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
What conditions are required to trigger the runtime PM usage-count underflow?
The affected system must use the bmg160 gyroscope driver and receive a duplicate write that disables its IIO event-enable attribute when events are already disabled. The IIO core does not filter these duplicate writes, so the repeated disable can release a runtime PM reference that was not acquired for that request.
What is the observable impact of this issue?
The duplicate disable can underflow the runtime PM usage count and trigger a "Runtime PM usage count underflow" warning. The provided information does not describe further impact beyond that warning.
How does the fix prevent the problem?
The fix makes the driver return early when the requested event state already matches ev_enable_state. This prevents repeated disable requests from calling bmg160_set_power_state(data, false) again.