CVE-2022-49746

MEDIUM

Linux Kernel < 4.19.272 - Memory Leak

Title source: rule

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.

Scores

CVSS v3 5.5
EPSS 0.0005
EPSS Percentile 15.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (10)

linux/linux_kernel < 4.19.272
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/Kernel < 4.19.272linux
linux/Kernel < 5.4.231linux
linux/Kernel < 5.10.167linux
linux/Kernel < 5.15.92linux
linux/Kernel < 6.1.10linux

Timeline

Published Mar 27, 2025
Tracked Since Feb 18, 2026