Skip to content
Heist/ feed
Back to feed
MediumFix available

trace/blktrace: fix memory leak with using debugfs_lookup()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: trace/blktrace: 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.99, 6.1.16, 6.2.3
CVEs
CVE-2023-53408
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:45 UTC · Revision 1

Source evidence

trace/blktrace: 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: trace/blktrace: 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-53408

Kernel

Fixed versions: 5.15.99, 6.1.16, 6.2.3

Complete source record
{
  "id": "ea45c0e0e10a1df14204dd4b6c1ddea0c65202711caa88d2697f69449cda6da4",
  "url": "https://osv.dev/vulnerability/CVE-2023-53408",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "trace/blktrace: fix memory leak with using debugfs_lookup()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: trace/blktrace: 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-53408",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.99",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-53408",
      "aliases": [
        "CVE-2023-53408"
      ],
      "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": "78acc7dbd84a8c173a08584750845c31611160f2"
                },
                {
                  "fixed": "a2e4b48d6f9b39aa19bafe223f9dd436a692fc80"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "30939293262eb433c960c4532a0d59c4073b2b84"
                },
                {
                  "fixed": "3036f5f5ae5210797d95446795df01c1249af9ad"
                },
                {
                  "fixed": "5286b72fb425291af5f4ca7285d73c16a08d8691"
                },
                {
                  "fixed": "83e8864fee26f63a7435e941b7c36a20fd6fe93e"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.15.27"
                },
                {
                  "fixed": "5.15.99"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.16.13"
                },
                {
                  "fixed": "5.17"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6418634238ade86f2b08192928787f39d8afb58c"
                }
              ]
            }
          ],
          "versions": [
            "v5.15.98",
            "v5.15.97",
            "v5.15.96",
            "v5.15.95",
            "v5.15.94",
            "v5.15.93",
            "v5.15.92",
            "v5.15.91",
            "v5.15.90",
            "v5.15.89",
            "v5.15.88",
            "v5.15.87",
            "v5.15.86",
            "v5.15.85",
            "v5.15.84",
            "v5.15.83",
            "v5.15.82",
            "v5.15.81",
            "v5.15.80",
            "v5.15.79",
            "v5.15.78",
            "v5.15.77",
            "v5.15.76",
            "v5.15.75",
            "v5.15.74",
            "v5.15.73",
            "v5.15.72",
            "v5.15.71",
            "v5.15.70",
            "v5.15.69",
            "v5.15.68",
            "v5.15.67",
            "v5.15.66",
            "v5.15.65",
            "v5.15.64",
            "v5.15.63",
            "v5.15.62",
            "v5.15.61",
            "v5.15.60",
            "v5.15.59",
            "v5.15.58",
            "v5.15.57",
            "v5.15.56",
            "v5.15.55",
            "v5.15.54",
            "v5.15.53",
            "v5.15.52",
            "v5.15.51",
            "v5.15.50",
            "v5.15.49",
            "v5.15.48",
            "v5.15.47",
            "v5.15.46",
            "v5.15.45",
            "v5.15.44",
            "v5.15.43",
            "v5.15.42",
            "v5.15.41",
            "v5.15.40",
            "v5.15.39",
            "v5.15.38",
            "v5.15.37",
            "v5.15.36",
            "v5.15.35",
            "v5.15.34",
            "v5.15.33",
            "v5.15.32",
            "v5.15.31",
            "v5.15.30",
            "v5.15.29",
            "v5.15.28",
            "v5.15.27",
            "v5.16.20",
            "v5.16.19",
            "v5.16.18",
            "v5.16.17",
            "v5.16.16",
            "v5.16.15",
            "v5.16.14",
            "v5.16.13"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53408.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.15.99"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "6.2.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53408.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.085470153Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/3036f5f5ae5210797d95446795df01c1249af9ad",
        "https://git.kernel.org/stable/c/5286b72fb425291af5f4ca7285d73c16a08d8691",
        "https://git.kernel.org/stable/c/83e8864fee26f63a7435e941b7c36a20fd6fe93e",
        "https://git.kernel.org/stable/c/a2e4b48d6f9b39aa19bafe223f9dd436a692fc80",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53408.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53408",
        "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-53408.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53408",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496934,
  "published_at": "2025-09-18T13:58:46.767+00:00"
}