CVE-2022-48774

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

published July 16, 2024

CVSS
—
EPSS
0%
Percentile
12.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.4th percentile
Published
2024-07-16T11:13Z
EPSS history
Timeline
  • 16 JUL 11:13Z
    dmaengine: ptdma: Fix the error handling path in pt_core_init()
    cvelistv5