🔍 CVE-2026-72178

0.0
CVSS Score
UNKNOWN
2026-08-15
2026-08-17 06:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 DAMON 구성 요소에서 대상 PID를 커밋하는 과정 중 오류가 발생할 경우, 참조 횟수가 제대로 감소하지 않아 PID가 누수되는 취약점입니다. 커밋 작업이 실패할 때 대상 컨텍스트에 이미 전달된 PID를 적절히 해제하지 못해 발생합니다.

💡 쉬운 설명

컴퓨터가 작업을 수행하다가 중간에 실수를 했을 때, 사용하던 자원을 제대로 돌려주지 않고 잊어버리는 문제가 있습니다. 이로 인해 시스템의 자원이 조금씩 낭비될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: always put unsuccessfully committed target pids damon_commit_target() puts and gets the destination and the source target pids. It puts the destination target pid because it will be overwritten by the source target pid. It gets the source pid because the caller is supposed to eventually put the pids. In more detail, the caller will call damon_destroy_ctx() after damon_commit_ctx() to destroy the entire source context. And in this case, [f]vaddr operation set's cleanup_target() callback will put the pids. The commit operation is made at the context level. The operation can fail in multiple places including in the middle and after the targets commit operations. For any such failures, immediately the error is returned to the damon_commit_ctx() caller. If some or all of the source target pids were committed to the destination during the unsuccessful context commit attempt, those pids should be put twice. The source context will do the put operations using the above explained routine. However, let's suppose the destination context was not originally using [f]vaddr operation set and the commit failed before the ops of the source context is committed. The destination does not have the cleanup_target() ops callback, so it cannot put the pids via the damon_destroy_ctx(). As a result, the pids are leaked. The issue in the real world would be not very common. The commit feature is for changing parameters of running DAMON context while inheriting internal status like the monitoring results. The monitoring results of a physical address range ain't have things that are beneficial to be inherited to a virtual address ranges monitoring. So the problem-causing DAMON control would be not very common in the real world. That said, it is a supported feature. And damon_commit_target() failure due to memory allocation is relatively realistic [1] if there are a huge number of target regions. Fix by putting the pids in the commit operation in case of the failures. The issue was discovered [2] by Sashiko.

📍 영향받는 시스템

Linux kernel (DAMON 기능이 포함된 버전)

⚔️ 공격 벡터

직접적인 공격보다는 대량의 타겟 영역을 설정하여 메모리 할당 실패를 유도함으로써 자원 누수를 유발할 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel