🔍 CVE-2024-26830

8.4
CVSS Score
HIGH
2024-04-17
2026-08-04 11:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 i40e 드라이버에서 신뢰할 수 없는 가상 기능(VF)이 관리자에 의해 설정된 MAC 주소를 임의로 삭제할 수 있는 취약점이 발견되었습니다. VF 인터페이스를 다운시킬 때 PF가 설정한 기본 MAC 주소가 00:00:00:00:00:00으로 초기화되는 문제가 있습니다.

💡 쉬운 설명

관리자가 가상 컴퓨터에 특정 네트워크 주소(MAC)를 고정해 두었음에도 불구하고, 가상 컴퓨터가 스스로 그 주소를 지워버릴 수 있는 보안 허점이 있습니다. 이로 인해 네트워크 설정이 의도치 않게 초기화될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: i40e: Do not allow untrusted VF to remove administratively set MAC Currently when PF administratively sets VF's MAC address and the VF is put down (VF tries to delete all MACs) then the MAC is removed from MAC filters and primary VF MAC is zeroed. Do not allow untrusted VF to remove primary MAC when it was set administratively by PF. Reproducer: 1) Create VF 2) Set VF interface up 3) Administratively set the VF's MAC 4) Put VF interface down [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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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

📍 영향받는 시스템

i40e 드라이버를 사용하는 Linux 커널 시스템

⚔️ 공격 벡터

신뢰할 수 없는 권한을 가진 가상 기능(VF)에서 인터페이스를 다운(down)시키는 동작을 통해 발생

🛡️ 대응 방법

i40e 드라이버 취약점이 해결된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 i40e 취약점이 패치된 최신 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel