🇰🇷 한글 설명
Linux 커널의 VXLAN MDB 원격 엔트리 교체 과정에서 소스 목록이 손상되는 취약점입니다. 교체 작업 중 오류가 발생할 경우 기존의 소스 목록까지 모두 삭제되어, 필터링 규칙이 의도치 않게 동작하거나 트래픽이 유실될 수 있습니다.
💡 쉬운 설명
네트워크 설정 정보를 업데이트하다가 오류가 나면 기존에 잘 작동하던 설정까지 통째로 지워버리는 버그입니다. 이로 인해 차단해야 할 데이터가 통과되거나, 통과되어야 할 데이터가 끊길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
vxlan: mdb: Fix source list corruption on a failed replace
When replacing the source list of an MDB remote entry, all existing
sources are first marked for deletion and vxlan_mdb_remote_srcs_add()
is then called to add the new source list. Sources present in the new
list have their deletion mark cleared, and any sources left marked
afterwards are removed.
If vxlan_mdb_remote_srcs_add() fails partway through, its error path
deletes all entries on the remote's source list. That rollback is only
correct for its other caller, vxlan_mdb_remote_add(), where the remote
was just allocated and the list contains solely entries added during
the call. On the replace path the list also holds pre-existing sources,
so a failed replace tears them down together with their (S, G)
forwarding entries instead of leaving the entry unchanged.
This is reachable from an existing (*, G) remote. An EXCLUDE filter
that loses sources starts forwarding traffic that should be blocked,
while an INCLUDE filter that loses sources drops traffic that should be
forwarded.
Mark entries created during the current pass with a new
VXLAN_SGRP_F_NEW flag. On failure, delete only those entries and clear
the deletion mark on the pre-existing ones, so a failed replace leaves
the source list untouched. Retain the flag until the whole operation
succeeds and then clear it. Also stop vxlan_mdb_remote_src_add() from
deleting a pre-existing entry it only looked up when adding that
entry's forwarding entry fails.
📍 영향받는 시스템
Linux kernel (VXLAN MDB 관련 모듈 사용 시스템)
⚔️ 공격 벡터
기존에 존재하는 (*, G) 원격 엔트리에 대해 소스 목록 교체 작업을 유도하여 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux