VDB

CVE-2026-64239

CVE-2026-64239 PUBLISHED

mm/damon/sysfs-schemes: delete tried region in regions_rmdirs()

Reported by linux · Published July 24, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.94-123.174Amazon Linux1:1.0-0.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.35-68.127.amzn2023
kernel6.18-develAmazon Linux1:6.18.35-68.127.amzn2023
python3-perf6.18Amazon Linux1:6.18.35-68.127.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.35-68.127.amzn2023
bpftool6.18Amazon Linux1:6.18.35-68.127.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.94-123.174.amzn2023
perf6.18Amazon Linux1:6.18.35-68.127.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.94-123.174.amzn2023
kernel6.12Amazon Linux1:6.12.94-123.174.amzn2023
kernel6.18Amazon Linux1:6.18.35-68.127.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.94-123.174.amzn2023

9 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux9277d0367ba18ef4bb98bafb1209e715844cdf7e, 9277d0367ba18ef4bb98bafb1209e715844cdf7e, 9277d0367ba18ef4bb98bafb1209e715844cdf7e
LinuxLinux6.2, 0, 6.6.143
amazon:2023kernel-livepatch-6.12.94-123.1740
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.180
amazon:2023kernel6.12-tools0
amazon:2023python3-perf6.120
amazon:2023perf6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-livepatch-6.18.35-68.1270
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0

…and 7 more

Timeline

  • Jul 24, 2026 Coalition ESS Score
  • Jul 24, 2026 CVE Published
  • Jul 25, 2026 EPSS Score (5 in total, the first dated here)
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64239
vulnetix vdb fixes CVE-2026-64239

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64239/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›