iio: proximity: sx9500: ignore event config writes that don't change state
Summary
| CVE | CVE-2026-142958 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:17:17 UTC |
| Updated | 2026-12-03 10:17:17 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: iio: proximity: sx9500: ignore event config writes that don't change state sx9500_write_event_config() 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 channel_users[] 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 sx_common_write_event_config() does. |
Risk And Classification
EPSS: 0.002060000 probability, percentile 0.113040000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4193c0f1d8631d439cea5f78329fe70f3a6e9128 22d087a71f1edb66c280a31da57d92c9b9f7b7be git | Not specified |
| CNA | Linux | Linux | affected 4193c0f1d8631d439cea5f78329fe70f3a6e9128 8ef4aa4afc4997d571305628e1d25c316cd332bc git | Not specified |
| CNA | Linux | Linux | affected 4193c0f1d8631d439cea5f78329fe70f3a6e9128 b8ed9165906597b69a46fabf39ab41690721ebe8 git | Not specified |
| CNA | Linux | Linux | affected 4.0 | Not specified |
| CNA | Linux | Linux | unaffected 4.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc4 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/8ef4aa4afc4997d571305628e1d25c316cd332bc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/22d087a71f1edb66c280a31da57d92c9b9f7b7be | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b8ed9165906597b69a46fabf39ab41690721ebe8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.