{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4193c0f1d8631d439cea5f78329fe70f3a6e9128"
            },
            {
              "fixed": "22d087a71f1edb66c280a31da57d92c9b9f7b7be"
            },
            {
              "fixed": "8ef4aa4afc4997d571305628e1d25c316cd332bc"
            },
            {
              "fixed": "b8ed9165906597b69a46fabf39ab41690721ebe8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142958.json"
  },
  "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.",
  "id": "CVE-2026-142958",
  "modified": "2026-12-03T10:45:35.144102538Z",
  "published": "2026-12-03T09:16:47.016Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "iio: proximity: sx9500: ignore event config writes that don't change state"
}