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.
https://git.kernel.org/stable/c/a5fe2d1b55faba6d00fd87ad491b6cb603046304
https://git.kernel.org/stable/c/a29d385ad7b340c952a3935af2b33488db1eb3a6
https://git.kernel.org/stable/c/49ea8a359e362bfbb32a647c8eb7962fbb37234e
https://git.kernel.org/stable/c/0f3f427076240e75ff265e61645627a71ca4918c