CVE-2026-64239
mm/damon/sysfs-schemes: delete tried region in regions_rmdirs()
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.
INFO
Published Date :
July 24, 2026, 4:16 p.m.
Last Modified :
Nov. 6, 2026, 5:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Remove region object from list when decrementing reference count.
- Add region object to list only after kobject initialization.
- Apply kernel updates for the fix.
- Rebuild kernel without debug kobject release.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64239.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64239 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64239
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64239 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64239 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 06, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7 Added Reference https://git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777 Added Reference https://git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2 Added Reference https://git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08 Added Reference https://git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2 Removed Reference https://git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7 Removed Reference https://git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777 Removed Reference https://git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2 Removed Reference https://git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08 Removed Reference https://git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2 Removed Reference Type https://git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 06, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-64239', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-06T16:32:43.478120Z'} -
CVE Translated by [email protected]
Oct. 27, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mm/damon/sysfs-schemes: eliminar región probada en regions_rmdirs() DAMON sysfs mantiene los objetos de directorio de región probada de DAMOS a través de una lista enlazada. Cuando el usuario solicita la actualización de los directorios, DAMON sysfs elimina primero todos los directorios de región y luego genera un directorio de regiones actualizado en el espacio vacío. La función de eliminación (damon_sysfs_scheme_regions_rm_dirs()) solo pone los objetos kobj. La eliminación del objeto de región contenedor de la lista enlazada se realiza dentro de la función de devolución de llamada de liberación de kobj. Si de alguna manera la invocación de la devolución de llamada se retrasa, la lista contendrá una lista de regiones que van a ser liberadas. Si la creación de directorios de región actualizados se inicia en esta situación, la lista puede corromperse y puede ocurrir un uso después de liberación. Debido a que los objetos kobj son gestionados solo por DAMON sysfs, el problema no puede ocurrir en una situación normal. Pero, tales retrasos pueden producirse en kernels que se construyeron con CONFIG_DEBUG_KOBJECT_RELEASE. En el kernel, el problema puede de hecho reproducirse como se muestra a continuación. # 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. Soluciona el problema eliminando el objeto de región de la lista al decrementar el recuento de referencias. También actualiza damos_sysfs_populate_region_dir() para añadir el objeto de región a la lista solo después de que kobject_init_and_add() sea exitoso, para que el fallo de kobject_init_and_add() no deje el objeto desasignado en la lista. El problema fue descubierto [1] por Sashiko. -
Initial Analysis by [email protected]
Aug. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.35 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.143 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.93 *cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.12 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '9277d0367ba18ef4bb98bafb1209e715844cdf7e', 'lessThan': 'c0e37017a452addec873865c94cf7a665663a9b2', 'versionType': 'git'}, {'status': 'affected', 'version': '9277d0367ba18ef4bb98bafb1209e715844cdf7e', 'lessThan': 'a5fa42214de55e43d165144727ce9facb9fc6b08', 'versionType': 'git'}, {'status': 'affected', 'version': '9277d0367ba18ef4bb98bafb1209e715844cdf7e', 'lessThan': '0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7', 'versionType': 'git'}, {'status': 'affected', 'version': '9277d0367ba18ef4bb98bafb1209e715844cdf7e', 'lessThan': '2c33177023c92e76806c535ddbffaa3d3fc37777', 'versionType': 'git'}, {'status': 'affected', 'version': '9277d0367ba18ef4bb98bafb1209e715844cdf7e', 'lessThan': '441f92f7d386b85bad16de49db95a307cba048a2', 'versionType': 'git'}], 'programFiles': ['mm/damon/sysfs-schemes.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.2'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.2', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.93', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.35', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.12', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['mm/damon/sysfs-schemes.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7 Added Reference https://git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777 Added Reference https://git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2 Added Reference https://git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08 Added Reference https://git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2