🇰🇷 한글 설명
Linux 커널의 af_unix 구성 요소에서 발생하는 Use-After-Free 취약점입니다. unix_stream_sendpage() 함수가 수신 큐에 대한 잠금 없이 데이터에 접근하여 경합 조건이 발생하며, 이를 통해 로컬 권한 상승이 가능합니다.
💡 쉬운 설명
컴퓨터의 핵심 프로그램인 리눅스 커널에서 데이터 처리 순서가 꼬이는 문제가 발견되었습니다. 해커가 이 허점을 이용하면 일반 사용자 권한에서 관리자 권한을 뺏을 수 있습니다.
🇺🇸 원문 (English)
A use-after-free vulnerability in the Linux kernel's af_unix component can be exploited to achieve local privilege escalation.
The unix_stream_sendpage() function tries to add data to the last skb in the peer's recv queue without locking the queue. Thus there is a race where unix_stream_sendpage() could access an skb locklessly that is being released by garbage collection, resulting in use-after-free.
We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c (or backported equivalents).
📍 영향받는 시스템
Linux kernel (af_unix component 사용 버전)
⚔️ 공격 벡터
로컬 시스템에서 경합 조건을 유도하여 메모리 오류를 일으키는 방식
🛡️ 대응 방법
커밋 790c2f9d15b594350ae9bca7b236f2b1859de02c 이후 버전으로 커널 업데이트
🔧 검증 코드
출력된 커널 버전이 보안 패치가 적용된 최신 버전인지 확인합니다.