In the Linux kernel, the following vulnerability has been resolved: dmaengine: ptdma: Fix the error handling path in pt_core_init() In order to free resources correctly in the error handling path of pt_core_init(), 2 goto's have to be switched. Otherwise, some resources will leak and we will try to release things that have not been allocated yet. Also move a dev_err() to a place where it is more meaningful.
https://git.kernel.org/stable/c/d7de1e4820c5a42441ff7276174c8c0e63575c1b
https://git.kernel.org/stable/c/3e41445287afa3cf6d572778e5aab31d25e60a8d
https://git.kernel.org/stable/c/3c62fd3406e0b2277c76a6984d3979c7f3f1d129