🇰🇷 한글 설명
Linux 커널의 MPLS 구성 요소에서 플랫폼 라벨 테이블의 크기가 조정될 때 데이터 불일치가 발생할 수 있는 취약점입니다. 이로 인해 RCU 보호 경로에서 경계 외 메모리 접근(OOB access)이 발생할 수 있으며, 이를 해결하기 위해 seqcount를 도입하여 일관된 스냅샷을 보장하도록 수정되었습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 리눅스 커널의 특정 기능에서 데이터가 업데이트되는 순간에 잘못된 메모리 위치를 참조할 수 있는 오류가 발견되었습니다. 이 오류를 이용하면 시스템이 예기치 않게 종료되거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mpls: add seqcount to protect the platform_label{,s} pair
The RCU-protected codepaths (mpls_forward, mpls_dump_routes) can have
an inconsistent view of platform_labels vs platform_label in case of a
concurrent resize (resize_platform_label_table, under
platform_mutex). This can lead to OOB accesses.
This patch adds a seqcount, so that we get a consistent snapshot.
Note that mpls_label_ok is also susceptible to this, so the check
against RTA_DST in rtm_to_route_config, done outside platform_mutex,
is not sufficient. This value gets passed to mpls_label_ok once more
in both mpls_route_add and mpls_route_del, so there is no issue, but
that additional check must not be removed.
📍 영향받는 시스템
MPLS 기능을 사용하는 Linux Kernel (패치 적용 전 버전)
⚔️ 공격 벡터
동시성 제어 미흡을 이용한 경계 외 메모리 접근(Out-of-Bounds Access) 유도
🛡️ 대응 방법
MPLS 플랫폼 라벨 테이블 보호를 위해 seqcount가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.