{"id":"CVE-2022-48774","aliases":["CVE-2022-48774"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: ptdma: Fix the error handling path in pt_core_init()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dmaengine: ptdma: corrige la ruta de manejo de errores en pt_core_init() Para liberar recursos correctamente en la ruta de manejo de errores de pt_core_init(), se deben cambiar 2 goto. De lo contrario, algunos recursos se filtrarán e intentaremos liberar cosas que aún no se han asignado. También mueva un dev_err() a un lugar donde sea más significativo.","source":"nvd"}],"published":"2024-07-16T11:13:13.806Z","modified":"2026-06-17T05:16:09.807Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fa5d823b16a9442d609617abeec31da8b6afa224","fixed":"3e41445287afa3cf6d572778e5aab31d25e60a8d","status":"affected"},{"type":"git","introduced":"fa5d823b16a9442d609617abeec31da8b6afa224","fixed":"d7de1e4820c5a42441ff7276174c8c0e63575c1b","status":"affected"},{"type":"git","introduced":"fa5d823b16a9442d609617abeec31da8b6afa224","fixed":"3c62fd3406e0b2277c76a6984d3979c7f3f1d129","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.25","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.11","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"5.15.25"},{"status":"affected","introduced":"5.16","fixed":"5.16.11"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3e41445287afa3cf6d572778e5aab31d25e60a8d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7de1e4820c5a42441ff7276174c8c0e63575c1b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c62fd3406e0b2277c76a6984d3979c7f3f1d129","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:00:39.728Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48774","url":"https://www.cve.org/CVERecord?id=CVE-2022-48774","licence":"CVE Terms of Use","modified":"2026-05-11T18:46:40.817Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48774","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48774","licence":"Public domain","modified":"2026-06-17T05:16:09.807Z"}],"updatedAt":"2026-11-25T22:58:19.874Z","epss":{"score":0.00225,"percentile":0.14002,"date":"2026-12-01T12:00:22.000Z"}}