What’s Vulnerable › Vulnerabilities
CVE-2022-48774: dmaengine: ptdma: Fix the error handling path in pt_core_init()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-16 · updated 2026-06-17
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
- Linux kernel: from 5.15 before 5.15.25; from 5.16 before 5.16.11; 5.17-rc1, 5.17-rc2, 5.17-rc3, 5.17-rc4 — fixed in 5.15.25, 5.16.11
How to fix
Upgrade to a fixed version: Linux kernel 5.15.25, 5.16.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3c62fd3406e0b2277c76a6984d3979c7f3f1d129
- https://git.kernel.org/stable/c/3e41445287afa3cf6d572778e5aab31d25e60a8d
- https://git.kernel.org/stable/c/d7de1e4820c5a42441ff7276174c8c0e63575c1b
- https://git.kernel.org/stable/c/3c62fd3406e0b2277c76a6984d3979c7f3f1d129
- https://git.kernel.org/stable/c/3e41445287afa3cf6d572778e5aab31d25e60a8d
- https://git.kernel.org/stable/c/d7de1e4820c5a42441ff7276174c8c0e63575c1b
Get alerted when CVE-2022-48774 or the next vulnerability affects your stack