🇰🇷 한글 설명
Linux 커널의 io_uring/kbuf 구성 요소에서 버퍼 길이를 계산할 때 부호 있는 정수(signed int)로 변환하는 과정에서 발생하는 취약점입니다. 매우 큰 버퍼를 사용할 경우 길이가 음수로 해석될 수 있어 예상치 못한 동작을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터의 크기를 계산할 때, 너무 큰 숫자를 갑자기 마이너스 숫자로 잘못 읽는 오류가 발견되었습니다. 이로 인해 시스템이 데이터 처리를 비정상적으로 수행할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
io_uring/kbuf: fix signedness in this_len calculation
When importing and using buffers, buf->len is considered unsigned.
However, buf->len is converted to signed int when committing. This can
lead to unexpected behavior if the buffer is large enough to be
interpreted as a negative value. Make min_t calculation unsigned.
📍 영향받는 시스템
io_uring 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
매우 큰 크기의 버퍼를 io_uring을 통해 커널에 전달하여 부호 오류 유도
🛡️ 대응 방법
io_uring 관련 버퍼 길이 계산 방식이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인