{"id":"CVE-2024-58099","published":"2025-04-29T11:45:30Z","modified":"2026-08-05T11:47:44Z","title":"vmxnet3: Fix packet corruption in vmxnet3_xdp_xmit_frame","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvmxnet3: Fix packet corruption in vmxnet3_xdp_xmit_frame\n\nAndrew and Nikolay reported connectivity issues with Cilium's service\nload-balancing in case of vmxnet3.\n\nIf a BPF program for native XDP adds an encapsulation header such as\nIPIP and transmits the packet out the same interface, then in case\nof vmxnet3 a corrupted packet is being sent and subsequently dropped\non the path.\n\nvmxnet3_xdp_xmit_frame() which is called e.g. via vmxnet3_run_xdp()\nthrough vmxnet3_xdp_xmit_back() calculates an incorrect DMA address:\n\n  page = virt_to_page(xdpf->data);\n  tbi->dma_addr = page_pool_get_dma_addr(page) +\n                  VMXNET3_XDP_HEADROOM;\n  dma_sync_single_for_device(&adapter->pdev->dev,\n                             tbi->dma_addr, buf_size,\n                             DMA_TO_DEVICE);\n\nThe above assumes a fixed offset (VMXNET3_XDP_HEADROOM), but the XDP\nBPF program could have moved xdp->data. While the passed buf_size is\ncorrect (xdpf->len), the dma_addr needs to have a dynamic offset which\ncan be calculated as xdpf->data - (void *)xdpf, that is, xdp->data -\nxdp->data_hard_start.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00339,"percentile":0.27925,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/59ba6cdadb9c26b606a365eb9c9b25eb2052622d","tags":[]},{"url":"https://git.kernel.org/stable/c/f82eb34fb59a8fb96c19f4f492c20eb774140bb5","tags":[]},{"url":"https://git.kernel.org/stable/c/4678adf94da4a9e9683817b246b58ce15fb81782","tags":[]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.58},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, < 59ba6cdadb9c26b606a365eb9c9b25eb2052622d",">= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, < f82eb34fb59a8fb96c19f4f492c20eb774140bb5",">= 54f00cce11786742bd11e5e68c3bf85e6dc048c9, < 4678adf94da4a9e9683817b246b58ce15fb81782"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T16:12:22.218510Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-14197","exploited":false,"provenance":"source"}}