In the Linux kernel, the following vulnerability has been resolved: dmaengine: qcom: bam_dma: free interrupt before the clock in error path The BAM interrupt is requested with a devres helper and so on error it's freed after probe() returns. We disable the clock before freeing or masking it so it may still fire and we may end up reading BAM registers with clock disabled. Stop using devres for interrupts as we free it in remove() manually anyway. Add an appropriate label and free the interrupt before disabling the clock in error path and in remove().
https://git.kernel.org/stable/c/b665e7fd3397bc85443ce4dc8a69f1ce796cc40a
https://git.kernel.org/stable/c/a05dcd38b4d158f7325ae1831f9b516e71351bd8
https://git.kernel.org/stable/c/82eed160cfa7a296ae4eb5acb8dd8f493323eea7
https://git.kernel.org/stable/c/7e303ef054e70d74de5cad6e3f209326e06a979b
https://git.kernel.org/stable/c/690ac3d6b408e723cce9cb5816e7185622acacef
https://git.kernel.org/stable/c/38e558a0e2e0a8350d10cc056ccb655387f83278
https://git.kernel.org/stable/c/2f6764f72911f7fad6e27c9cfdf76b52ebf77777
https://git.kernel.org/stable/c/29f85073013a7013576ddd2e7d3158226b165a11