CVE-2022-49746

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedMar 27, 2025
First seenMar 27, 2025
Weakness typeCWE-401CWE-401

How to fix

Update
  • linux linux_kernel4.19.272, 5.4.231, 5.10.167, 5.15.92, 6.1.10 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 4.19.272, 4.20 ≤ v < 5.4.231, 5.5 ≤ v < 5.10.167, 5.11 ≤ v < 5.15.92, 5.16 ≤ v < 6.1.10, 6.24.19.272, 5.4.231, 5.10.167, 5.15.92, 6.1.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.