CVE-2022-48699

sched/debug: fix dentry leak in update_sched_domain_debugfs

State
Published
Severity
Not scored
Published
May 3, 2024
Updated
May 11, 2026
Reserved
May 3, 2024

Read the record on cve.org

Description

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

sched/debug: fix dentry leak in update_sched_domain_debugfs

Kuyo reports that the pattern of using debugfs_remove(debugfs_lookup()) leaks a dentry and with a hotplug stress test, the machine eventually runs out of memory.

Fix this up by using the newly created debugfs_lookup_and_remove() call instead which properly handles the dentry reference counting logic.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0 to before 26e9a1ded8923510e5529fbb28390b22228700c2Affected
  • 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0 to before 0c32a93963e03c03e561d5a066eedad211880ba3Affected
  • 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0 to before c2e406596571659451f4b95e37ddfd5a8ef1d0dcAffected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.68 through 5.15.*Not affected
  • 5.19.9 through 5.19.*Not affected
  • 6.0 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.