🇰🇷 한글 설명
Linux 커널의 AppArmor 모듈에서 경로 확인 실패 시 실행 파일 리소스가 해제되지 않는 취약점이 발견되었습니다. get_current_exe_path() 함수가 경로를 확인하는 과정에서 오류가 발생할 경우, 참조 카운트가 제대로 감소하지 않아 리소스 누수가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 보안 기능을 담당하는 프로그램이 작업을 하다가 실수로 메모리 자원을 반환하지 않고 계속 붙잡고 있는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
apparmor: release exe file resources on path failure
get_current_exe_path() takes both an exe_file reference and a path
reference before resolving the path name. If aa_path_name() failed, it
returned immediately and leaked both references.
Route the failure through the common cleanup path so fput() and path_put()
always run after the references are acquired.
📍 영향받는 시스템
AppArmor를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특정 경로 확인 실패를 유도하여 시스템 리소스를 점진적으로 고갈시키는 방식
🛡️ 대응 방법
AppArmor 관련 리소스 누수 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인