🔍 CVE-2025-38659

7.8
CVSS Score
HIGH
2025-08-22
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 GFS2 파일 시스템에서 노드가 탈퇴할 때 로컬 저널을 재실행하려는 시도로 인해 발생하는 취약점입니다. 이 과정에서 잘못된 메모리 참조(Use-After-Free 또는 NULL 포인터 역참조)가 발생하여 시스템 불안정이나 커널 패닉을 유발할 수 있습니다.

💡 쉬운 설명

파일 시스템을 관리하는 컴퓨터가 네트워크에서 갑자기 빠질 때, 스스로 복구하려고 시도하다가 잘못된 메모리 주소를 건드려 시스템이 멈추는 문제입니다. 이로 인해 컴퓨터가 갑자기 꺼지거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: gfs2: No more self recovery When a node withdraws and it turns out that it is the only node that has the filesystem mounted, gfs2 currently tries to replay the local journal to bring the filesystem back into a consistent state. Not only is that a very bad idea, it has also never worked because gfs2_recover_func() will refuse to do anything during a withdraw. However, before even getting to this point, gfs2_recover_func() dereferences sdp->sd_jdesc->jd_inode. This was a use-after-free before commit 04133b607a78 ("gfs2: Prevent double iput for journal on error") and is a NULL pointer dereference since then. Simply get rid of self recovery to fix that.

📍 영향받는 시스템

Linux kernel (GFS2 파일 시스템을 사용하는 시스템)

⚔️ 공격 벡터

노드 탈퇴(Withdrawal) 상황을 유도하여 커널의 잘못된 메모리 참조를 발생시킴

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 GFS2의 self recovery 기능을 제거해야 함

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 커밋(04133b607a78 이후)이 포함된 버전인지 확인합니다.

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