🇰🇷 한글 설명
Linux 커널의 ceph 파일시스템에서 ceph_mdsc_build_path() 함수가 경로 길이가 PATH_MAX를 초과할 경우 무한 재시도 루프에 빠지는 문제가 해결되었습니다. 해당 조건에서는 ENAMETOOLONG 오류를 반환하도록 수정되었습니다.
💡 쉬운 설명
긴 파일 경로를 처리할 때 커널이 끝없이 같은 작업을 반복하여 시스템 전체가 멈출 수 있는 문제였습니다. 이제는 경로가 너무 길면 오류를 반환하고 작업을 중단합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ceph: give up on paths longer than PATH_MAX
If the full path to be built by ceph_mdsc_build_path() happens to be
longer than PATH_MAX, then this function will enter an endless (retry)
loop, effectively blocking the whole task. Most of the machine
becomes unusable, making this a very simple and effective DoS
vulnerability.
I cannot imagine why this retry was ever implemented, but it seems
rather useless and harmful to me. Let's remove it and fail with
ENAMETOOLONG instead.
📍 영향받는 시스템
Ceph 파일시스템 클라이언트를 사용하는 수정 이전의 Linux 커널 버전
⚔️ 공격 벡터
PATH_MAX를 초과하는 긴 경로를 가진 ceph 마운트 파일에 접근하여 커널 작업을 무한 루프에 빠뜨리는 방식(서비스 거부)
🛡️ 대응 방법
해당 수정이 포함된 최신 Linux 커널 버전으로 업데이트하고 배포판의 보안 패치를 적용하세요.
🔧 검증 코드
출력된 커널 버전이 배포판 보안 공지에서 이 CVE의 패치가 포함된 버전 이상인지 확인하고, 필요하면 ceph 모듈 사용 여부(lsmod | grep ceph)도 함께 점검하세요.