🇰🇷 한글 설명
리눅스 커널의 futex 관련 함수인 futex_hash_allocate_default()에서 오류 발생 시 잘못된 종료 경로를 사용하는 취약점입니다. 오류 발생 시 획득하지 않은 잠금(lock)을 해제하려고 시도하여 커널의 안정성을 해칠 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 작업 프로세스를 복제할 때, 오류가 나면 정리 작업을 잘못 수행하는 버그입니다. 이로 인해 시스템이 불안정해지거나 예기치 않은 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
futex: Use correct exit on failure from futex_hash_allocate_default()
copy_process() uses the wrong error exit path from futex_hash_allocate_default().
After exiting from futex_hash_allocate_default(), neither tasklist_lock
nor siglock has been acquired. The exit label bad_fork_core_free unlocks
both of these locks which is wrong.
The next exit label, bad_fork_cancel_cgroup, is the correct exit.
sched_cgroup_fork() did not allocate any resources that need to freed.
Use bad_fork_cancel_cgroup on error exit from futex_hash_allocate_default().
📍 영향받는 시스템
Linux Kernel (futex 관련 기능이 포함된 버전)
⚔️ 공격 벡터
로컬 시스템에서 특정 시스템 호출(futex 관련)을 유도하여 커널 오류를 발생시키는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.