🔍 CVE-2024-27389

7.8
CVSS Score
HIGH
2024-05-01
2026-08-04 11:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 pstore 모듈에서 pstorefs에 기록이 남아있는 상태로 모듈을 언로드할 때 dput() 이중 해제 경고가 발생하는 취약점입니다. 이는 참조 카운팅 오류를 유발하여 시스템 불안정성을 초래할 수 있습니다.

💡 쉬운 설명

리눅스 시스템의 특정 저장 기능(pstore)을 끌 때, 메모리 관리 오류로 인해 시스템에 경고가 발생하거나 문제가 생길 수 있는 결함입니다. 이는 데이터가 남아있는 상태에서 기능을 종료할 때 발생하는 관리 실수입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: pstore: inode: Only d_invalidate() is needed Unloading a modular pstore backend with records in pstorefs would trigger the dput() double-drop warning: WARNING: CPU: 0 PID: 2569 at fs/dcache.c:762 dput.part.0+0x3f3/0x410 Using the combo of d_drop()/dput() (as mentioned in Documentation/filesystems/vfs.rst) isn't the right approach here, and leads to the reference counting problem seen above. Use d_invalidate() and update the code to not bother checking for error codes that can never happen. ---

📍 영향받는 시스템

pstore 모듈을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

로컬 공격자가 pstorefs에 기록이 있는 상태에서 pstore 모듈을 언로드하도록 유도

🛡️ 대응 방법

pstore 관련 커널 패치 적용 및 최신 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전인지 배포판 보안 공지를 통해 확인

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