CVE-2023-53346 kernel/fail_function: fix memory leak with using debugfs_lookup()
A memory leak in the Linux kernel's fail_function module can lead to resource exhaustion and denial of service if debugfs is used.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-53346?
CVE-2023-53346 is a medium-severity memory corruption vulnerability in Linux kernel, published on 17 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-401
Which versions are affected by CVE-2023-53346?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-53346?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-53346 being exploited?
There is no known exploitation of CVE-2023-53346 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-53346, DEBIAN-CVE-2023-53346, GHSA-7hgq-q722-gw74, UBUNTU-CVE-2023-53346.