🔍 CVE-2026-89760

7.8
CVSS Score
HIGH
2026-09-11
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 메모리 관리(mm) 및 스왑(swap) 과정에서 하이버네이션 슬롯이 스왑 캐시에 남아 있음에도 불구하고 잘못 해제되는 취약점입니다. 이로 인해 메모리 오염, 프로세스 충돌 또는 데이터 불안정성이 발생할 수 있으며, 주로 시스템 절전(hibernation) 준비 과정에서 나타납니다.

💡 쉬운 설명

컴퓨터가 절전 모드로 들어갈 때 메모리 데이터를 저장하는 과정에서 관리 실수로 데이터가 엉뚱한 곳에 덮어씌워질 수 있는 문제입니다. 이로 인해 프로그램이 갑자기 꺼지거나 데이터가 손상될 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mm, swap: don't free a hibernation slot that is in the swap cache A slot with a folio in the swap cache is freed when the folio leaves the cache, not when its count drops. swap_put_entries_cluster() follows that rule. swap_free_hibernation_slot() does not, it calls __swap_cluster_free_entries() whether or not a folio sits on the slot. Cluster readahead can put one there. It walks a raw page_cluster sized window of offsets around the faulting entry, and a hibernation slot passes __swap_cache_add_check() because it is not a folio and its count is not zero. Freeing the slot then clears the entry under that folio. The folio is now unreachable from the swap table, and the offset goes back to the allocator. The folio is still on the LRU though, so reclaim can pick it up later. It then takes the old offset out of folio->swap and overwrites the table entry there, which by then may belong to someone else. This bug can trigger silent memory corruption, process crashes, or data instability across completely unrelated userspace applications - typically occurring when uswsusp is preparing the hibernation image. I found this while working on giving hibernation slots their own marker in the swap table, which I had discussed with Kairui. (https://lore.kernel.org/linux-mm/abp7aDgYLrxF3Me8@KASONG-MC4/) As far as I know there are no reports, so there is no Reported-by/Closes to add. Check for a cached folio before freeing. The slot is then left in the ordinary state where only the swap cache holds it, and it is freed when the folio leaves the cache, either through the reclaim below or through normal reclaim later.

📍 영향받는 시스템

Linux Kernel (hibernation 및 swap 기능을 사용하는 시스템)

⚔️ 공격 벡터

로컬 공격자가 시스템의 절전 모드(uswsusp 등)를 유도하여 메모리 오염 및 데이터 손상을 유발할 수 있음

🛡️ 대응 방법

해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트하십시오.

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel