🔍 CVE-2026-89841

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

🇰🇷 한글 설명

Linux 커널의 f2fs 파일 시스템에서 redirty_blocks() 함수가 잘못된 참조 횟수를 관리하여 발생하는 취약점입니다. 특정 조건에서 folio의 참조 횟수를 과도하게 감소시켜, 이후 메모리 회수 과정에서 'Bad page state' 오류를 유발하고 시스템 불안정을 초래할 수 있습니다.

💡 쉬운 설명

컴퓨터의 메모리를 관리하는 과정에서 데이터의 사용 횟수를 잘못 계산하여 발생하는 오류입니다. 이로 인해 시스템이 데이터 상태를 오해하게 되어 컴퓨터가 갑자기 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: f2fs: only redirty pinned folios in redirty_blocks redirty_blocks() pins folios with read_cache_folio() and then walks the same range again with filemap_lock_folio() to redirty them and drop the references it took. Commit 5951fee46bef ("f2fs: Use a folio in redirty_blocks()") changed the second pass to a do/while loop. If read_cache_folio() fails before anything is pinned, page_idx does not advance but the cleanup loop still runs once. If readahead has already populated the failed folio in page cache, that extra iteration finds it and folio_put_refs(folio, 2) drops one reference too many. Later drop_caches or reclaim can then report "BUG: Bad page state". Only redirty the range that was pinned successfully.

📍 영향받는 시스템

f2fs 파일 시스템을 사용하는 Linux 커널 버전 (특정 커밋 5951fee46bef 이후 버전 포함)

⚔️ 공격 벡터

로컬 공격자가 특정 파일 시스템 작업(redirty_blocks 관련)을 유도하여 메모리 관리 오류를 발생시킴

🛡️ 대응 방법

f2fs의 redirty_blocks() 로직이 수정된 최신 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