{"id":"CVE-2021-47325","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-05-21T15:15:19.613","lastModified":"2026-06-17T04:17:12.083","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":" 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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/iommu/arm/arm-smmu/arm-smmu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"b11220803ad14a2a880cc06d8e01fe2548cc85b0","versionType":"git","status":"affected"},{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"43d1aaa1965f9b58035196dac49b1e1e6c9c25eb","versionType":"git","status":"affected"},{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"0f0c5ea09139777d90729d408b807021f2ea6492","versionType":"git","status":"affected"},{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"5f9741a9a91f25c89e04b408cd61e3ab050ce24b","versionType":"git","status":"affected"},{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/iommu/arm/arm-smmu/arm-smmu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","versionType":"semver","status":"unaffected"},{"version":"5.4.134","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.52","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.12.19","lessThanOrEqual":"5.12.*","versionType":"semver","status":"unaffected"},{"version":"5.13.4","lessThanOrEqual":"5.13.*","versionType":"semver","status":"unaffected"},{"version":"5.14","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-05-21T17:39:49.383659Z","id":"CVE-2021-47325","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.134","matchCriteriaId":"E8906CE9-ED5B-4D67-A356-65A3B757C7A7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.52","matchCriteriaId":"7C1E6FB6-53C8-4DC4-8AE5-93094BA39F62"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.12.19","matchCriteriaId":"34C1A2F4-DD44-4CF1-8FD4-751A0D746A9E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.13.4","matchCriteriaId":"F93FA3CC-0C79-410B-A7D7-245C2AA0723A"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}