Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-48774

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • fa5d823b16a9442d609617abeec31da8b6afa224 to < 3e41445287afa3cf6d572778e5aab31d25e60a8daffected
  • fa5d823b16a9442d609617abeec31da8b6afa224 to < d7de1e4820c5a42441ff7276174c8c0e63575c1baffected
  • fa5d823b16a9442d609617abeec31da8b6afa224 to < 3c62fd3406e0b2277c76a6984d3979c7f3f1d129affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.25 to ≤ 5.15.*unaffected
  • 5.16.11 to ≤ 5.16.*unaffected
  • 5.17 to ≤ *unaffected

References