{"id":"CVE-2026-142958","summary":"iio: proximity: sx9500: ignore event config writes that don't change state","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: proximity: sx9500: ignore event config writes that don't change state\n\nsx9500_write_event_config() adjusts the channel and close/far user\ncounts on every write, even when the event is already in the requested\nstate. Writing 0 to a disabled event and then 1 leaves the counts at 0,\nso the channel and its interrupts stay off while the event reads as\nenabled. As channel_users[] is shared with raw reads, those can then\nwait forever for a conversion. Writing 1 twice and then 0 has the\nopposite effect.\n\nReturn early when the state doesn't change, as\nsx_common_write_event_config() does.","modified":"2026-12-03T11:00:48.931415746Z","published":"2026-12-03T09:16:47.016Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142958.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22d087a71f1edb66c280a31da57d92c9b9f7b7be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ef4aa4afc4997d571305628e1d25c316cd332bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8ed9165906597b69a46fabf39ab41690721ebe8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142958.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142958"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4193c0f1d8631d439cea5f78329fe70f3a6e9128"},{"fixed":"22d087a71f1edb66c280a31da57d92c9b9f7b7be"},{"fixed":"8ef4aa4afc4997d571305628e1d25c316cd332bc"},{"fixed":"b8ed9165906597b69a46fabf39ab41690721ebe8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142958.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142958.json"}}],"schema_version":"1.9.2"}