{"id":"CVE-2022-49746","aliases":["CVE-2022-49746"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dmaengine: imx-sdma: Se corrige una posible fuga de memoria en sdma_transfer_init. Si la función sdma_load_context() falla, se libera sdma_desc, pero se olvida liberar el desc-&gt;bd asignado. Ya se ha detectado el fallo de sdma_load_context() y el registro es el siguiente: [450.699064] imx-sdma 30bd0000.dma-controller: Tiempo de espera agotado para que CH0 esté listo... En este caso, el desc-&gt;bd no se liberará sin este cambio.","source":"nvd"}],"published":"2025-03-27T16:42:56.372Z","modified":"2026-06-17T05:19:01.707Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"21420841a554dae8a193cd3454ba91d913cfc320","fixed":"80ee99e52936b2c04cc37b17a14b2ae2f9d282ac","status":"affected"},{"type":"git","introduced":"21420841a554dae8a193cd3454ba91d913cfc320","fixed":"dbe634ce824329d8f14079c3e9f8f11670894bec","status":"affected"},{"type":"git","introduced":"21420841a554dae8a193cd3454ba91d913cfc320","fixed":"bd0050b7ffa87c7b260d563646af612f4112a778","status":"affected"},{"type":"git","introduced":"21420841a554dae8a193cd3454ba91d913cfc320","fixed":"43acd767bd90c5d4172ce7fee5d9007a9a08dea9","status":"affected"},{"type":"git","introduced":"21420841a554dae8a193cd3454ba91d913cfc320","fixed":"ce4745a6b8016fae74c95dcd457d4ceef7d98af1","status":"affected"},{"type":"git","introduced":"21420841a554dae8a193cd3454ba91d913cfc320","fixed":"1417f59ac0b02130ee56c0c50794b9b257be3d17","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"4.19.272","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.231","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.167","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.92","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.10","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.19.272"},{"status":"affected","introduced":"4.20","fixed":"5.4.231"},{"status":"affected","introduced":"5.5","fixed":"5.10.167"},{"status":"affected","introduced":"5.11","fixed":"5.15.92"},{"status":"affected","introduced":"5.16","fixed":"6.1.10"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/80ee99e52936b2c04cc37b17a14b2ae2f9d282ac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dbe634ce824329d8f14079c3e9f8f11670894bec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd0050b7ffa87c7b260d563646af612f4112a778","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43acd767bd90c5d4172ce7fee5d9007a9a08dea9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce4745a6b8016fae74c95dcd457d4ceef7d98af1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1417f59ac0b02130ee56c0c50794b9b257be3d17","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T17:25:21.461Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49746","url":"https://www.cve.org/CVERecord?id=CVE-2022-49746","licence":"CVE Terms of Use","modified":"2026-05-11T19:05:57.292Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49746","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49746","licence":"Public domain","modified":"2026-06-17T05:19:01.707Z"}],"updatedAt":"2026-11-25T22:58:20.843Z","epss":{"score":0.00195,"percentile":0.09605,"date":"2026-12-01T12:00:22.000Z"}}