{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47325","id":"CVE-2021-47325","title":"iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation","description":"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\nFi","descriptionLong":"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.","published":"2024-05-21T14:35:38.498Z","updated":"2026-06-17T04:17:12.083Z","reserved":"2024-05-21T14:28:16.974Z","status":"Analyzed","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":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"b11220803ad14a2a880cc06d8e01fe2548cc85b0","status":"affected","versionType":"git"},{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"43d1aaa1965f9b58035196dac49b1e1e6c9c25eb","status":"affected","versionType":"git"},{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"0f0c5ea09139777d90729d408b807021f2ea6492","status":"affected","versionType":"git"},{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"5f9741a9a91f25c89e04b408cd61e3ab050ce24b","status":"affected","versionType":"git"},{"version":"d4a44f0750bb9bf7c44c22444a482756b2344a79","lessThan":"7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","status":"unaffected","versionType":"semver"},{"version":"5.4.134","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.52","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.12.19","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13.4","lessThanOrEqual":"5.13.*","status":"unaffected","versionType":"semver"},{"version":"5.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00246,"epssPercentile":0.16101,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47325","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47325","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47325","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-2021-47325","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}