# CVE-2024-58099: vmxnet3: Fix packet corruption in vmxnet3\_xdp\_xmit\_frame

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

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.62% (percentile 44, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-04-29T11:45:30.997Z
- **Modified:** 2026-08-05T11:47:44.871Z

## Who should check

- Anyone running Linux \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< 59ba6cdadb9c26b606a365eb9c9b25eb2052622d; \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< f82eb34fb59a8fb96c19f4f492c20eb774140bb5; \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< 4678adf94da4a9e9683817b246b58ce15fb81782
- Anyone running Linux 6.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

vmxnet3: Fix packet corruption in vmxnet3\_xdp\_xmit\_frame

Andrew and Nikolay reported connectivity issues with Cilium's service
load-balancing in case of vmxnet3.

If a BPF program for native XDP adds an encapsulation header such as
IPIP and transmits the packet out the same interface, then in case
of vmxnet3 a corrupted packet is being sent and subsequently dropped
on the path.

vmxnet3\_xdp\_xmit\_frame() which is called e.g. via vmxnet3\_run\_xdp()
through vmxnet3\_xdp\_xmit\_back() calculates an incorrect DMA address:

  page = virt\_to\_page(xdpf-\>data);
  tbi-\>dma\_addr = page\_pool\_get\_dma\_addr(page) +
                  VMXNET3\_XDP\_HEADROOM;
  dma\_sync\_single\_for\_device(&adapter-\>pdev-\>dev,
                             tbi-\>dma\_addr, buf\_size,
                             DMA\_TO\_DEVICE);

The above assumes a fixed offset (VMXNET3\_XDP\_HEADROOM), but the XDP
BPF program could have moved xdp-\>data. While the passed buf\_size is
correct (xdpf-\>len), the dma\_addr needs to have a dynamic offset which
can be calculated as xdpf-\>data - (void \*)xdpf, that is, xdp-\>data -
xdp-\>data\_hard\_start.

## Affected and fixed versions

- Linux: \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< 59ba6cdadb9c26b606a365eb9c9b25eb2052622d; \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< f82eb34fb59a8fb96c19f4f492c20eb774140bb5; \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< 4678adf94da4a9e9683817b246b58ce15fb81782 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 4678adf94da4a9e9683817b246b58ce15fb81782 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-58099. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-58099.md
Affected: Linux >= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, < 59ba6cdadb9c26b606a365eb9c9b25eb2052622d; >= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, < f82eb34fb59a8fb96c19f4f492c20eb774140bb5; >= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, < 4678adf94da4a9e9683817b246b58ce15fb81782; Linux 6.6
Fixed in: Linux 59ba6cdadb9c26b606a365eb9c9b25eb2052622d, Linux 4678adf94da4a9e9683817b246b58ce15fb81782

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-58099 being exploited?

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

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

High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< 59ba6cdadb9c26b606a365eb9c9b25eb2052622d; \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< f82eb34fb59a8fb96c19f4f492c20eb774140bb5; \>= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, \< 4678adf94da4a9e9683817b246b58ce15fb81782; Linux 6.6.

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

Yes. Fixed in Linux 59ba6cdadb9c26b606a365eb9c9b25eb2052622d, Linux 4678adf94da4a9e9683817b246b58ce15fb81782. Upgrade Linux to 4678adf94da4a9e9683817b246b58ce15fb81782 or later.

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

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/59ba6cdadb9c26b606a365eb9c9b25eb2052622d>
- patch: <https://git.kernel.org/stable/c/f82eb34fb59a8fb96c19f4f492c20eb774140bb5>
- patch: <https://git.kernel.org/stable/c/4678adf94da4a9e9683817b246b58ce15fb81782>

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

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