{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "99543823357966ac938d9a310947e731b67338e6"
            },
            {
              "fixed": "5b3594b6b51d0438ed0ae288a805c84937957bbf"
            },
            {
              "fixed": "56ea28f8252dfb8db4c49a6f662aacf274f307af"
            },
            {
              "fixed": "0ee790d688606c5afae55afd083f5264e0d489d4"
            },
            {
              "fixed": "c90eab7a4c252a0f3eafeb666dce0f4c93b9f88f"
            },
            {
              "fixed": "8622258bb57e2bbd987b4a84ec6a0efbe9585c67"
            },
            {
              "fixed": "dff701806ab6252f6a0fccba880c47cd09602625"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "7e1e5ca41ceb8b67714fd9fb3c8819f48e920112"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "c24113843be9eb9ac27e8b2d9bbce6d2c8d01e6c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4521af12ec087b3ff43656ef55ba453ddb642ed9"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0fc25c28b8c39088724d38ff0519fc1e21b91389"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6947850e72d7021e24707adcd69186d05d73e762"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3bdfc8b57f57425b6fc6d1bca4accfbb72d755f8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "dda5d00a2a7d988069f835bea9688be1ec1dd062"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "c2b621ce19615cbf5441f4ddc30f7e29dc183ca3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.2.82"
            },
            {
              "fixed": "3.3"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "3.10.103"
            },
            {
              "fixed": "3.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "3.12.63"
            },
            {
              "fixed": "3.13"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "3.14.74"
            },
            {
              "fixed": "3.15"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "3.16.37"
            },
            {
              "fixed": "3.17"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.1.31"
            },
            {
              "fixed": "4.2"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.4.16"
            },
            {
              "fixed": "4.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.6.5"
            },
            {
              "fixed": "4.7"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.7.0"
            },
            {
              "fixed": "5.10.276"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.227"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.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-142956.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: trigger: Return an error when the trigger has no free irq\n\niio_trigger_attach_poll_func() prints an error when all\nCONFIG_IIO_CONSUMERS_PER_TRIGGER irqs of the trigger are in use, but\nreturns 0. The buffer of the extra consumer is enabled without a poll\nfunction.\n\nDisabling that buffer calls clear_bit() with a negative bit number and\ndrops a module reference for the second time. On arm and arm64 the\nclear_bit() goes about 512 MB past the pool bitmap. That is an oops if\nthe address is not mapped, and a bit cleared in unrelated memory if it\nis.\n\nReturn the error from iio_trigger_get_irq().",
  "id": "CVE-2026-142956",
  "modified": "2026-12-03T10:45:58.399511121Z",
  "published": "2026-12-03T09:16:44.770Z",
  "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/0ee790d688606c5afae55afd083f5264e0d489d4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/56ea28f8252dfb8db4c49a6f662aacf274f307af"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b3594b6b51d0438ed0ae288a805c84937957bbf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8622258bb57e2bbd987b4a84ec6a0efbe9585c67"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c90eab7a4c252a0f3eafeb666dce0f4c93b9f88f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dff701806ab6252f6a0fccba880c47cd09602625"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142956.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142956"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "iio: trigger: Return an error when the trigger has no free irq"
}