# CVE-2026-64239: mm/damon/sysfs-schemes: delete tried region in regions\_rmdirs()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-24T15:27:43.057Z
- **Modified:** 2026-11-06T17:18:43.490Z

## Who should check

- Anyone running Linux \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< c0e37017a452addec873865c94cf7a665663a9b2; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< a5fa42214de55e43d165144727ce9facb9fc6b08; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 2c33177023c92e76806c535ddbffaa3d3fc37777; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 441f92f7d386b85bad16de49db95a307cba048a2
- Anyone running Linux 6.2

## Description

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

mm/damon/sysfs-schemes: delete tried region in regions\_rmdirs()

DAMON sysfs maintains the DAMOS tried region directory objects via a
linked list.  When the user requests refresh of the directories, DAMON
sysfs removes all the region directories first, and then generate updated
regions directory on the empty space.  The removal function
(damon\_sysfs\_scheme\_regions\_rm\_dirs()) only puts the kobj objects. 
Deletion of the container region object from the linked list is done
inside the kobj release callback function.

If somehow the callback invocation is delayed, the list will contain
regions list that gonna be freed.  If the updated region directories
creation is started in this situation, the list can be corrupted and
use-after-free can happen.

Because the kobj objects are managed by only DAMON sysfs, the issue cannot
happen in normal situation.  But, such delays can be made on kernels that
built with CONFIG\_DEBUG\_KOBJECT\_RELEASE.  On the kernel, the issue can
indeed be reproduced like below.

    \# damo start --damos\_action stat
    \# cd /sys/kernel/mm/damon/admin/kdamonds/0/
    \# for i in {1..10}; do echo update\_schemes\_tried\_regions \> state; done
    \# dmesg \| grep underflow
    \[   89.296152\] refcount\_t: underflow; use-after-free.

Fix the issue by removing the region object from the list when
decrementing the reference count.

Also update damos\_sysfs\_populate\_region\_dir() to add the region object to
the list only after the kobject\_init\_and\_add() is success, so that fail of
kobject\_init\_and\_add() is not leaving the deallocated object on the list.

The issue was discovered \[1\] by Sashiko.

## Affected and fixed versions

- Linux: \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< c0e37017a452addec873865c94cf7a665663a9b2; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< a5fa42214de55e43d165144727ce9facb9fc6b08; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 2c33177023c92e76806c535ddbffaa3d3fc37777; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 441f92f7d386b85bad16de49db95a307cba048a2 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 441f92f7d386b85bad16de49db95a307cba048a2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64239. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64239.md
Affected: Linux >= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, < c0e37017a452addec873865c94cf7a665663a9b2; >= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, < a5fa42214de55e43d165144727ce9facb9fc6b08; >= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, < 0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7; >= 9277d0367ba18ef4bb98baf…
Fixed in: Linux 0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7, Linux 2c33177023c92e76806c535ddbffaa3d3fc37777, Linux 441f92f7d386b85bad16de49db95a307cba048a2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64239 being exploited?

There is no confirmed exploitation: CVE-2026-64239 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64239?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64239?

Linux \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< c0e37017a452addec873865c94cf7a665663a9b2; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< a5fa42214de55e43d165144727ce9facb9fc6b08; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 2c33177023c92e76806c535ddbffaa3d3fc37777; \>= 9277d0367ba18ef4bb98bafb1209e715844cdf7e, \< 441f92f7d386b85bad16de49db95a307cba048a2; Linux 6.2.

### Is there a fix for CVE-2026-64239?

Yes. Fixed in Linux 0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7, Linux 2c33177023c92e76806c535ddbffaa3d3fc37777, Linux 441f92f7d386b85bad16de49db95a307cba048a2. Upgrade Linux to 441f92f7d386b85bad16de49db95a307cba048a2 or later.

### How do I check if I'm affected by CVE-2026-64239?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2>
- patch: <https://git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08>
- patch: <https://git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7>
- patch: <https://git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777>
- patch: <https://git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64239>

HTML: <https://flawdb.com/CVE-2026-64239> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64239>
