CVE-2023-53403

time/debug: Fix memory leak with using debugfs_lookup()

State
Published
Severity
5.5 Medium
Published
Sep 18, 2025
Updated
May 11, 2026
Reserved
Sep 17, 2025

Read the record on cve.org

Description

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

time/debug: 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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 44511ab344c755d1f216bf421e92fbc2777e87fe to before dc39fbd865a9819db4b622f610ba17b2ebc294f4Affected
  • 44511ab344c755d1f216bf421e92fbc2777e87fe to before 15cffd01ed80e3506e29ba9f441e2358413b7317Affected
  • 44511ab344c755d1f216bf421e92fbc2777e87fe to before b588b42d077ce93c98704b41003bcec6a564b738Affected
  • 44511ab344c755d1f216bf421e92fbc2777e87fe to before 5b268d8abaec6cbd4bd70d062e769098d96670aaAffected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.99 through 5.15.*Not affected
  • 6.1.16 through 6.1.*Not affected
  • 6.2.3 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.