CVE-2022-48699

sched/debug: fix dentry leak in update_sched_domain_debugfs

MEDIUM
5.5
CVSS Score
Published: May 3, 2024 at 03:11 PM UTC
Updated: June 17, 2026 at 05:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.13 ≤ v < 5.15.685.13 ≤ v < 5.19.95.13 ≤ v < 6.05.16 ≤ v < 5.19.93b87f136f8fccddf7da016ab7d04bb3cf9b180f05.136.0 rc16.0 rc26.0 rc36.0 rc4
Vendor states this is fixed in 0c32a93963e03c03e561d5a066eedad211880ba3 (fixed)
Vendor states this is fixed in 26e9a1ded8923510e5529fbb28390b22228700c2 (fixed)
Vendor states this is fixed in c2e406596571659451f4b95e37ddfd5a8ef1d0dc (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.15.68 (unaffected)
Vendor states this is fixed in 5.19.9 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c32a93963e03c03e561d5a066eedad211880ba3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/26e9a1ded8923510e5529fbb28390b22228700c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2e406596571659451f4b95e37ddfd5a8ef1d0dc

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card