CVE-2024-26830: Linux kernel · i40e: Do not allow untrusted VF to remove administratively set MAC
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.4 High · fixed in 5.4.0-1131.141~18.04.1 : patch Linux kernel soon.
Data as of 28 Oct 2026, 10:59 UTC
- Patch
- Available – fixed in 5.4.0-1131.141~18.04.1, 5.4.0-1136.143~18.04.1, 5.4.0-1135.144~18.04.1 +62
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6895-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6900-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6973-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6974-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6973-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6974-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6973-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6973-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7006-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro Realtime 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=realtime/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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
References
- ubuntu.com/security/CVE-2024-26830 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-26830 (opens in a new tab)
- git.kernel.org/linus/73d9629e1c8c1982f13688c4d1019c3994647ccc (opens in a new tab)
- git.kernel.org/stable/c/1c981792e4ccbc134b468797acdd7781959e6893 (opens in a new tab)
- git.kernel.org/stable/c/be147926140ac48022c9605d7ab0a67387e4b404 (opens in a new tab)
- git.kernel.org/stable/c/d250a81ba813a93563be68072c563aa1e346346d (opens in a new tab)
- git.kernel.org/stable/c/73d9629e1c8c1982f13688c4d1019c3994647ccc (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6900-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6895-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6973-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6974-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6973-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6974-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6973-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6973-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7006-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7019-1 (opens in a new tab)