What’s Vulnerable › Vulnerabilities

CVE-2022-48774: dmaengine: ptdma: Fix the error handling path in pt_core_init()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.25, 5.16.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48774 or the next vulnerability affects your stack