🇰🇷 한글 설명
Linux 커널의 SELinux 구현에서 /sys/fs/selinux/policy 파일에 대해 단 하나의 프로세스만 열 수 있도록 제한하던 취약점이 해결되었습니다. 기존에는 특정 프로세스가 파일을 열고 있으면 다른 프로세스가 커널 정책을 읽는 것을 차단할 수 있었으나, 이제는 여러 프로세스가 동시에 접근할 수 있도록 수정되었습니다.
💡 쉬운 설명
시스템의 보안 규칙을 담고 있는 파일을 한 번에 한 명만 볼 수 있게 막아두어, 다른 사람이 규칙을 확인하지 못하게 방해할 수 있었던 문제입니다. 이번 수정으로 여러 프로그램이 동시에 보안 규칙을 안전하게 확인할 수 있게 되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
selinux: allow multiple opens of /sys/fs/selinux/policy
Currently there can only be a single open of /sys/fs/selinux/policy at
any time. This allows any process to block any other process from
reading the kernel policy. The original motivation seems to have been
a mix of preventing an inconsistent view of the policy size and
preventing userspace from allocating kernel memory without bound, but
this is arguably equally bad. Eliminate the policy_opened flag and
shrink the critical section that the policy mutex is held. While we
are making changes here, drop a couple of extraneous BUG_ONs.
📍 영향받는 시스템
SELinux가 활성화된 Linux 커널 버전 (패치 적용 전 버전)
⚔️ 공격 벡터
임의의 프로세스가 SELinux 정책 파일을 점유하여 다른 프로세스의 정책 읽기 시도를 차단하는 서비스 거부(DoS) 형태의 공격
🛡️ 대응 방법
SELinux 정책 파일 접근 제한을 제거한 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전 이후인지 확인합니다.