🇰🇷 한글 설명
Linux 커널의 CAKE 스케줄러에서 오버헤드 값에 음수가 입력될 경우, 부호 없는 산술 연산 과정에서 정수 오버플로가 발생하여 패킷 길이가 매우 큰 값으로 변환되는 취약점입니다. 이로 인해 네트워크 속도 제어(rate accounting)가 의도와 다르게 동작할 수 있습니다. 이를 해결하기 위해 음수 조정값이 데이터 경로에서 적절히 제한되도록 수정되었습니다.
💡 쉬운 설명
네트워크 속도를 조절하는 기능에서 숫자를 계산할 때 오류가 발생하여, 실제보다 훨씬 큰 데이터가 지나가는 것처럼 착각하게 만드는 버그입니다. 이로 인해 인터넷 속도 제한 기능이 제대로 작동하지 않을 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/sched: cake: reject overhead values that underflow length
CAKE accepts signed overhead values and stores them in an s16, but the
adjusted packet length calculation uses unsigned arithmetic. A negative
effective length can therefore wrap to a large value.
Such configurations make rate accounting depend on integer wraparound
rather than on the packet size userspace intended to model. A static
netlink lower bound is not enough because packets reaching CAKE can be
smaller than any reasonable manual-overhead allowance.
Fold the signed overhead adjustment into the existing datapath MPU clamp
so negative adjusted lengths are clamped before link-layer framing
adjustments.
📍 영향받는 시스템
CAKE 스케줄러를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
사용자 공간(userspace)에서 CAKE 설정 시 부적절한 음수 오버헤드 값을 전달하여 발생
🛡️ 대응 방법
CAKE 오버헤드 조정 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인