What’s Vulnerable › Vulnerabilities
CVE-2022-48699: sched/debug: fix dentry leak in update_sched_domain_debugfs
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-03 · updated 2026-06-17
- Weakness: CWE-401
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
- Linux kernel: from 5.13 before 5.15.68; from 5.16 before 5.19.9; 6.0-rc1, 6.0-rc2, 6.0-rc3, 6.0-rc4 — fixed in 5.15.68, 5.19.9
How to fix
Upgrade to a fixed version: Linux kernel 5.15.68, 5.19.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0c32a93963e03c03e561d5a066eedad211880ba3
- https://git.kernel.org/stable/c/26e9a1ded8923510e5529fbb28390b22228700c2
- https://git.kernel.org/stable/c/c2e406596571659451f4b95e37ddfd5a8ef1d0dc
- https://git.kernel.org/stable/c/0c32a93963e03c03e561d5a066eedad211880ba3
- https://git.kernel.org/stable/c/26e9a1ded8923510e5529fbb28390b22228700c2
- https://git.kernel.org/stable/c/c2e406596571659451f4b95e37ddfd5a8ef1d0dc
Get alerted when CVE-2022-48699 or the next vulnerability affects your stack