🇰🇷 한글 설명
리눅스 커널의 procfs에서 ptrace_may_access() 함수를 호출할 때 exec_update_lock 보호가 누락된 취약점이 발견되었습니다. 이로 인해 특정 procfs 관련 함수 호출 시 동기화 문제가 발생할 수 있으며, 이를 해결하기 위해 적절한 락을 추가하거나 mm_access()를 사용하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 정보를 보여주는 시스템 파일(procfs)을 읽을 때, 데이터가 안전하게 보호되지 않아 정보가 꼬이거나 오류가 발생할 수 있는 문제입니다. 보안을 위해 데이터를 읽는 동안 다른 작업이 방해하지 못하도록 잠금 장치를 강화한 것입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
proc: protect ptrace_may_access() with exec_update_lock (part 1)
Fix the easy cases where procfs currently calls ptrace_may_access() without
exec_update_lock protection, where the fix is to simply add the extra lock
or use mm_access():
- do_task_stat(): grab exec_update_lock
- proc_pid_wchan(): grab exec_update_lock
- proc_map_files_lookup(): use mm_access() instead of get_task_mm()
- proc_map_files_readdir(): use mm_access() instead of get_task_mm()
- proc_ns_get_link(): grab exec_update_lock
- proc_ns_readlink(): grab exec_update_lock
📍 영향받는 시스템
exec_update_lock 보호가 누락된 버전의 Linux Kernel
⚔️ 공격 벡터
로컬 공격자가 procfs를 통해 특정 시스템 정보를 조회하는 과정에서 레이스 컨디션(Race Condition) 유발
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인