CVE-2021-47325

In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation The reference counting issue happens in several exception handling paths of arm_smmu_iova_to_phys_hard(). When those error scenarios occur, the function forgets to decrease the refcount of "smmu" increased by arm_smmu_rpm_get(), causing a refcount leak. Fix this issue by jumping to "out" label when those error scenarios occur.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

13 Jan 2025, 20:04

Type Values Removed Values Added
CWE NVD-CWE-Other
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492 - () https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492 - Patch
References () https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb - () https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb - Patch
References () https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b - () https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b - Patch
References () https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554 - () https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554 - Patch
References () https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0 - () https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0 - Patch

21 Nov 2024, 06:35

Type Values Removed Values Added
Summary
  • (es) 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.
References () https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492 - () https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492 -
References () https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb - () https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb -
References () https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b - () https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b -
References () https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554 - () https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554 -
References () https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0 - () https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0 -

21 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 15:15

Updated : 2025-01-13 20:04


NVD link : CVE-2021-47325

Mitre link : CVE-2021-47325

CVE.ORG link : CVE-2021-47325


JSON object : View

Products Affected

linux

  • linux_kernel