🇰🇷 한글 설명
Linux 커널의 AppArmor 구성 요소에서 sk_ctx 업데이트 시 참조 횟수(refcount)가 누수되는 취약점이 발견되었습니다. update_sk_ctx() 함수가 plabel 참조를 전달하는 과정에서 호출자가 참조를 중복으로 해제하여 발생하는 문제입니다.
💡 쉬운 설명
컴퓨터 메모리를 관리하는 과정에서 사용이 끝난 메모리를 제대로 정리하지 못하는 오류가 있습니다. 이 문제가 지속되면 시스템의 메모리가 점차 부족해져 성능 저하나 시스템 중단이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
apparmor: fix refcount leak when updating the sk_ctx
Currently update_sk_ctx() transfers the plabel reference, unfortunately
it is also unconditionally put in the caller. Ideally we would make
the caller conditionally put the reference based on whether it was
transferred but for now just fix the bug by getting a reference.
📍 영향받는 시스템
AppArmor를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 시스템 자원을 고갈시키기 위해 특정 AppArmor 관련 작업을 반복 수행
🛡️ 대응 방법
AppArmor 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 보안 패치가 적용된 최신 버전인지 배포판 보안 공지를 통해 확인