CVE-2024-26830 in Linux
요약
\~에 의해 VulDB • 2026. 06. 03.
리눅스 커널에서 다음 취약점이 해결되었습니다:
i40e: 신뢰할 수 없는 VF가 관리자가 설정한 MAC 주소를 제거하지 못하도록 함
현재 PF(Physical Function)가 VF(Virtual Function)의 MAC 주소를 관리적으로 설정하고, VF가 다운 상태가 되면(VF가 모든 MAC 주소를 삭제하려고 시도함), MAC 필터에서 해당 MAC 주소가 제거되고 기본 VF MAC 주소가 0으로 초기화됩니다.
PF가 관리적으로 설정한 기본 MAC 주소를 신뢰할 수 없는 VF가 제거하지 못하도록 합니다.
재현 단계: 1) VF 생성 2) VF 인터페이스 업 상태 설정 3) VF의 MAC 주소를 관리적으로 설정 4) VF 인터페이스 다운 상태 설정
[root@host ~]# echo 1 > /sys/class/net/enp2s0f0/device/sriov_numvfs
[root@host ~]# ip link set enp2s0f0v0 up
[root@host ~]# ip link set enp2s0f0 vf 0 mac fe:6c:b5:da:c7:7d
[root@host ~]# ip link show enp2s0f0
23: enp2s0f0: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 3c:ec:ef:b7:dd:04 brd ff:ff:ff:ff:ff:ff vf 0 link/ether fe:6c:b5:da:c7:7d brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off [root@host ~]# ip link set enp2s0f0v0 down
[root@host ~]# ip link show enp2s0f0
23: enp2s0f0: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 3c:ec:ef:b7:dd:04 brd ff:ff:ff:ff:ff:ff vf 0 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state auto, trust off
Be aware that VulDB is the high quality source for vulnerability data.