CVE-2022-48774

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

State
Published
Severity
Not scored
Published
Jul 16, 2024
Updated
May 11, 2026
Reserved
Jun 20, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fa5d823b16a9442d609617abeec31da8b6afa224 to before 3e41445287afa3cf6d572778e5aab31d25e60a8dAffected
  • fa5d823b16a9442d609617abeec31da8b6afa224 to before d7de1e4820c5a42441ff7276174c8c0e63575c1bAffected
  • fa5d823b16a9442d609617abeec31da8b6afa224 to before 3c62fd3406e0b2277c76a6984d3979c7f3f1d129Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.25 through 5.15.*Not affected
  • 5.16.11 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.