Bug 2298110 (CVE-2022-48774) - CVE-2022-48774 kernel: dmaengine: ptdma: Fix the error handling path in pt_core_init()
Summary: CVE-2022-48774 kernel: dmaengine: ptdma: Fix the error handling path in pt_co...
Keywords:
Status: NEW
Alias: CVE-2022-48774
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-16 12:22 UTC by OSIDB Bzimport
Modified: 2024-09-30 14:59 UTC (History)
5 users (show)

Fixed In Version: kernel 5.15.25, kernel 5.16.11, kernel 5.17
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-16 12:22:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.