# CVE-2026-64147: pds_core: fix debugfs_lookup dentry leak and error handling

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T15:40:38.198Z
- Modified: 2026-08-17T19:37:15.583Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2bbf2b1c20f934a054172175ccbabcc01fe69ef6 before 60ef1675b652e912f3eb064767af4432393291fd; from bc90fbe0c3182157d2be100a2f6c2edbb1820677 before 26e19622c485e53c3fdb299e822068a0542ddf0c; from bc90fbe0c3182157d2be100a2f6c2edbb1820677 before 91d13e92b983e6c6d7631012c2e20ae8057de9f2; from bc90fbe0c3182157d2be100a2f6c2edbb1820677 before d7f4dd4c8fb380898fef7a77d48fce7ccdb4fc32; from bc90fbe0c3182157d2be100a2f6c2edbb1820677 before dc416e32baaeb620b9809e9e25fc7b30889686e9; 3ffe14c36985e3174933127c9efad82ac8f3fefb; from 6.6.16 before 6.6.142; from 6.7.4 before 6.8; 6.8 (not affected: before 6.8; from 6.6.142 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.6.16 before 6.6.142; from 6.7.4 before 6.8; from 6.8.1 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 6.8; 7.1

## References

- <https://git.kernel.org/stable/c/60ef1675b652e912f3eb064767af4432393291fd> (patch)
- <https://git.kernel.org/stable/c/26e19622c485e53c3fdb299e822068a0542ddf0c> (patch)
- <https://git.kernel.org/stable/c/91d13e92b983e6c6d7631012c2e20ae8057de9f2> (patch)
- <https://git.kernel.org/stable/c/d7f4dd4c8fb380898fef7a77d48fce7ccdb4fc32> (patch)
- <https://git.kernel.org/stable/c/dc416e32baaeb620b9809e9e25fc7b30889686e9> (patch)

## Sources

- CVE List: [CVE-2026-64147](https://www.cve.org/CVERecord?id=CVE-2026-64147), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-64147](https://nvd.nist.gov/vuln/detail/CVE-2026-64147), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-64147 · Whole record: https://cve.day/CVE-2026-64147.json · Rebuilt by cve.day 2026-11-25T22:59:29.170Z
