{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142958",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.339Z",
        "datePublished": "2026-12-03T09:16:47.016Z",
        "dateUpdated": "2026-12-03T09:16:47.016Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:16:47.016Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/proximity/sx9500.c"
                    ],
                    "versions": [
                        {
                            "version": "4193c0f1d8631d439cea5f78329fe70f3a6e9128",
                            "lessThan": "22d087a71f1edb66c280a31da57d92c9b9f7b7be",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4193c0f1d8631d439cea5f78329fe70f3a6e9128",
                            "lessThan": "8ef4aa4afc4997d571305628e1d25c316cd332bc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4193c0f1d8631d439cea5f78329fe70f3a6e9128",
                            "lessThan": "b8ed9165906597b69a46fabf39ab41690721ebe8",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/proximity/sx9500.c"
                    ],
                    "versions": [
                        {
                            "version": "4.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc4",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.0",
                                    "versionEndExcluding": "7.4-rc4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}