← CVE Intelligence

CVE-2022-48774

dmaengine: ptdma: Fix the error handling path in pt_core_init() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected fa5d823b16a9442d609617abeec31da8b6afa224 before 3e41445287afa3cf6d572778e5aab31d25e60a8d; affected fa5d823b16a9442d609617abeec31da8b6afa224 before d7de1e4820c5a42441ff7276174c8c0e63575c1b; affected fa5d823b16a9442d609617abeec31da8b6afa224 before 3c62fd3406e0b2277c76a6984d3979c7f3f1d129
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; unaffected 5.15.25 through 5.15.*; unaffected 5.16.11 through 5.16.*; unaffected 5.17 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.