CVEvulnerability
CVE-2022-48699
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-03
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- 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 configurations
• linux linux kernel (>= 5.13 < 5.15.68)
• linux linux kernel (>= 5.16 < 5.19.9)
• linux linux kernel 6.0
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/0c32a93963e03c03e561d5a066eedad211880ba3 Patch
- https://git.kernel.org/stable/c/26e9a1ded8923510e5529fbb28390b22228700c2 Patch
- https://git.kernel.org/stable/c/c2e406596571659451f4b95e37ddfd5a8ef1d0dc Patch
- https://git.kernel.org/stable/c/0c32a93963e03c03e561d5a066eedad211880ba3 Patch
- https://git.kernel.org/stable/c/26e9a1ded8923510e5529fbb28390b22228700c2 Patch
- https://git.kernel.org/stable/c/c2e406596571659451f4b95e37ddfd5a8ef1d0dc Patch