Skip to content
Heist/ feed
Back to feed
MediumFix available

USB: gadget: lpc32xx_udc: fix memory leak with using debugfs_lookup()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: USB: gadget: lpc32xx_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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.100, 6.1.18, 6.2.5
CVEs
CVE-2023-53418
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:49 UTC · Revision 1

Source evidence

USB: gadget: lpc32xx_udc: fix memory leak with using debugfs_lookup()

core-osv · Original source

Published 18 Sept 2025, 13:58 UTC

In the Linux kernel, the following vulnerability has been resolved: USB: gadget: lpc32xx_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.

osv:CVE-2023-53418

Kernel

Fixed versions: 5.15.100, 6.1.18, 6.2.5

Complete source record
{
  "id": "d6b59317c131408f307018f79da5d72a39bc0d2d398b7ce238160bfb86a97f37",
  "url": "https://osv.dev/vulnerability/CVE-2023-53418",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "USB: gadget: lpc32xx_udc: fix memory leak with using debugfs_lookup()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: USB: gadget: lpc32xx_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.",
    "evidence": "osv:CVE-2023-53418",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.100",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.18",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-53418",
      "aliases": [
        "CVE-2023-53418"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e3d59eff47b8cc385acae9d7fb1c787857023376"
                },
                {
                  "fixed": "036ada6ca9eea926abc0b0ef550b10488d66d4d8"
                },
                {
                  "fixed": "7a5fdd8660174a8056de57d1fdce3a7e9f77f60e"
                },
                {
                  "fixed": "72c25eb9ae4993ccac4821354ff34eb1f32e4781"
                },
                {
                  "fixed": "e3965acaf3739fde9d74ad82979b46d37c6c208f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53418.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.14.0"
                },
                {
                  "fixed": "5.15.100"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.18"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53418.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.157993007Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/036ada6ca9eea926abc0b0ef550b10488d66d4d8",
        "https://git.kernel.org/stable/c/72c25eb9ae4993ccac4821354ff34eb1f32e4781",
        "https://git.kernel.org/stable/c/7a5fdd8660174a8056de57d1fdce3a7e9f77f60e",
        "https://git.kernel.org/stable/c/e3965acaf3739fde9d74ad82979b46d37c6c208f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53418.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53418",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53418.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53418",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490349,
  "published_at": "2025-09-18T13:58:54.007+00:00"
}