CVE-2022-49746

MediumCVSS 5.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 21420841a554dae8a193cd3454ba91d913cfc320, < 80ee99e52936b2c04cc37b17a14b2ae2f9d282ac; >= 21420841a554dae8a193cd3454ba91d913cfc320, < dbe634ce824329d8f14079c3e9f8f11670894bec; >= 21420841a554dae8a193cd3454ba91d913cfc320, < bd0050b7ffa87c7b260d563646af612f4112a778; >= 21420841a554dae8a193cd3454ba91d913cfc320, < 43acd767bd90c5d4172ce7fee5d9007a9a08dea9; >= 21420841a554dae8a193cd3454ba91d913cfc320, < ce4745a6b8016fae74c95dcd457d4ceef7d98af1; >= 21420841a554dae8a193cd3454ba91d913cfc320, < 1417f59ac0b02130ee56c0c50794b9b257be3d17
LinuxLinux4.19

References

Timeline

Published
Mar 27, 2025
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2022

CVE-2022-497475.5In the Linux kernel, the following vulnerability has been resolved: erofs/zmap.c: Fix incorrect offset calculation Effective offset to addCVE-2022-497485.5In the Linux kernel, the following vulnerability has been resolved: perf/x86/amd: fix potential integer overflow on shift of a int The lefCVE-2022-497495.5In the Linux kernel, the following vulnerability has been resolved: i2c: designware: use casting of u64 in clock multiplication to avoid ovCVE-2022-49758.9A flaw was found in the Red Hat Advanced Cluster Security (RHACS) portal. When rendering a table view in the portal, for example, on any of CVE-2022-497505.5In the Linux kernel, the following vulnerability has been resolved: cpufreq: CPPC: Add u64 casts to avoid overflowing The fields of the _CCVE-2022-497515.5In the Linux kernel, the following vulnerability has been resolved: w1: fix WARNING after calling w1_process() I got the following WARNINGCVE-2022-497525.5In the Linux kernel, the following vulnerability has been resolved: device property: fix of node refcount leak in fwnode_graph_get_next_endCVE-2022-497537.8In the Linux kernel, the following vulnerability has been resolved: dmaengine: Fix double increment of client_count in dma_chan_get() The CVE-2022-497547.8In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix a buffer overflow in mgmt_mesh_add() Smatch Warning: neCVE-2022-497557.8In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait While perforCVE-2022-497565.5In the Linux kernel, the following vulnerability has been resolved: phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe() CVE-2022-497575.5In the Linux kernel, the following vulnerability has been resolved: EDAC/highbank: Fix memory leak in highbank_mc_probe() When devres_open
CVE-2022-49746: Medium severity, CVSS 5.5 | Vulnix