{"id":"CVE-2022-48774","summary":"dmaengine: ptdma: Fix the error handling path in pt_core_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: ptdma: Fix the error handling path in pt_core_init()\n\nIn order to free resources correctly in the error handling path of\npt_core_init(), 2 goto's have to be switched. Otherwise, some resources\nwill leak and we will try to release things that have not been allocated\nyet.\n\nAlso move a dev_err() to a place where it is more meaningful.","modified":"2026-04-11T12:41:18.281091Z","published":"2024-07-16T11:13:13.806Z","related":["SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48774.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3c62fd3406e0b2277c76a6984d3979c7f3f1d129"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e41445287afa3cf6d572778e5aab31d25e60a8d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7de1e4820c5a42441ff7276174c8c0e63575c1b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48774.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48774"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.25"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.16.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48774.json"}}],"schema_version":"1.7.5"}