🇰🇷 한글 설명
Linux 커널의 macvlan 드라이버가 최소 MTU(68)를 일관되게 강제하지 않는 문제가 해결되었습니다. 기존에는 링크 생성 시 매우 작은 MTU를 허용해, 링크를 올릴 경우 IPv6 스택에서 크래시가 발생할 수 있었습니다. 패치로 링크 생성 단계부터 최소 MTU 검사가 적용됩니다.
💡 쉬운 설명
가상 네트워크 장치를 만들 때 너무 작은 데이터 크기 설정을 허용하던 버그입니다. 이 설정으로 장치를 켜면 시스템이 멈추거나 비정상 종료될 수 있었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
macvlan: enforce a consistent minimal mtu
macvlan should enforce a minimal mtu of 68, even at link creation.
This patch avoids the current behavior (which could lead to crashes
in ipv6 stack if the link is brought up)
$ ip link add macvlan1 link eno1 mtu 8 type macvlan # This should fail !
$ ip link sh dev macvlan1
5: macvlan1@eno1: <BROADCAST,MULTICAST> mtu 8 qdisc noop
state DOWN mode DEFAULT group default qlen 1000
link/ether 02:47:6c:24:74:82 brd ff:ff:ff:ff:ff:ff
$ ip link set macvlan1 mtu 67
Error: mtu less than device minimum.
$ ip link set macvlan1 mtu 68
$ ip link set macvlan1 mtu 8
Error: mtu less than device minimum.
📍 영향받는 시스템
패치 이전의 Linux 커널 (macvlan 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 매우 작은 MTU 값으로 macvlan 링크를 생성·활성화하여 IPv6 스택 오류를 유발하는 방식
🛡️ 대응 방법
배포판 공식 저장소에서 제공하는 수정된 커널 패키지로 업데이트하고 재부팅합니다.
🔧 검증 코드
출력된 커널 버전을 배포판의 보안 권고문에 명시된 수정 버전과 비교하여, 같거나 높으면 패치가 적용된 것입니다.