🇰🇷 한글 설명
리눅스 커널의 IMA(Integrity Measurement Architecture) 구성 요소에서 dentry의 dname.name 사용 시 Use-After-Free 취약점이 발견되었습니다. 파일 이름이 변경될 때 기존 이름이 해제된 후 다시 참조될 수 있는 문제가 있으며, 이를 방지하기 위해 이름의 안정적인 스냅샷을 생성하도록 수정되었습니다.
💡 쉬운 설명
파일의 이름을 바꾸는 과정에서 컴퓨터가 이미 지워버린 이름을 다시 사용하려고 시도하여 오류가 발생하는 문제입니다. 이로 인해 시스템이 멈추거나 보안이 뚫릴 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ima: Fix use-after-free on a dentry's dname.name
->d_name.name can change on rename and the earlier value can be freed;
there are conditions sufficient to stabilize it (->d_lock on dentry,
->d_lock on its parent, ->i_rwsem exclusive on the parent's inode,
rename_lock), but none of those are met at any of the sites. Take a stable
snapshot of the name instead.
📍 영향받는 시스템
Linux Kernel (IMA 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 파일 이름을 빈번하게 변경하여 메모리 오류를 유도하는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.