CVE-2022-48774

Source
https://cve.org/CVERecord?id=CVE-2022-48774
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48774.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48774
Downstream
Related
Published
2024-07-16T11:13:13.806Z
Modified
2026-03-13T05:40:32.104449Z
Summary
dmaengine: ptdma: Fix the error handling path in pt_core_init()
Details

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 dev_err() to a place where it is more meaningful.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48774.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fa5d823b16a9442d609617abeec31da8b6afa224
Fixed
3e41445287afa3cf6d572778e5aab31d25e60a8d
Fixed
d7de1e4820c5a42441ff7276174c8c0e63575c1b
Fixed
3c62fd3406e0b2277c76a6984d3979c7f3f1d129

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48774.json"