Skip to main content

Linux Kernel CVE-2026-64239

| EUVDEUVD-2026-48648 HIGH
Use After Free (CWE-416)
2026-07-24 Linux GHSA-v8wj-8j36-23j2
7.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.0 HIGH

AC:H reflects that reliable exploitation requires CONFIG_DEBUG_KOBJECT_RELEASE or impractical timing; PR:L reflects mandatory sysfs write access; full C/I/A:H retained for use-after-free kernel impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat
5.5 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Generated
Aug 13, 2026 - 19:46 vuln.today
CVSS changed
Aug 13, 2026 - 17:37 NVD
7.8 (HIGH)
Patch available
Jul 24, 2026 - 17:48 EUVD
CVE Published
Jul 24, 2026 - 15:27 nvd
HIGH 7.8
CVE Published
Jul 24, 2026 - 15:27 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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.

AnalysisAI

Use-after-free in the Linux kernel DAMON (Data Access Monitor) sysfs subsystem allows a local, low-privileged user with sysfs write access to corrupt kernel memory structures, potentially escalating to full kernel-level code execution. The DAMOS tried-region directory removal function (damon_sysfs_scheme_regions_rm_dirs()) decrements kobject reference counts but omits removing region objects from the tracking linked list; asynchronous execution of the kobj release callback leaves dangling list entries that a concurrent list rebuild can write into freed memory. No public exploit or active exploitation has been identified - EPSS is 0.16% (5th percentile) and the vulnerability is absent from CISA KEV - consistent with a hardening fix rather than an actively weaponized flaw.

Technical ContextAI

DAMON is a Linux kernel memory management subsystem, present since kernel 6.2, that exposes configuration and runtime state through sysfs under /sys/kernel/mm/damon/. The DAMOS (DAMON Schemes) feature tracks memory access regions using linked-list entries backed by kobjects - kernel reference-counted objects whose lifecycle is controlled by kobject_put() and an asynchronous release callback. CWE-416 (Use After Free) materializes here because damon_sysfs_scheme_regions_rm_dirs() only calls kobject_put() without atomically unlinking the region from the list; list removal was delegated to the release callback. On production kernels the release callback fires quickly enough that this race window is practically unexploitable, but CONFIG_DEBUG_KOBJECT_RELEASE (a kernel debug option that deliberately delays kobj release callbacks) widens the window to make the race reproducible at will. The fix corrects both sides: unlinking from the list during decrement, and deferring list insertion in damos_sysfs_populate_region_dir() until kobject_init_and_add() succeeds. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

RemediationAI

Vendor-released patch is available across all affected stable branches. Upgrade to 6.6.143, 6.12.93, 6.18.35, or 7.0.12 depending on the deployed kernel series; mainline 7.1 contains the fix. Individual stable-tree fix commits are: https://git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2 (6.6 branch), https://git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08 (6.12 branch), https://git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7 (6.18 branch), https://git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777 (7.0 branch), and https://git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2 (mainline). Ubuntu users should apply USN-8618-1. As a compensating control where patching is delayed, restrict write access to /sys/kernel/mm/damon/ via filesystem ACLs or by preventing DAMON kdamond initialization - note that this disables all DAMON-based memory monitoring functionality. Environments that do not use DAMON for memory optimization incur no operational loss from disabling it. Avoid building production kernels with CONFIG_DEBUG_KOBJECT_RELEASE, which reliably widens the exploitable race window.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Share

CVE-2026-64239 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy