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.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from an error path in the Linux kernel’s damon sysfs scheme initialization. When the creation of the tried_regions directory fails, the error handling incorrectly releases the reference to the stats directory instead of the intended directory. This mis‑release leaks the stats directory object and, more critically, if the tried_regions allocation itself failed, the scheme->tried_regions pointer remains uninitialized. The subsequent call to kobject_put on this uninitialized pointer dereferences invalid memory, which can cause a kernel crash or corruption. The impact is a denial of service at the kernel level and a potential vector for privilege escalation if the crash can be triggered by an attacker with sufficient privileges.

Affected Systems

This bug affects the Linux kernel’s damon sysfs scheme implementation. No specific kernel release numbers are listed, so the issue applies to any kernel version where this code path is present and not yet patched.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score of < 1% suggests that exploitation is considered unlikely in the wild. The vulnerability is not listed in CISA’s KEV catalog, implying no known widespread exploitation. Based on the description, the likely attack vector is local or elevated privileges. Attackers would need local or elevated privileges to trigger the faulty error path, as the flaw occurs within kernel code handling the damon sysfs scheme. While the exploitability requires direct kernel access, a successfully triggered uninitialized pointer dereference could lead to a kernel crash, potentially resulting in a denial‑of-service or privilege escalation if control is achieved. The lack of publicly known exploits and low EPSS score combine to keep the immediate risk low, but the kernel crash risk still warrants timely patching.

Generated by OpenCVE AI on August 22, 2026 at 11:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest stable release that includes the damon sysfs scheme fix
  • If an immediate kernel update is not possible, disable the damon sysfs scheme feature via kernel configuration or module options to avoid the vulnerable code path
  • After applying the patch or disabling the feature, reboot the system and monitor kernel logs (e.g., dmesg) for any related kobject or reference errors to confirm the vulnerability is no longer present

Generated by OpenCVE AI on August 22, 2026 at 11:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CWE-476

Wed, 19 Aug 2026 00:15:00 +0000

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


Sat, 15 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CWE-476

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title mm/damon/sysfs-schemes: put stats for scheme_add_dirs() internal error
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:09:38.651Z

Reserved: 2026-08-09T03:40:39.910Z

Link: CVE-2026-72176

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:35.810

Modified: 2026-08-17T06:18:18.120

Link: CVE-2026-72176

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72176 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T11:45:03Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer