# CVE-2023-53097: powerpc/iommu: fix memory leak with using debugfs_lookup()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-05-02T15:55:40.928Z
- Modified: 2026-06-17T06:44:17.407Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: before 5.15.103; from 5.16 before 6.1.20; from 6.2 before 6.2.7

## References

- <https://git.kernel.org/stable/c/e3a62a35f903fd8be5b44542fe3901ec45f16757> (patch)
- <https://git.kernel.org/stable/c/24c1bd1cd0d1ff821fd7d2f01a1e648c7882dfc2> (patch)
- <https://git.kernel.org/stable/c/4050498c0ae3946c223fc63e9dd7b878b76611e0> (patch)
- <https://git.kernel.org/stable/c/b505063910c134778202dfad9332dfcecb76bab3> (patch)

## Sources

- CVE List: [CVE-2023-53097](https://www.cve.org/CVERecord?id=CVE-2023-53097), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53097](https://nvd.nist.gov/vuln/detail/CVE-2023-53097), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53097 · Whole record: https://cve.day/CVE-2023-53097.json · Rebuilt by cve.day 2026-11-25T22:58:34.665Z
