We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49746

dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init



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.

Reserved 2025-03-27 | Published 2025-03-27 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 80ee99e52936b2c04cc37b17a14b2ae2f9d282ac
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dbe634ce824329d8f14079c3e9f8f11670894bec
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bd0050b7ffa87c7b260d563646af612f4112a778
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 43acd767bd90c5d4172ce7fee5d9007a9a08dea9
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ce4745a6b8016fae74c95dcd457d4ceef7d98af1
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1417f59ac0b02130ee56c0c50794b9b257be3d17
affected

Default status
affected

4.19.272
unaffected

5.4.231
unaffected

5.10.167
unaffected

5.15.92
unaffected

6.1.10
unaffected

6.2
unaffected

References

git.kernel.org/...c/80ee99e52936b2c04cc37b17a14b2ae2f9d282ac

git.kernel.org/...c/dbe634ce824329d8f14079c3e9f8f11670894bec

git.kernel.org/...c/bd0050b7ffa87c7b260d563646af612f4112a778

git.kernel.org/...c/43acd767bd90c5d4172ce7fee5d9007a9a08dea9

git.kernel.org/...c/ce4745a6b8016fae74c95dcd457d4ceef7d98af1

git.kernel.org/...c/1417f59ac0b02130ee56c0c50794b9b257be3d17

cve.org (CVE-2022-49746)

nvd.nist.gov (CVE-2022-49746)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-49746

Support options

Helpdesk Chat, Email, Knowledgebase