CVE-2026-142958: iio: proximity: sx9500: ignore event config writes that don't change state

Published Dec 3, 2026
·
Updated

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

iio: proximity: sx9500: ignore event config writes that don't change state

sx9500writeeventconfig() adjusts the channel and close/far user counts on every write, even when the event is already in the requested state. Writing 0 to a disabled event and then 1 leaves the counts at 0, so the channel and its interrupts stay off while the event reads as enabled. As channelusers[] is shared with raw reads, those can then wait forever for a conversion. Writing 1 twice and then 0 has the opposite effect.

Return early when the state doesn't change, as sxcommonwriteeventconfig() does.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:16 AM
Data Sourced
via MITRE·09:16 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the issue?

An actor must be able to write SX9500 event configuration values repeatedly without changing the requested enabled/disabled state. Specific problematic sequences include writing 0 to an already disabled event before enabling it, or writing 1 twice before disabling it.

2

What operational impact can indicate that a system is affected?

A channel can appear enabled while its channel and interrupts remain disabled. Because the channel user count is shared with raw reads, raw reads may then wait indefinitely for a conversion.

3

Is this limited to event handling, or can normal sensor reads be affected?

Normal raw reads can be affected because they share channel_users[] with event configuration handling. Incorrect event-config writes can leave the shared count in a state that prevents conversions from completing.

4

What behavior does the fix introduce?

The fix ignores event configuration writes when the requested state is already the current state. This prevents repeated writes from incorrectly changing the channel and close/far user counts.

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