Skip to content
Heist/ feed
Back to feed
UnratedFix available

iio: adc: xilinx-xadc: free IRQ before cancelling the unmask worker on unbind

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.191, 6.12.113, 6.18.56, 6.6.160, 7.2.10
CVEs
CVE-2026-98670
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:22 UTC · Revision 1

Source evidence

iio: adc: xilinx-xadc: free IRQ before cancelling the unmask worker on unbind

core-osv · Original source

Published 18 Oct 2026, 15:45 UTC

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.

osv:CVE-2026-98670

Kernel

Fixed versions: 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10

Complete source record
{
  "id": "864c394adb29f1f29d2d55431cd82152f0a97933a24790bbf74ec15ec1e52177",
  "url": "https://osv.dev/vulnerability/CVE-2026-98670",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "iio: adc: xilinx-xadc: free IRQ before cancelling the unmask worker on unbind",
    "summary": "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.",
    "evidence": "osv:CVE-2026-98670",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.191",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.56",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98670",
      "aliases": [
        "CVE-2026-98670"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2a9685d1a3b7644ca08d8355fc238b43faef7c3e"
                },
                {
                  "fixed": "7958959ab2a906c04f783a3ffb979c45472ad647"
                },
                {
                  "fixed": "012451d72c12293918617ff98cc737bedad21910"
                },
                {
                  "fixed": "a29d385ad7b340c952a3935af2b33488db1eb3a6"
                },
                {
                  "fixed": "a5fe2d1b55faba6d00fd87ad491b6cb603046304"
                },
                {
                  "fixed": "49ea8a359e362bfbb32a647c8eb7962fbb37234e"
                },
                {
                  "fixed": "0f3f427076240e75ff265e61645627a71ca4918c"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.10.200"
                },
                {
                  "fixed": "5.11"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e96eb8853f334f96312968e4f01c5a452db54c00"
                }
              ]
            }
          ],
          "versions": [
            "v5.10.273",
            "v5.10.272",
            "v5.10.271",
            "v5.10.270",
            "v5.10.269",
            "v5.10.268",
            "v5.10.267",
            "v5.10.266",
            "v5.10.265",
            "v5.10.264",
            "v5.10.263",
            "v5.10.262",
            "v5.10.261",
            "v5.10.260",
            "v5.10.259",
            "v5.10.258",
            "v5.10.257",
            "v5.10.256",
            "v5.10.255",
            "v5.10.254",
            "v5.10.253",
            "v5.10.252",
            "v5.10.251",
            "v5.10.250",
            "v5.10.249",
            "v5.10.248",
            "v5.10.247",
            "v5.10.246",
            "v5.10.245",
            "v5.10.244",
            "v5.10.243",
            "v5.10.242",
            "v5.10.241",
            "v5.10.240",
            "v5.10.239",
            "v5.10.238",
            "v5.10.237",
            "v5.10.236",
            "v5.10.235",
            "v5.10.234",
            "v5.10.233",
            "v5.10.232",
            "v5.10.231",
            "v5.10.230",
            "v5.10.229",
            "v5.10.228",
            "v5.10.227",
            "v5.10.226",
            "v5.10.225",
            "v5.10.224",
            "v5.10.223",
            "v5.10.222",
            "v5.10.221",
            "v5.10.220",
            "v5.10.219",
            "v5.10.218",
            "v5.10.217",
            "v5.10.216",
            "v5.10.215",
            "v5.10.214",
            "v5.10.213",
            "v5.10.212",
            "v5.10.211",
            "v5.10.210",
            "v5.10.209",
            "v5.10.208",
            "v5.10.207",
            "v5.10.206",
            "v5.10.205",
            "v5.10.204",
            "v5.10.203",
            "v5.10.202",
            "v5.10.201",
            "v5.10.200"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98670.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.12.0"
                },
                {
                  "fixed": "6.1.191"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.56"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98670.json"
          }
        }
      ],
      "modified": "2026-11-01T02:30:32.720257245Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/012451d72c12293918617ff98cc737bedad21910",
        "https://git.kernel.org/stable/c/0f3f427076240e75ff265e61645627a71ca4918c",
        "https://git.kernel.org/stable/c/49ea8a359e362bfbb32a647c8eb7962fbb37234e",
        "https://git.kernel.org/stable/c/7958959ab2a906c04f783a3ffb979c45472ad647",
        "https://git.kernel.org/stable/c/a29d385ad7b340c952a3935af2b33488db1eb3a6",
        "https://git.kernel.org/stable/c/a5fe2d1b55faba6d00fd87ad491b6cb603046304",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98670.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98670",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98670.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98670",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 497774,
  "published_at": "2026-10-18T15:45:14.81+00:00"
}