CVE-2023-53390Published Sep 18, 2025 · Sep 18Updated Oct 28
drivers: base: dd: fix memory leak with using debugfs_lookup()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drivers: base: dd: 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.
From the CVE record · Linux
The Linux kernel driver core can leak memory when a result from debugfs_lookup() is not released. The leak can grow over time; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.