CVE-2025-68341
veth: reduce XDP no_direct return section to fix race
Reported by linux · Published December 23, 2025
In the Linux kernel, the following vulnerability has been resolved: veth: reduce XDP no_direct return section to fix race As explain in commit fa349e396e48 ("veth: Fix race with AF_XDP exposing old or uninitialized descriptors") for veth there is a chance after napi_complete_done() that another CPU can manage start another NAPI instance running veth_pool(). For NAPI this is correctly handled as the napi_schedule_prep() check will prevent multiple instances from getting scheduled, but for the remaining code in veth_pool() this can run concurrent with the newly started NAPI instance. The problem/race is that xdp_clear_return_frame_no_direct() isn't designed to be nested. Prior to commit 401cb7dae813 ("net: Reference bpf_redirect_info via task_struct on PREEMPT_RT.") the temporary BPF net context bpf_redirect_info was stored per CPU, where this wasn't an issue. Since this commit the BPF context is stored in 'current' task_struct. When running veth in threaded-NAPI mode, then the kthread becomes the storage area. Now a race exists between two concurrent veth_pool() function calls one exiting NAPI and one running new NAPI, both using the same BPF net context. Race is when another CPU gets within the xdp_set_return_frame_no_direct() section before exiting veth_pool() calls the clear-function xdp_clear_return_frame_no_direct().
EPSS 0.44% · 38.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12 | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel-livepatch-6.12.63-84.121 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| linux_kernel | linux | 6.18, 6.17.11, 6.12.61 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 401cb7dae8130fd34eb84648e02ab4c506df7d5e, 401cb7dae8130fd34eb84648e02ab4c506df7d5e, 401cb7dae8130fd34eb84648e02ab4c506df7d5e |
| Linux | Linux | 6.11, 0, 6.12.61 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.63-84.121 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| linux | linux_kernel | 6.11, 6.11, 6.11 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| Linux | Linux | 401cb7dae8130fd34eb84648e02ab4c506df7d5e, 401cb7dae8130fd34eb84648e02ab4c506df7d5e, 401cb7dae8130fd34eb84648e02ab4c506df7d5e |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
Timeline
- Dec 23, 2025 CVE Published
- Dec 24, 2025 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (55 in total, the first dated here)
- Mar 29, 2026 Security Advisory (58 in total, the first dated here)
- Aug 5, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-68341
vulnetix vdb fixes CVE-2025-68341
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-2025-68341/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart