# CVE-2024-26830: i40e: Do not allow untrusted VF to remove administratively set MAC

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **Published:** 2024-04-17T09:43:53.643Z
- **Modified:** 2026-08-05T11:27:42.789Z

## Who should check

- Anyone running Linux \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< 1c981792e4ccbc134b468797acdd7781959e6893; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< be147926140ac48022c9605d7ab0a67387e4b404; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< d250a81ba813a93563be68072c563aa1e346346d; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< 73d9629e1c8c1982f13688c4d1019c3994647ccc
- Anyone running Linux 3.14

## 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

## Affected and fixed versions

- Linux: \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< 1c981792e4ccbc134b468797acdd7781959e6893; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< be147926140ac48022c9605d7ab0a67387e4b404; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< d250a81ba813a93563be68072c563aa1e346346d; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< 73d9629e1c8c1982f13688c4d1019c3994647ccc (cvelist)
- Linux: 3.14 (cvelist)

## Mitigation

- Upgrade Linux to 73d9629e1c8c1982f13688c4d1019c3994647ccc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26830. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26830.md
Affected: Linux >= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, < 1c981792e4ccbc134b468797acdd7781959e6893; >= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, < be147926140ac48022c9605d7ab0a67387e4b404; >= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, < d250a81ba813a93563be68072c563aa1e346346d; >= 700bbf6c1f9e4ab055528d5…
Fixed in: Linux 1c981792e4ccbc134b468797acdd7781959e6893, Linux 73d9629e1c8c1982f13688c4d1019c3994647ccc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26830 being exploited?

There is no confirmed exploitation: CVE-2024-26830 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26830?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26830?

Linux \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< 1c981792e4ccbc134b468797acdd7781959e6893; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< be147926140ac48022c9605d7ab0a67387e4b404; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< d250a81ba813a93563be68072c563aa1e346346d; \>= 700bbf6c1f9e4ab055528d5ab4ac5815fe4a6c1b, \< 73d9629e1c8c1982f13688c4d1019c3994647ccc; Linux 3.14.

### Is there a fix for CVE-2024-26830?

Yes. Fixed in Linux 1c981792e4ccbc134b468797acdd7781959e6893, Linux 73d9629e1c8c1982f13688c4d1019c3994647ccc. Upgrade Linux to 73d9629e1c8c1982f13688c4d1019c3994647ccc or later.

### How do I check if I'm affected by CVE-2024-26830?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1c981792e4ccbc134b468797acdd7781959e6893>
- patch: <https://git.kernel.org/stable/c/be147926140ac48022c9605d7ab0a67387e4b404>
- patch: <https://git.kernel.org/stable/c/d250a81ba813a93563be68072c563aa1e346346d>
- patch: <https://git.kernel.org/stable/c/73d9629e1c8c1982f13688c4d1019c3994647ccc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26830>

HTML: <https://flawdb.com/CVE-2024-26830> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26830>
