{"api_version":"1","generated_at":"2026-12-04T03:26:35+00:00","cve":"CVE-2026-142958","urls":{"html":"https://cve.report/CVE-2026-142958","api":"https://cve.report/api/cve/CVE-2026-142958.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142958","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142958"},"summary":{"title":"iio: proximity: sx9500: ignore event config writes that don't change state","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:17","updated_at":"2026-12-03 10:17:17"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8ef4aa4afc4997d571305628e1d25c316cd332bc","name":"https://git.kernel.org/stable/c/8ef4aa4afc4997d571305628e1d25c316cd332bc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/22d087a71f1edb66c280a31da57d92c9b9f7b7be","name":"https://git.kernel.org/stable/c/22d087a71f1edb66c280a31da57d92c9b9f7b7be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b8ed9165906597b69a46fabf39ab41690721ebe8","name":"https://git.kernel.org/stable/c/b8ed9165906597b69a46fabf39ab41690721ebe8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142958","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142958","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4193c0f1d8631d439cea5f78329fe70f3a6e9128 22d087a71f1edb66c280a31da57d92c9b9f7b7be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4193c0f1d8631d439cea5f78329fe70f3a6e9128 8ef4aa4afc4997d571305628e1d25c316cd332bc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4193c0f1d8631d439cea5f78329fe70f3a6e9128 b8ed9165906597b69a46fabf39ab41690721ebe8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"142958","cve":"CVE-2026-142958","epss":"0.002060000","percentile":"0.113040000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/iio/proximity/sx9500.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"22d087a71f1edb66c280a31da57d92c9b9f7b7be","status":"affected","version":"4193c0f1d8631d439cea5f78329fe70f3a6e9128","versionType":"git"},{"lessThan":"8ef4aa4afc4997d571305628e1d25c316cd332bc","status":"affected","version":"4193c0f1d8631d439cea5f78329fe70f3a6e9128","versionType":"git"},{"lessThan":"b8ed9165906597b69a46fabf39ab41690721ebe8","status":"affected","version":"4193c0f1d8631d439cea5f78329fe70f3a6e9128","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/iio/proximity/sx9500.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.0"},{"lessThan":"4.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc4","versionStartIncluding":"4.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:16:47.016Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/22d087a71f1edb66c280a31da57d92c9b9f7b7be"},{"url":"https://git.kernel.org/stable/c/8ef4aa4afc4997d571305628e1d25c316cd332bc"},{"url":"https://git.kernel.org/stable/c/b8ed9165906597b69a46fabf39ab41690721ebe8"}],"title":"iio: proximity: sx9500: ignore event config writes that don't change state","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142958","datePublished":"2026-12-03T09:16:47.016Z","dateReserved":"2026-12-03T03:10:28.339Z","dateUpdated":"2026-12-03T09:16:47.016Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:17","lastModifiedDate":"2026-12-03 10:17:17","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142958","Ordinal":"1","Title":"iio: proximity: sx9500: ignore event config writes that don't ch","CVE":"CVE-2026-142958","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142958","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"iio: proximity: sx9500: ignore event config writes that don't ch"}]}}}