{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49746","id":"CVE-2022-49746","title":"dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init\n\nIf the function sdma_load_context() fails, the sdma_desc will be\nfreed, but the allocated desc->bd is forgot to be freed.\n\nWe already met the sdma_load_context() failure case and the log as\nbelow:\n[ 450.699064] imx-sdma 30bd0000.dma-controller: Timeout waiting","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init\n\nIf the function sdma_load_context() fails, the sdma_desc will be\nfreed, but the allocated desc->bd is forgot to be freed.\n\nWe already met the sdma_load_context() failure case and the log as\nbelow:\n[ 450.699064] imx-sdma 30bd0000.dma-controller: Timeout waiting for CH0 ready\n...\n\nIn this case, the desc->bd will not be freed without this change.","published":"2025-03-27T16:42:56.372Z","updated":"2026-10-28T02:30:21.371618292Z","reserved":"2025-03-27T16:39:17.987Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"21420841a554dae8a193cd3454ba91d913cfc320","lessThan":"80ee99e52936b2c04cc37b17a14b2ae2f9d282ac","status":"affected","versionType":"git"},{"version":"21420841a554dae8a193cd3454ba91d913cfc320","lessThan":"dbe634ce824329d8f14079c3e9f8f11670894bec","status":"affected","versionType":"git"},{"version":"21420841a554dae8a193cd3454ba91d913cfc320","lessThan":"bd0050b7ffa87c7b260d563646af612f4112a778","status":"affected","versionType":"git"},{"version":"21420841a554dae8a193cd3454ba91d913cfc320","lessThan":"43acd767bd90c5d4172ce7fee5d9007a9a08dea9","status":"affected","versionType":"git"},{"version":"21420841a554dae8a193cd3454ba91d913cfc320","lessThan":"ce4745a6b8016fae74c95dcd457d4ceef7d98af1","status":"affected","versionType":"git"},{"version":"21420841a554dae8a193cd3454ba91d913cfc320","lessThan":"1417f59ac0b02130ee56c0c50794b9b257be3d17","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","status":"unaffected","versionType":"semver"},{"version":"4.19.272","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.231","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.167","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.92","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.10","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/80ee99e52936b2c04cc37b17a14b2ae2f9d282ac","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/dbe634ce824329d8f14079c3e9f8f11670894bec","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bd0050b7ffa87c7b260d563646af612f4112a778","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/43acd767bd90c5d4172ce7fee5d9007a9a08dea9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ce4745a6b8016fae74c95dcd457d4ceef7d98af1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1417f59ac0b02130ee56c0c50794b9b257be3d17","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49746.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49746","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00195,"epssPercentile":0.09259,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49746","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49746","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49746","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49746","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}