# CVE-2023-53346: kernel/fail_function: 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-09-17T14:56:38.400Z
- Modified: 2026-06-17T06:44:57.590Z
- 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:

kernel/fail_function: 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 4b1a29a7f5425d32640b34b8a755f34e02f64d0f before f6d3aee1c66358471275df9dddd480010f061b0e; from 4b1a29a7f5425d32640b34b8a755f34e02f64d0f before dd9981a11d74ff2eb253bb5c459876f8bd3c6c36; from 4b1a29a7f5425d32640b34b8a755f34e02f64d0f before bb99db06b8b6ce9351633fc61bec9919d8f6f52b; from 4b1a29a7f5425d32640b34b8a755f34e02f64d0f before 29d53c4c5a6f6d2b93aaac95b65cb4c907faf2ff; from 4b1a29a7f5425d32640b34b8a755f34e02f64d0f before 94f68f3e059c478e240f65fcb64746fe371295df; from 4b1a29a7f5425d32640b34b8a755f34e02f64d0f before 2bb3669f576559db273efe49e0e69f82450efbca; 4.16 (not affected: before 4.16; from 5.4.235 up to 5.4.*; from 5.10.173 up to 5.10.*; 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.4.235; from 5.5 before 5.10.173; from 5.11 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/f6d3aee1c66358471275df9dddd480010f061b0e> (patch)
- <https://git.kernel.org/stable/c/dd9981a11d74ff2eb253bb5c459876f8bd3c6c36> (patch)
- <https://git.kernel.org/stable/c/bb99db06b8b6ce9351633fc61bec9919d8f6f52b> (patch)
- <https://git.kernel.org/stable/c/29d53c4c5a6f6d2b93aaac95b65cb4c907faf2ff> (patch)
- <https://git.kernel.org/stable/c/94f68f3e059c478e240f65fcb64746fe371295df> (patch)
- <https://git.kernel.org/stable/c/2bb3669f576559db273efe49e0e69f82450efbca> (patch)

## Sources

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

---

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