# CVE-2023-53173: tty: pcn_uart: 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:04:07.411Z
- Modified: 2026-06-17T06:44:26.290Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

tty: pcn_uart: 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 4dec5f1af694526db760dfbb47211236e556e27c before cf042964c2fa72950bbbf25b2cdd732b873e89db; from 4dec5f1af694526db760dfbb47211236e556e27c before 4459d1e7bd0421b3b6fcd745773d8823f71615ef; from 4dec5f1af694526db760dfbb47211236e556e27c before 139769c4bd8273b5e3f85ea474aa37018fe7e436; from 4dec5f1af694526db760dfbb47211236e556e27c before 04a189c720aa2b6091442113ce9b9bc93552dff8; 5.13 (not affected: before 5.13; from 5.15.100 up to 5.15.*; from 6.1.18 up to 6.1.*; from 6.2.5 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: before 5.15.100; from 5.16 before 6.1.18; from 6.2 before 6.2.5

## References

- <https://git.kernel.org/stable/c/cf042964c2fa72950bbbf25b2cdd732b873e89db> (patch)
- <https://git.kernel.org/stable/c/4459d1e7bd0421b3b6fcd745773d8823f71615ef> (patch)
- <https://git.kernel.org/stable/c/139769c4bd8273b5e3f85ea474aa37018fe7e436> (patch)
- <https://git.kernel.org/stable/c/04a189c720aa2b6091442113ce9b9bc93552dff8> (patch)

## Sources

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

---

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