VDB

CVE-2024-26830

CVE-2024-26830 PUBLISHED CVSS 8.4 HIGH

i40e: Do not allow untrusted VF to remove administratively set MAC

Reported by linux · Published April 17, 2024

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-toolserrata.rockylinux.org4.18.0-553.123.1.el8
kernel-debug-debuginfoerrata.rockylinux.org4.18.0-553.123.1.el8
kernel-abi-stablelistserrata.rockylinux.org4.18.0-553.123.1.el8
kernel-tools-libserrata.rockylinux.org4.18.0-553.123.1.el8
kernel-debug-coreerrata.rockylinux.org4.18.0-553.123.1.el8
kernel-debug-modules-extraerrata.rockylinux.org4.18.0-553.123.1.el8
kernel-moduleserrata.rockylinux.org4.18.0-553.123.1.el8
python3-perferrata.rockylinux.org4.18.0-553.123.1.el8

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b
LinuxLinux3.14, 0, 6.1.79
linuxlinux_kernel3.14, 3.14, 3.14
LinuxLinux700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, 0

Timeline

  • Apr 16, 2024 CVE Published
  • Apr 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (149 in total, the first dated here)
  • Jan 15, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (98 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26830
vulnetix vdb fixes CVE-2024-26830

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26830/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›