{"id":"CVE-2021-47325","aliases":["CVE-2021-47325"],"related":[],"kind":"vulnerability","state":"published","title":"iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation\n\nThe reference counting issue happens in several exception handling paths\nof arm_smmu_iova_to_phys_hard(). When those error scenarios occur, the\nfunction forgets to decrease the refcount of \"smmu\" increased by\narm_smmu_rpm_get(), causing a refcount leak.\n\nFix this issue by jumping to \"out\" label when those error scenarios\noccur.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation\n\nThe reference counting issue happens in several exception handling paths\nof arm_smmu_iova_to_phys_hard(). When those error scenarios occur, the\nfunction forgets to decrease the refcount of \"smmu\" increased by\narm_smmu_rpm_get(), causing a refcount leak.\n\nFix this issue by jumping to \"out\" label when those error scenarios\noccur.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: iommu/arm-smmu: corrige la fuga de recuento de referencias de arm_smmu_device en la traducción de direcciones. El problema de recuento de referencias ocurre en varias rutas de manejo de excepciones de arm_smmu_iova_to_phys_hard(). Cuando ocurren esos escenarios de error, la función se olvida de disminuir el recuento de \"smmu\" aumentado en arm_smmu_rpm_get(), lo que provoca una fuga de recuento. Solucione este problema saltando a la etiqueta \"out\" cuando se produzcan esos escenarios de error.","source":"nvd"}],"published":"2024-05-21T14:35:38.498Z","modified":"2026-06-17T04:17:12.083Z","severity":{"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"},"severities":[{"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":[],"affected":[{"ranges":[{"type":"git","introduced":"d4a44f0750bb9bf7c44c22444a482756b2344a79","fixed":"b11220803ad14a2a880cc06d8e01fe2548cc85b0","status":"affected"},{"type":"git","introduced":"d4a44f0750bb9bf7c44c22444a482756b2344a79","fixed":"43d1aaa1965f9b58035196dac49b1e1e6c9c25eb","status":"affected"},{"type":"git","introduced":"d4a44f0750bb9bf7c44c22444a482756b2344a79","fixed":"0f0c5ea09139777d90729d408b807021f2ea6492","status":"affected"},{"type":"git","introduced":"d4a44f0750bb9bf7c44c22444a482756b2344a79","fixed":"5f9741a9a91f25c89e04b408cd61e3ab050ce24b","status":"affected"},{"type":"git","introduced":"d4a44f0750bb9bf7c44c22444a482756b2344a79","fixed":"7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.4.134","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.52","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.19","lastAffected":"5.12.*","status":"unaffected"},{"type":"semver","introduced":"5.13.4","lastAffected":"5.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.14","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":"5.4.134"},{"status":"affected","introduced":"5.5","fixed":"5.10.52"},{"status":"affected","introduced":"5.11","fixed":"5.12.19"},{"status":"affected","introduced":"5.13","fixed":"5.13.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-21T17:39:49.383Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47325","url":"https://www.cve.org/CVERecord?id=CVE-2021-47325","licence":"CVE Terms of Use","modified":"2026-05-11T13:52:18.880Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47325","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47325","licence":"Public domain","modified":"2026-06-17T04:17:12.083Z"}],"updatedAt":"2026-11-25T22:58:08.798Z","epss":{"score":0.00246,"percentile":0.1701,"date":"2026-12-01T12:00:22.000Z"}}