🔍 CVE-2025-40179

0.0
CVSS Score
UNKNOWN
2025-11-12
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ext4 파일 시스템에서 고아 파일(orphan file)의 크기가 비정상적으로 커질 경우 메모리 소비가 급증할 수 있는 취약점이 발견되었습니다. 이를 해결하기 위해 고아 파일의 크기에 제한을 두고, 블록 디스크립터 구조체 할당 시 kvmalloc()을 사용하여 대규모 메모리 할당 문제를 방지하도록 수정되었습니다.

💡 쉬운 설명

파일 시스템에 처리되지 않은 임시 파일이 너무 커지면 컴퓨터의 메모리를 과도하게 사용하여 시스템이 느려지거나 멈출 수 있습니다. 이번 업데이트는 이러한 임시 파일의 크기를 제한하여 시스템을 보호합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ext4: verify orphan file size is not too big In principle orphan file can be arbitrarily large. However orphan replay needs to traverse it all and we also pin all its buffers in memory. Thus filesystems with absurdly large orphan files can lead to big amounts of memory consumed. Limit orphan file size to a sane value and also use kvmalloc() for allocating array of block descriptor structures to avoid large order allocations for sane but large orphan files.

📍 영향받는 시스템

ext4 파일 시스템을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

비정상적으로 큰 고아 파일을 생성하여 시스템 메모리 고갈(DoS) 유도

🛡️ 대응 방법

ext4 관련 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 배포판의 보안 패치 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel