CVE-2022-48774: dmaengine: ptdma: Fix the error handling path in pt_core_init()
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: ptdma: Fix the error handling path in ptcoreinit()
In order to free resources correctly in the error handling path of ptcoreinit(), 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 deverr() to a place where it is more meaningful.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.16.11-1
Event History
Frequently Asked Questions
What is the severity of CVE-2022-48774?
The severity of CVE-2022-48774 is classified as medium, as it involves resource leaks in the error handling of the Linux kernel.
How do I fix CVE-2022-48774?
To fix CVE-2022-48774, ensure that you update your Linux kernel to the latest patched version provided by your distribution.
What types of systems are affected by CVE-2022-48774?
CVE-2022-48774 affects systems running vulnerable versions of the Linux kernel, specifically those using the DMA engine.
Is CVE-2022-48774 exploitable remotely?
No, CVE-2022-48774 is not directly exploitable remotely as it requires local access for exploitation.
What are the potential impacts of CVE-2022-48774?
The potential impact of CVE-2022-48774 includes resource leaks, which could lead to degraded system performance or stability.