CVE-2023-53412

USB: gadget: bcm63xx_udc: 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:

USB: gadget: bcm63xx_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.

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
  • 0cac357717168f84d2f75e884a9cff52e6471aaa to before b0a2663ecbe8f65cd3bab2b34dd90156ceb0dbb8Affected
  • 0cac357717168f84d2f75e884a9cff52e6471aaa to before 31de0b70ae5661a407e9d578bbc41de2d83ac25dAffected
  • 0cac357717168f84d2f75e884a9cff52e6471aaa to before f30c7046dfa2748520a8045bb43ed2fbca0373b5Affected
  • 0cac357717168f84d2f75e884a9cff52e6471aaa to before a91c99b1fe5c6f7e52fb932ad9e57ec7cfe913ecAffected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 5.15.100 through 5.15.*Not affected
  • 6.1.18 through 6.1.*Not affected
  • 6.2.5 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.