🇰🇷 한글 설명
Linux 커널의 SELinux 구성 요소에서 avc_has_perm_noaudit() 함수가 요청된 권한이 비어 있을 경우 초기화되지 않은 스택 변수를 반환하는 취약점이 발견되었습니다. 이로 인해 정의되지 않은 값이 감사(audit) 로그에 기록되거나 태스크 결정 캐시에 저장될 수 있습니다.
💡 쉬운 설명
컴퓨터의 보안 규칙을 관리하는 프로그램이 특정 상황에서 쓰레기 값(정해지지 않은 값)을 읽어 보안 판단을 내릴 수 있는 오류입니다. 이로 인해 보안 로그가 부정확해지거나 예상치 못한 보안 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
selinux: always fill AVC decision in avc_has_perm_noaudit()
avc_has_perm_noaudit() is documented to return a copy of the access
decision in @avd, but its early return for an empty requested permission
set leaves the buffer untouched. All callers pass an uninitialized
stack variable and afterwards feed it to avc_audit(), and the inode hook
even stores it in the per-task decision cache.
Fill in a deny-all, audit-all decision, similar to avd_init(), so every
caller receives a defined value at no cost on the hot path.
📍 영향받는 시스템
SELinux가 활성화된 Linux 커널 (패치 전 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 권한 요청을 조작하여 초기화되지 않은 스택 메모리 값을 활용할 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 배포판의 보안 패치 버전인지 확인