CVE-2022-48699

sched/debug: fix dentry leak in update_sched_domain_debugfs

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0 < 26e9a1ded8923510e5529fbb28390b22228700c2 ; affected 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0 < 0c32a93963e03c03e561d5a066eedad211880ba3 ; affected 3b87f136f8fccddf7da016ab7d04bb3cf9b180f0 < c2e406596571659451f4b95e37ddfd5a8ef1d0dc
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.68 ≤ 5.15.* ; unaffected 5.19.9 ≤ 5.19.* ; unaffected 6.0 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD