🇰🇷 한글 설명
Linux 커널의 Open vSwitch 구성 요소에서 업데이트 응답 시 식별자 불일치로 인해 발생하는 취약점입니다. 요청된 식별자보다 실제 매칭된 흐름의 식별자가 더 클 경우, 할당된 메모리 공간이 부족하여 시스템 오류(BUG_ON)가 발생할 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 과정에서 데이터 크기를 잘못 계산하여 시스템이 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 특정 조건에서 데이터가 들어갈 공간이 부족해지는 현상을 해결해야 합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: openvswitch: reallocate update replies for mismatched IDs
ovs_flow_cmd_new() preallocates the optional reply skb before it takes
ovs_mutex and before it knows which existing flow will be updated.
That is normally fine because the skb is sized from the request flow
identifier. That identifier also becomes the inserted flow's identifier.
For updates, however, a request with a UFID may miss the UFID lookup and
then fall back to the flow key lookup. That lookup can legitimately find
an existing key-identified flow. UFIDs are optional and the flow key is
the primary identifier.
For echoed replies, ovs_flow_cmd_fill_info() writes the matched flow's
identifier, not the request identifier used for the preallocation. A short
request UFID can therefore leave too little room for the key identifier.
The fill can then fail with -EMSGSIZE and hit the BUG_ON(error < 0) in the
update path.
Once the update target has been resolved, reallocate the reply skb if the
matched flow needs a larger reply than the request identifier allowed. Do
this before replacing the actions so the request can still fail cleanly if
the rare extra allocation fails.
📍 영향받는 시스템
Linux Kernel (Open vSwitch 모듈 사용 환경)
⚔️ 공격 벡터
조작된 UFID를 포함한 Open vSwitch 흐름 업데이트 요청을 통해 시스템 오류 유도
🛡️ 대응 방법
Open vSwitch의 식별자 재할당 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인