CVE-2026-64239
mm/damon/sysfs-schemes: delete tried region in regions_rmdirs()
Check your servers for CVE-2026-64239
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-64239 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.
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.66% of all scored CVEs. Scores of 30 Nov 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.
| Product | Versions |
|---|---|
| Linux |
affected from 9277d0367ba18ef4bb98bafb1209e715844cdf7e, before c0e37017a452addec873865c94cf7a665663a9b2 affected from 9277d0367ba18ef4bb98bafb1209e715844cdf7e, before a5fa42214de55e43d165144727ce9facb9fc6b08 affected from 9277d0367ba18ef4bb98bafb1209e715844cdf7e, before 0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7 affected from 9277d0367ba18ef4bb98bafb1209e715844cdf7e, before 2c33177023c92e76806c535ddbffaa3d3fc37777 affected from 9277d0367ba18ef4bb98bafb1209e715844cdf7e, before 441f92f7d386b85bad16de49db95a307cba048a2
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 6.6.143 up to and including 6.6.* unaffected from 6.12.93 up to and including 6.12.* unaffected from 6.18.35 up to and including 6.18.* unaffected from 7.0.12 up to and including 7.0.* unaffected 7.1 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-64239 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64239
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-64239
trivy image --scanners vuln IMAGE | grep CVE-2026-64239
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
- https://git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2 git.kernel.org
- https://git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08 git.kernel.org
- https://git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7 git.kernel.org
- https://git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777 git.kernel.org
- https://git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2 git.kernel.org
Source: the record CVE-2026-64239 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.
Vulnpocalypse