🇰🇷 한글 설명
Linux 커널의 libceph 구성 요소에서 클라이언트 종료 시 debugfs 파일을 제거하기 전에 모니터 클라이언트를 먼저 해제하는 취약점이 발견되었습니다. 이로 인해 monmap debugfs 파일에 대한 동시 읽기 작업이 발생할 경우, 이미 해제된 메모리에 접근하여 Use-After-Free 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터 시스템이 종료되는 과정에서 이미 삭제된 메모리 정보를 다시 읽으려고 시도하여 발생하는 오류입니다. 이 과정에서 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
libceph: remove debugfs files before client teardown
ceph_destroy_client() tears down the monitor client before removing
the per-client debugfs files. A concurrent read of the monmap debugfs
file can enter monmap_show() after ceph_monc_stop() has freed
monc->monmap, triggering a use-after-free.
Remove the debugfs files before stopping the OSD and monitor clients.
debugfs_remove() drains active handlers and prevents new accesses, so
the debugfs callbacks can no longer race the rest of client teardown.
📍 영향받는 시스템
Linux kernel (libceph module 사용 시스템)
⚔️ 공격 벡터
클라이언트 종료 과정 중 debugfs 파일을 통한 동시성 레이스 컨디션 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 클라이언트 종료 순서를 수정하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.