🔍 CVE-2025-38712

5.5
CVSS Score
MEDIUM
2025-09-04
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 hfsplus 파일시스템에서 손상된 volume header 값으로 인해 BUG_ON() 호출이 실행되어 커널 panic이 발생하는 서비스 거부(DoS) 취약점입니다. 수정은 BUG_ON()을 제거하고 -EIO 에러로 변경하여 fsck 도구 실행을 권고합니다.

💡 쉬운 설명

특수한 하드드라이브 파티션을 시스템에 연결하면 Linux가 강제 종료될 수 있습니다. 관리자가 fsck로 복구하면 정상 작동합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file() When the volume header contains erroneous values that do not reflect the actual state of the filesystem, hfsplus_fill_super() assumes that the attributes file is not yet created, which later results in hitting BUG_ON() when hfsplus_create_attributes_file() is called. Replace this BUG_ON() with -EIO error with a message to suggest running fsck tool.

📍 영향받는 시스템

Linux kernel 5.18 이상의 hfsplus 파일시스템 지원 커널 버전

⚔️ 공격 벡터

로컬 공격자가 손상된 hfsplus 파티션/이미지를 마운트시도할 때 발생

🛡️ 대응 방법

Linux 커널을 패치된 버전으로 업데이트하거나 untrusted hfsplus 파티션 마운트 제한

🔧 검증 코드

커널 설정에서 HFS+ 지원 활성화 여부 확인, 또는 kernel 5.18 이상이면 영향 가능 (추가로 hfsplus 파티션 정합성을 fsck.hfsplus로 검사)

Shell / Script
grep -i 'hfsplus_create_attributes_file' /boot/config-$(uname -r) || uname -r | grep -q '^5\|^6' && echo 'kernel version potentially affected'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel