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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0, < 26e9a1ded8923510e5529fbb28390b22228700c2; >= 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0, < 0c32a93963e03c03e561d5a066eedad211880ba3; >= 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0, < c2e406596571659451f4b95e37ddfd5a8ef1d0dc |
| Linux | Linux | 5.13 |
References
- https://git.kernel.org/stable/c/0c32a93963e03c03e561d5a066eedad211880ba3Patch
- https://git.kernel.org/stable/c/26e9a1ded8923510e5529fbb28390b22228700c2Patch
- https://git.kernel.org/stable/c/c2e406596571659451f4b95e37ddfd5a8ef1d0dcPatch
- https://git.kernel.org/stable/c/0c32a93963e03c03e561d5a066eedad211880ba3Patch
- https://git.kernel.org/stable/c/26e9a1ded8923510e5529fbb28390b22228700c2Patch
- https://git.kernel.org/stable/c/c2e406596571659451f4b95e37ddfd5a8ef1d0dcPatch
Timeline
- Published
- May 3, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed