← Back to CVE Explorer

CVE-2026-98670

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: xilinx-xadc: free IRQ before cancelling the unmask worker on unbind The ZYNQ XADC alarm IRQ handler queues zynq_unmask_work via schedule_delayed_work(); that work is cleared by a devm callback. Register the devm callback before devm_request_irq() so the devres LIFO teardown frees the IRQ first, ensuring the handler can no longer queue work by the time the workqueue is cleared. Otherwise the handler could re-arm the work and run it after the xadc structure has been freed. This issue was found by an in-house static analysis tool.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:20.300000
Last modified
2026-10-30 13:21:17.407000
View original CVE JSON
{
  "id": "CVE-2026-98670",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:20.300",
  "lastModified": "2026-10-30T13:21:17.407",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: xilinx-xadc: free IRQ before cancelling the unmask worker on unbind\n\nThe ZYNQ XADC alarm IRQ handler queues zynq_unmask_work via\nschedule_delayed_work(); that work is cleared by a devm callback.\nRegister the devm callback before devm_request_irq() so the devres LIFO\nteardown frees the IRQ first, ensuring the handler can no longer queue\nwork by the time the workqueue is cleared. Otherwise the handler could\nre-arm the work and run it after the xadc structure has been freed.\n\nThis issue was found by an in-house static analysis tool."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/iio/adc/xilinx-xadc-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "2a9685d1a3b7644ca08d8355fc238b43faef7c3e",
              "lessThan": "7958959ab2a906c04f783a3ffb979c45472ad647",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2a9685d1a3b7644ca08d8355fc238b43faef7c3e",
              "lessThan": "012451d72c12293918617ff98cc737bedad21910",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2a9685d1a3b7644ca08d8355fc238b43faef7c3e",
              "lessThan": "a29d385ad7b340c952a3935af2b33488db1eb3a6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2a9685d1a3b7644ca08d8355fc238b43faef7c3e",
              "lessThan": "a5fe2d1b55faba6d00fd87ad491b6cb603046304",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2a9685d1a3b7644ca08d8355fc238b43faef7c3e",
              "lessThan": "49ea8a359e362bfbb32a647c8eb7962fbb37234e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2a9685d1a3b7644ca08d8355fc238b43faef7c3e",
              "lessThan": "0f3f427076240e75ff265e61645627a71ca4918c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e96eb8853f334f96312968e4f01c5a452db54c00",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "5.10.200",
              "lessThan": "5.11",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/iio/adc/xilinx-xadc-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.12",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.12",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.56",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/012451d72c12293918617ff98cc737bedad21910",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/0f3f427076240e75ff265e61645627a71ca4918c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/49ea8a359e362bfbb32a647c8eb7962fbb37234e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/7958959ab2a906c04f783a3ffb979c45472ad647",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a29d385ad7b340c952a3935af2b33488db1eb3a6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a5fe2d1b55faba6d00fd87ad491b6cb603046304",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}