🇰🇷 한글 설명
Linux 커널의 autofs 구성 요소에서 autofs_fill_super() 함수 호출 시 메모리 누수가 발생하는 취약점입니다. root_inode 생성에 실패할 경우 이전에 생성한 inode를 해제하지 않고 -ENOMEM을 반환하여 메모리가 낭비되는 문제가 있었습니다.
💡 쉬운 설명
시스템이 특정 기능을 실행하려다 오류가 났을 때, 사용했던 메모리를 제대로 돌려주지 않고 버리는 현상입니다. 이 문제가 반복되면 시스템의 메모리가 점점 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
fs: autofs: fix memory leak in autofs_fill_super()
In autofs_fill_super(), we create a new inode using
autofs_new_ino(), however, if we fail to create root_inode,
(that is, root_inode failure path), we return -ENOMEM without
freeing the new inode(ino) that we created causing a memory leak.
Fix this by adding autofs_free_ino() to free the inode we created
in root_inode failure path before returning ENOMEM.
📍 영향받는 시스템
Linux kernel (autofs 모듈을 사용하는 시스템)
⚔️ 공격 벡터
직접적인 공격보다는 시스템 리소스를 점진적으로 고갈시키는 DoS(서비스 거부) 유발 가능성
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.