🇰🇷 한글 설명
Linux 커널의 io_uring/waitid 구성 요소에서 waitid 정보가 사용자 공간으로 복사되기 전에 초기화되지 않는 취약점이 발견되었습니다. 자식 프로세스의 이벤트가 보고되지 않을 경우, 이전에 사용되었던 메모리의 잔류 데이터가 사용자 공간으로 노출될 수 있습니다.
💡 쉬운 설명
컴퓨터가 작업 결과를 알려줄 때, 이전 작업에서 남은 찌꺼기 데이터가 섞여서 전달될 수 있는 문제입니다. 이로 인해 시스템 내부의 민감한 정보가 의도치 않게 유출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
io_uring/waitid: clear waitid info before copying it to userspace
IORING_OP_WAITID stores its result fields in struct io_waitid::info and
later copies them to userspace siginfo. The prep path initializes the
request arguments, but it does not initialize info itself.
If the wait operation completes without reporting a child event, the common
wait code can return without writing wo_info. In that case io_waitid_finish()
still copies iw->info to userspace, exposing stale bytes from the reused
io_kiocb command storage.
Clear the result storage during prep so the io_uring path matches the
regular waitid syscall, which uses a zero-initialized struct waitid_info.
📍 영향받는 시스템
io_uring을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특수하게 조작된 io_uring 요청을 통해 커널 메모리의 잔류 데이터를 사용자 공간으로 유출
🛡️ 대응 방법
io_uring/waitid 경로에서 결과 저장 구조체를 초기화하는 최신 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인