CVE-2026-72177

mm/damon/sysfs-schemes: fix dir put orders in access_pattern_add_dirs()

No CVSS score yet EPSS 0.21%

Published 15 Aug 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-72177

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-72177 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: fix dir put orders in access_pattern_add_dirs()

Patch series "mm/damon/sysfs-schemes: fix wrong directories put orders in error paths".

Error paths of damon_sysfs_access_pattern_add_dirs() and damon_sysfs_scheme_add_dirs() functions put references to directories in wrong orders. As a result, uninitialized memory dereference and/or memory leak can happen. Fix those.

This patch (of 2):

In access_pattern_add_dirs(), error handling path puts references starting from setup failed directories. If the failure happpened from the initial allication in the setup functions, uninitialized memory dereference happen. The allocation failures will not commonly happen, but the consequence is quite bad. Fix the wrong reference put orders.

The issue was discovered [1] by Sashiko.

Exploitation

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

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7e84b1f8212a038ebeee06de56db7181148fa0cd, before 0710cc97962ca3bcabaa15ce7fead300faf726cd
affected from 7e84b1f8212a038ebeee06de56db7181148fa0cd, before a8c0592a80e954825f2ba29e7f32893f1df762f2
affected from 7e84b1f8212a038ebeee06de56db7181148fa0cd, before e03442b0c48bdb034f5b7cf9f3b76d8025576071
affected from 7e84b1f8212a038ebeee06de56db7181148fa0cd, before f18c561eb9c51f1ba3adb6117926a98a66599848
affected from 7e84b1f8212a038ebeee06de56db7181148fa0cd, before ee59df7a886a35113f309e3eb791060c46f79bb1
affected from 7e84b1f8212a038ebeee06de56db7181148fa0cd, before d58fdbe37a829fd2e5803dd4e5a72992dd8c5368
Other versions: unaffected
Linux
affected 5.18
unaffected before 5.18
unaffected from 6.1.178 up to and including 6.1.*
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-72177 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72177

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-72177
trivy image --scanners vuln IMAGE | grep CVE-2026-72177

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-72177 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.