🔍 CVE-2026-89752

0.0
CVSS Score
UNKNOWN
2026-09-11
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 메모리 제어 그룹(memcg)에서 메모리 제한 값이 업데이트될 때, 기존의 메모리 회수(reclaim) 프로세스가 최신 제한 값을 반영하지 못하는 취약점입니다. 이로 인해 메모리 제한이 상향되거나 제거되어도 이전의 잘못된 목표치를 기준으로 메모리 회수를 계속 시도하여 무한 루프에 빠질 수 있습니다.

💡 쉬운 설명

메모리 사용량을 제한하는 설정이 중간에 바뀌었을 때, 컴퓨터가 옛날 규칙을 계속 붙잡고 있어 메모리 정리 작업을 끝내지 못하고 멈춰버리는 문제입니다. 이로 인해 시스템의 메모리 관리 기능이 정상적으로 작동하지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mm: memcg: stop reclaim when a limit update is superseded kernfs serializes file operations only per open file, so separate open files can update the same memory.high or memory.max file concurrently. Both handlers store the new limit before synchronous reclaim, but continue to use the writer's local target in the reclaim loop. If another writer raises or removes the limit, the first writer can continue reclaiming toward a stale target. For memory.max, this can leave the writer looping indefinitely once reclaim retries are exhausted. The OOM path sees sufficient margin under the current limit and returns true without killing, while the writer still compares usage against its stale target and records another OOM event. Check the current limit at the start of each reclaim iteration and stop if it no longer matches the writer's target. Reproducer: Populate a cgroup with anonymous memory and disable swapping. Lower memory.max from one open file, then restore it to "max" through another open file after the new limit becomes visible. Without the patch, the first writer remains blocked and repeatedly increments the OOM event counter. With the patch, it returns normally. This was not motivated by a reported production workload. We found it through automated randomized testing for our cgroup observability work and reduced it to the reproducer above.

📍 영향받는 시스템

Linux kernel (memory cgroup 기능이 활성화된 버전)

⚔️ 공격 벡터

동시에 여러 파일 핸들을 통해 메모리 제한(memory.high 또는 memory.max)을 수정하여 경쟁 상태(Race Condition) 유발

🛡️ 대응 방법

메모리 회수 루프 시작 시 현재 제한 값을 확인하도록 수정된 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel