5.5medium
powerpc/iommu: fix memory leak with using debugfs_lookup()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: powerpc/iommu: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 691602aab9c3cce31d3ff9529c09b7922a5f6224 before e3a62a35f903fd8be5b44542fe3901ec45f16757, from 691602aab9c3cce31d3ff9529c09b7922a5f6224 before 24c1bd1cd0d1ff821fd7d2f01a1e648c7882dfc2, from 691602aab9c3cce31d3ff9529c09b7922a5f6224 before 4050498c0ae3946c223fc63e9dd7b878b76611e0, from 691602aab9c3cce31d3ff9529c09b7922a5f6224 before b505063910c134778202dfad9332dfcecb76bab3, 5.12 Not affected: before 5.12, from 5.15.103 up to 5.15.*, from 6.1.20 up to 6.1.*, from 6.2.7 up to 6.2.*, from 6.3 up to * | CVE List |
| linux linux_kernel | before 5.15.103, from 5.16 before 6.1.20, from 6.2 before 6.2.7 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: powerpc/iommu: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: powerpc/iommu: se corrige una fuga de memoria con debugfs_lookup(). Al llamar a debugfs_lookup(), se debe ejecutar dput() en el resultado; de lo contrario, la fuga de memoria se producirá con el tiempo. Para simplificar, simplemente llame a debugfs_lookup_and_remove(), que gestiona toda la lógica a la vez.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53097 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-53097 changed 2026-06-17 | Public domain |