🔍 CVE-2026-64185

5.5
CVSS Score
MEDIUM
2026-07-19
2026-08-11 20:04
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 sysfs 업데이트 과정에서 오류가 발생할 경우, 기존에 존재하던 디렉토리를 잘못 삭제하는 취약점이 발견되었습니다. sysfs_update_group() 호출 중 메모리 부족 등의 이유로 실패하면, 이미 존재하던 그룹 디렉토리를 삭제하여 시스템의 sysfs 그룹을 예기치 않게 파괴할 수 있습니다.

💡 쉬운 설명

시스템 설정 정보를 담고 있는 폴더를 업데이트하다가 오류가 나면, 원래 있던 폴더를 실수로 지워버리는 문제입니다. 이로 인해 시스템의 일부 기능이 제대로 작동하지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: sysfs: don't remove existing directory on update failure When sysfs_update_group() is called for a named group and create_files() fails (e.g. -ENOMEM), internal_create_group() calls kernfs_remove(kn) on the group directory. In the update path, kn was obtained via kernfs_find_and_get() and refers to a directory that already existed before this call. Removing it silently destroys a sysfs group that the caller did not create. Only remove the directory if we created it ourselves. On update failure the directory remains as it is left empty by remove_files() inside create_files(), but can be repopulated by a retry.

📍 영향받는 시스템

Linux Kernel (sysfs 관련 모듈을 사용하는 모든 버전)

⚔️ 공격 벡터

메모리 부족(-ENOMEM)과 같은 시스템 자원 부족 상황을 유도하여 기존 sysfs 디렉토리를 삭제 유도

🛡️ 대응 방법

해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 보안 권고문을 통해 대조

Shell / Script
uname -r

📊 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