CVE-2026-72177

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

Published Aug 15, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel the damon sysfs scheme handling contains a logic error that causes references to directories to be added in an incorrect order on error paths. As a result an uninitialized memory dereference can occur and a memory leak may also be triggered. The failure arrises during the cleanup phase of damon_sysfs_access_pattern_add_dirs() and damon_sysfs_scheme_add_dirs() when setup functions fail, which could lead to a kernel crash or kernel memory corruption. This vulnerability can impact system reliability and integrity by forcing the kernel to abort or release memory incorrectly.

Affected Systems

This flaw affects the Linux kernel itself; the specific vendor is Linux and the product is the generic Linux kernel image. The CVE entry does not list any full patch level or release version, so all kernel builds that contain the unpatched access_pattern_add_dirs() logic are potentially vulnerable until the fix is applied.

Risk and Exploitability

A publicly available exploit has not been reported and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is < 1% and the CVSS score is 5.5, indicating a moderate severity and low likelihood of exploitation. The consequence would be a denial of service by crashing the kernel or leaking memory, which is a severe but presently low-visibility risk due to the lack of known remote exploitation vectors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that incorporates the patch that corrects the directory reference ordering in damon sysfs operations.
  • If a kernel update is not immediately possible, remove or restrict access to the damaged damon sysfs directories (e.g., by setting appropriate permissions or unmounting the affected sysfs entries) until the vulnerability is fixed.
  • After applying the patch or implementing the temporary restriction, reboot the system so the updated kernel code is active and verify that the affected sysfs paths are functioning correctly.

Generated by OpenCVE AI on August 22, 2026 at 10:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-457
Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-457
Type Values Removed Values Added
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.
Title mm/damon/sysfs-schemes: fix dir put orders in access_pattern_add_dirs()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-824

    Access of Uninitialized Pointer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:55 PM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:21 AM
Modified
Nov 6, 2026, 5:19 PM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM