CVE-2026-98670 PUBLISHED

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

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 2a9685d1a3b7644ca08d8355fc238b43faef7c3e to a29d385ad7b340c952a3935af2b33488db1eb3a6 (excl.)
  • affected from 2a9685d1a3b7644ca08d8355fc238b43faef7c3e to a5fe2d1b55faba6d00fd87ad491b6cb603046304 (excl.)
  • affected from 2a9685d1a3b7644ca08d8355fc238b43faef7c3e to 49ea8a359e362bfbb32a647c8eb7962fbb37234e (excl.)
  • affected from 2a9685d1a3b7644ca08d8355fc238b43faef7c3e to 0f3f427076240e75ff265e61645627a71ca4918c (excl.)
  • Version e96eb8853f334f96312968e4f01c5a452db54c00 is affected
  • affected from 5.10.200 to 5.11 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.12 is affected
  • unaffected from 0 to 5.12 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References