CVE-2026-64239
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Jul 24, 2026
CISA due date
—
Cloudanix analysis
A bug in the Linux kernel's memory monitoring feature can let someone with local access crash the computer or potentially take control when certain debug settings are enabled.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
Use-after-free in DAMON sysfs region directory management allows list corruption when kobject release callbacks are delayed under CONFIG_DEBUG_KOBJECT_RELEASE, leading to invalid memory access during scheme region refresh.
Why it matters to the business
Local users on debug-enabled kernels can trigger kernel crashes or memory corruption, causing system instability and potential privilege escalation on affected Linux deployments; low real-world prevalence outside specialized debug builds reduces immediate operational risk.
How an attack unfolds
An attacker with local access runs repeated damo scheme region update commands while the debug kobject release delay is active, causing the linked list to reference freed objects; subsequent directory creation then triggers use-after-free during list operations.
How to fix it
Update to a Linux kernel containing the fix that removes region objects from the list on refcount decrement and adds them only after successful kobject_init_and_add; rebuild and reboot with the patched kernel.
How to confirm the fix worked
Confirm the presence of the commit that moves list removal into the refcount path and guards list insertion after kobject success; test the reproduction sequence under CONFIG_DEBUG_KOBJECT_RELEASE to verify absence of underflow messages.
Typical attack path
- Obtain local shell access on a CONFIG_DEBUG_KOBJECT_RELEASE kernel
- Start a DAMON scheme with stat action
- Repeatedly write update_schemes_tried_regions to the sysfs state file
- Trigger list traversal that dereferences freed region objects
- Observe refcount underflow and use-after-free in dmesg
How to detect it
Search kernel logs for refcount underflow messages mentioning DAMON or kobject release during sysfs scheme region updates; inspect dmesg output after repeated update_schemes_tried_regions operations on debug kernels.
What your security team should do
- Prioritize kernel upgrade on any systems built with CONFIG_DEBUG_KOBJECT_RELEASE
- Audit custom or debug kernels for DAMON sysfs usage and schedule patching
- Monitor upstream stable branches for backports of the DAMON sysfs fix
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-104608 A remote code execution vulnerability was identified in GitHub Enterprise Server in the… CWE-416
- CVE-2026-121257 Use after free in TabStrip in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-416
- CVE-2026-121246 Use after free in WebGL in Google Chrome on on Android prior to 157.0.8103.38 allowed a… CWE-416
- CVE-2026-121250 Use after free in Extensions in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-416
- CVE-2026-121241 Use after free in Navigation in Google Chrome on on Android prior to 157.0.8103.38… CWE-416
- CVE-2026-121238 Use after free in Source in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-416
- CVE-2026-121217 Use after free in Streaming in Google Chrome prior to 157.0.8103.38 allowed an adjacent… CWE-416
- CVE-2026-121211 Use after free in PowerBookmarks in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-416