🔍 CVE-2024-26630

7.1
CVSS Score
HIGH
2024-03-13
2026-08-04 11:16
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 cachestat 기능에서 folio에 대한 참조를 유지하지 않아 발생하는 read-after-free 취약점입니다. 이로 인해 folio가 해제된 후 다른 용도로 재사용될 때 메모리 오류가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 메모리 데이터를 읽는 과정에서, 이미 사용이 끝난 메모리 공간을 다시 읽으려다 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mm: cachestat: fix folio read-after-free in cache walk In cachestat, we access the folio from the page cache's xarray to compute its page offset, and check for its dirty and writeback flags. However, we do not hold a reference to the folio before performing these actions, which means the folio can concurrently be released and reused as another folio/page/slab. Get around this altogether by just using xarray's existing machinery for the folio page offsets and dirty/writeback states. This changes behavior for tmpfs files to now always report zeroes in their dirty and writeback counters. This is okay as tmpfs doesn't follow conventional writeback cache behavior: its pages get "cleaned" during swapout, after which they're no longer resident etc.

📍 영향받는 시스템

Linux Kernel (cachestat 관련 모듈을 사용하는 시스템)

⚔️ 공격 벡터

메모리 관리 과정에서 특정 타이밍에 데이터 접근을 시도하는 Race Condition 공격

🛡️ 대응 방법

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

🔧 검증 코드

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

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:N/A:H

💻 영향받는 소프트웨어

Linux Kernel