# CVE-2023-53406: USB: gadget: pxa25x_udc: fix memory leak with using debugfs_lookup()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-09-18T13:58:45.179Z
- Modified: 2026-06-17T06:45:14.403Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

USB: gadget: pxa25x_udc: 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 1d50071b53f26a7b8b7d6a0e027b9e6643bb6075 before 6236a6d2cdfb710bd8a82c4b179d0a034d0d99cb; from 1d50071b53f26a7b8b7d6a0e027b9e6643bb6075 before 78d9586d8e728be1e360d3d0da7170c791d1d55e; from 1d50071b53f26a7b8b7d6a0e027b9e6643bb6075 before 8d48a7887dbca22e064c20caf20ae7949019fe9b; from 1d50071b53f26a7b8b7d6a0e027b9e6643bb6075 before 7a038a681b7df78362d9fc7013e5395a694a9d3a; 5.14 (not affected: before 5.14; 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

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6236a6d2cdfb710bd8a82c4b179d0a034d0d99cb> (patch)
- <https://git.kernel.org/stable/c/78d9586d8e728be1e360d3d0da7170c791d1d55e> (patch)
- <https://git.kernel.org/stable/c/8d48a7887dbca22e064c20caf20ae7949019fe9b> (patch)
- <https://git.kernel.org/stable/c/7a038a681b7df78362d9fc7013e5395a694a9d3a> (patch)

## Sources

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

---

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