CVE-2022-48774

medium

Description

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.

References

https://git.kernel.org/stable/c/d7de1e4820c5a42441ff7276174c8c0e63575c1b

https://git.kernel.org/stable/c/3e41445287afa3cf6d572778e5aab31d25e60a8d

https://git.kernel.org/stable/c/3c62fd3406e0b2277c76a6984d3979c7f3f1d129

Details

Source: Mitre, NVD

Published: 2024-07-16

Updated: 2024-07-16

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:L/AC:L/Au:S/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 5.3

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Severity: Medium