In the Linux kernel, the following vulnerability has been resolved: veth: fix NAPI leak in XDP enable error path During XDP enablement in veth, if xdp_rxq_info_reg() or xdp_rxq_info_reg_mem_model() fails, the driver rolls back the changes.
Overview
In the Linux kernel, the following vulnerability has been resolved: veth: fix NAPI leak in XDP enable error path During XDP enablement in veth, if xdp_rxq_info_reg() or xdp_rxq_info_reg_mem_model() fails, the driver rolls back the changes. However, the rollback loop: for (i--; i >= start; i--) { decrements the loop index 'i' before the first iteration. This correctly skips unregistering the rxq for the failed index 'i' (as registration failed or was already cleaned up), but it also erroneously skips calling netif_napi_deli() for rq[i].xdp_napi. Since netif_napi_add() was already called for index 'i', this leaves a dangling napi_struct in the device's napi_list. When the veth device is later destroyed, the freed queue memory (which contains the leaked NAPI structure) can be reused. The subsequent device teardown iterates the NAPI list and corrupts the reallocated memory, leading to UAF. Fix this by explicitly deleting the NAPI association for the failed index 'i' before rolling back the successfully configured queues.
- Published
- 8/28/2026
- Last modified
- 10/16/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ b02e5a0ebb172c8276cea3151942aac681f7a4a6, < fc51373345e7e6ea73da2650cb497309c50b077a | Verify advisory | Source |
Linux Linux | ≥ b02e5a0ebb172c8276cea3151942aac681f7a4a6, < 4559770b2a241344d762719e674241fcc8528f02 | Verify advisory | Source |
Linux Linux | ≥ b02e5a0ebb172c8276cea3151942aac681f7a4a6, < 83090f5e7b54721d71875a6c224d2490b9e73050 | Verify advisory | Source |
Linux Linux | ≥ b02e5a0ebb172c8276cea3151942aac681f7a4a6, < d3eb258ad398cc9402bab3a5e730cd7c5b34efad | Verify advisory | Source |
Linux Linux | ≥ b02e5a0ebb172c8276cea3151942aac681f7a4a6, < a9e6707322ef215d39d4655b176c094f45f0ab52 | Verify advisory | Source |
Linux Linux | ≥ b02e5a0ebb172c8276cea3151942aac681f7a4a6, < 4bd2e5dbe62334aae1182d0f0d260f334a49d739 | Verify advisory | Source |
Linux Linux | ≥ b02e5a0ebb172c8276cea3151942aac681f7a4a6, < 6739027cb72da26890edd424c77080d187b2a92e | Verify advisory | Source |
Linux Linux | 5.11 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.