🇰🇷 한글 설명
Linux 커널의 io_uring/rw 구성 요소에서 rw_cache에 요청을 저장하는 데 실패할 경우, 할당된 iovec 포인터가 해제되지 않고 남게 되는 취약점입니다. 이로 인해 메모리 누수가 발생하거나 관리되지 않는 포인터로 인한 보안 문제가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터를 읽고 쓸 때 사용하는 임시 메모리 공간을 제대로 정리하지 못하는 버그입니다. 이 버그가 방치되면 메모리가 낭비되거나 시스템이 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
io_uring/rw: free potentially allocated iovec on cache put failure
If a read/write request goes through io_req_rw_cleanup() and has an
allocated iovec attached and fails to put to the rw_cache, then it may
end up with an unaccounted iovec pointer. Have io_rw_recycle() return
whether it recycled the request or not, and use that to gauge whether to
free a potential iovec or not.
📍 영향받는 시스템
io_uring 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 사용자가 특수하게 조작된 io_uring 요청을 보내 메모리 관리 로직의 오류를 유도
🛡️ 대응 방법
io_uring 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인