What’s Vulnerable › Vulnerabilities

CVE-2022-48699: sched/debug: fix dentry leak in update_sched_domain_debugfs

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.68, 5.19.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48699 or the next vulnerability affects your stack