🇰🇷 한글 설명
Linux 커널의 io_uring 구성 요소에서 exec 호출 시 태스크 제한 사항이 유지되지 않는 취약점이 발견되었습니다. 기존에는 exec 과정에서 태스크 컨텍스트가 해제되면서 설정된 제한 사항이 사라져, exec 이후 생성된 링이 제한 없이 동작할 수 있었습니다.
💡 쉬운 설명
프로그램이 실행될 때 적용되어야 하는 보안 규칙이 특정 상황에서 초기화되어 사라지는 문제입니다. 이로 인해 보안 제한이 풀린 상태로 시스템 자원에 접근할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
io_uring: preserve task restrictions across exec
Per-task restrictions apply to all rings created by a task. Once
installed, they should not be dropped across exec.
For a task that has used io_uring, the exec cancellation path calls
__io_uring_free(). This frees both the task context and the per-task
restriction, so a ring created after exec is unrestricted.
Split task context cleanup into io_uring_free_tctx(), and use it from
the exec cancellation path. Keep __io_uring_free() for final task
cleanup, where both the context and restriction are released.
📍 영향받는 시스템
io_uring을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
io_uring을 사용하는 프로세스가 exec를 호출하여 보안 제한이 해제된 상태의 새로운 링을 생성하도록 유도
🛡️ 대응 방법
io_uring 관련 태스크 컨텍스트 정리 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인