CVE-2026-64239
- 공개
- 2026년 7월 25일
- 수정
- 2026년 11월 7일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
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.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 6.2 | ≤ | 취약 | < | 6.6.143 | 6.6.143이상 |
| 6.7 | ≤ | 취약 | < | 6.12.93 | 6.12.93이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.35 | 6.18.35이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.12 | 7.0.12이상 | |
| 이 버전만 | 취약 | = | 7.1 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc5 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 6.2 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 6.2 | — | |
| 6.6.143 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.93 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.35 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.12 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/0ba6c05156d9ff9fc6ca22b7690e2eec9eca66f7
- git.kernel.org/stable/c/2c33177023c92e76806c535ddbffaa3d3fc37777
- git.kernel.org/stable/c/441f92f7d386b85bad16de49db95a307cba048a2
- git.kernel.org/stable/c/a5fa42214de55e43d165144727ce9facb9fc6b08
- git.kernel.org/stable/c/c0e37017a452addec873865c94cf7a665663a9b2