CVE-2026-72176

mm/damon/sysfs-schemes: put stats for scheme_add_dirs() internal error

No CVSS score yet EPSS 0.20%

Published 15 Aug 2026 Updated 17 Aug 2026 CNA: Linux

Check your servers for CVE-2026-72176

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72176 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/sysfs-schemes: put stats for scheme_add_dirs() internal error

damon_sysfs_scheme_add_dirs() setup the tried_regions directory after the stats directory setup is completed. When the tried_regions directory setup is failed, the setup function ensures the reference for the tried regions directory is released. Hence the error path should put references on setup succeeded directory objects, starting from the stats directory. However, the error path is putting the tried_regions directory instead of the stats directory.

As a direct result, the stats directory object is leaked. Worse yet, if the tried_regions directory setup failed from the initial allocation, the scheme->tried_regions field remains uninitialized. The following kobject_put(&scheme->tried_regions->kobj) call in the error path will dereference the uninitialized memory. The setup failures should not be common. But once it happens, the consequence is quite bad.

Fix this issue by correctly putting the stats directory instead of the tried_regions directory.

The issue was discovered [1] by Sashiko.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5181b75f438d2e5b7f27bf48c6ea88a87c2882b7, before 50a753171d255895e5dd41566986b48dcec06f31
affected from 5181b75f438d2e5b7f27bf48c6ea88a87c2882b7, before f63d6e5ba72aeacdee4fddc902bd7616cd62b919
affected from 5181b75f438d2e5b7f27bf48c6ea88a87c2882b7, before 40a04601a3f66cabd6629c258a07af645a658865
affected from 5181b75f438d2e5b7f27bf48c6ea88a87c2882b7, before 6b6b5d7c2c957136b92c00b77b7175259f13082b
affected from 5181b75f438d2e5b7f27bf48c6ea88a87c2882b7, before 05ea83ee88ca70f8932906d9f2617ff996f45b50
Other versions: unaffected
Linux
affected 6.2
unaffected before 6.2
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.97 up to and including 6.12.*
unaffected from 6.18.40 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72176 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72176

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-72176
trivy image --scanners vuln IMAGE | grep CVE-2026-72176

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-72176 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.