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

pds_core: fix debugfs_lookup dentry leak and error handling

debugfs_lookup() returns a dentry with an elevated reference count that
must be released with dput(). The current code discards the returned
dentry without calling dput(), causing a reference leak on every
firmware reset recovery.

Additionally, when CONFIG_DEBUG_FS is disabled, debugfs_lookup()
returns ERR_PTR(-ENODEV), not NULL. The current check passes for error
pointers and would call dput() on an invalid pointer, causing a crash.
Published: 2026-07-19
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

debugfs_lookup in the Linux kernel incorrectly handles reference counting for the returned dentry and mismanages error pointers when debugging support is disabled. The function returns a dentry with an elevated reference count that is never released, creating a memory leak each time a firmware reset recovery occurs. In configurations where CONFIG_DEBUG_FS is disabled, debugfs_lookup returns an ERR_PTR(-ENODEV) pointer, yet the existing code treats it as a valid dentry and calls dput(), which crashes the kernel. This weakness (CWE‑772) can therefore lead to resource exhaustion or a kernel panic if the conditions are triggered.

Affected Systems

All Linux kernel releases that lack the commit correcting debugfs_lookup are affected, including mainstream distributions and custom builds that ship the unpatched kernel source. Devices that perform firmware reset recovery or run with debugfs disabled are especially vulnerable. Because specific vendor‑version data is not provided, any kernel version before the fix should be considered at risk.

Risk and Exploitability

The EPSS score of <1% indicates a very low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. No CVSS score is supplied. The reference leak and crash potential signify potential denial of service. Based on the bug, the likely attack vector is a local or privileged user who can trigger a firmware reset or manipulate the debugfs interface; this is inferred from how the bug is activated. Exploitation would lead to local denial of service by exhausting kernel resources or causing a kernel panic, requiring local access.

Generated by OpenCVE AI on July 30, 2026 at 20:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the debugfs_lookup fix (commit 26e19622c485e53c3fdb299e822068a0542ddf0c).
  • Reboot the host to load the patched kernel and clear any accumulated reference leaks.
  • If debugfs is not required for your operation, disable it via the kernel configuration (CONFIG_DEBUG_FS) to prevent the crash scenario.

Generated by OpenCVE AI on July 30, 2026 at 20:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Mon, 20 Jul 2026 12:15:00 +0000


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: pds_core: fix debugfs_lookup dentry leak and error handling debugfs_lookup() returns a dentry with an elevated reference count that must be released with dput(). The current code discards the returned dentry without calling dput(), causing a reference leak on every firmware reset recovery. Additionally, when CONFIG_DEBUG_FS is disabled, debugfs_lookup() returns ERR_PTR(-ENODEV), not NULL. The current check passes for error pointers and would call dput() on an invalid pointer, causing a crash.
Title pds_core: fix debugfs_lookup dentry leak and error handling
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T15:40:38.198Z

Reserved: 2026-07-19T07:54:57.037Z

Link: CVE-2026-64147

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64147 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:15:05Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime