CVE-2022-49746

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/03/2025
Last modified:
28/03/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init<br /> <br /> If the function sdma_load_context() fails, the sdma_desc will be<br /> freed, but the allocated desc-&gt;bd is forgot to be freed.<br /> <br /> We already met the sdma_load_context() failure case and the log as<br /> below:<br /> [ 450.699064] imx-sdma 30bd0000.dma-controller: Timeout waiting for CH0 ready<br /> ...<br /> <br /> In this case, the desc-&gt;bd will not be freed without this change.

Impact