CVE-2022-49746 Details
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init If the function sdma_load_context() fails, the sdma_desc will be freed, but the allocated desc->bd is forgot to be freed. We already met the sdma_load_context() failure case and the log as below: [ 450.699064] imx-sdma 30bd0000.dma-controller: Timeout waiting for CH0 ready ... In this case, the desc->bd will not be freed without this change.
A memory leak vulnerability has been identified in the Linux kernel's imx-sdma DMA engine. The issue arises in the sdma_transfer_init function, where the sdma_load_context function's failure can lead to a memory leak. If sdma_load_context fails, the sdma_desc structure is freed, but the associated desc->bd buffer is not, causing a memory leak. This vulnerability has been addressed in the Linux kernel.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1417f59ac0b02130ee56c0c50794b9b257be3d17 | kernel.org | Patch |
| https://git.kernel.org/stable/c/43acd767bd90c5d4172ce7fee5d9007a9a08dea9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/80ee99e52936b2c04cc37b17a14b2ae2f9d282ac | kernel.org | Patch |
| https://git.kernel.org/stable/c/bd0050b7ffa87c7b260d563646af612f4112a778 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ce4745a6b8016fae74c95dcd457d4ceef7d98af1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dbe634ce824329d8f14079c3e9f8f11670894bec | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.19.272 >= 4.20, < 5.4.231 >= 5.5, < 5.10.167 >= 5.11, < 5.15.92 >= 5.16, < 6.1.10 6.2 rc1 6.2 rc2 6.2 rc3 6.2 rc4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Apr 14, 2025 | Initial Analysis | [email protected] |
| Mar 27, 2025 | New CVE Received | kernel.org |