🇰🇷 한글 설명
Linux 커널의 MPTCP 구현에서 mptcp_rcvbuf_grow() 함수가 순서가 잘못된 데이터(OoO)를 잘못 계산하여 수신 버퍼가 점진적으로 증가하는 취약점이 발견되었습니다. 이로 인해 드물게 레이스 컨디션이 발생하여 0으로 나누기 오류(Divide by zero Oops)로 인한 시스템 중단이 발생할 수 있습니다.
💡 쉬운 설명
데이터가 순서대로 도착하지 않을 때 시스템이 이를 잘못 계산하여 메모리 관리 오류를 일으킬 수 있는 문제입니다. 이 오류가 발생하면 시스템이 갑자기 멈추거나 꺼질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mptcp: do not account for OoO in mptcp_rcvbuf_grow()
MPTCP-level OoOs are physiological when multiple subflows are active
concurrently and will not cause retransmissions nor are caused by
drops.
Accounting for them in mptcp_rcvbuf_grow() causes the rcvbuf slowly
drifting towards tcp_rmem[2].
Remove such accounting. Note that subflows will still account for TCP-level
OoO when the MPTCP-level rcvbuf is propagated.
This also closes a subtle and very unlikely race condition with rcvspace
init; active sockets with user-space holding the msk-level socket lock,
could complete such initialization in the receive callback, after that the
first OoO data reaches the rcvbuf and potentially triggering a divide by
zero Oops.
📍 영향받는 시스템
MPTCP 기능이 활성화된 Linux 커널 버전
⚔️ 공격 벡터
네트워크를 통해 의도적으로 순서가 어긋난 MPTCP 패킷을 전송하여 시스템 오류 유도
🛡️ 대응 방법
MPTCP 관련 수정 사항이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인