AZL-117797: CVE-2026-142958 affecting package kernel 6.6.161.1-1
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
Event History
Frequently Asked Questions
What conditions are required to trigger the issue?
An actor must be able to write proximity-event configuration for the SX9500 driver. The incorrect accounting is triggered by writing an event state that is already set, such as writing 0 to an already disabled event or writing 1 to an already enabled event.
What is the practical impact of the faulty configuration writes?
A sequence of redundant writes can leave an event reported as enabled while its channel and interrupts remain disabled. Because the channel-user count is shared with raw reads, subsequent raw reads can wait indefinitely for a conversion.
How can administrators tell whether the problematic state may have been reached?
Indicators include an SX9500 proximity event that appears enabled while its channel or interrupts are off, or raw reads from the device that wait indefinitely for conversion. The described condition follows redundant event-configuration writes that do not change the requested state.