CVE-2026-80613veth: fix NAPI leak in XDP enable error path
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Oct 16, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before fc51373345e7e6ea73da2650cb497309c50b077a; from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before 4559770b2a241344d762719e674241fcc8528f02; from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before 83090f5e7b54721d71875a6c224d2490b9e73050; from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before d3eb258ad398cc9402bab3a5e730cd7c5b34efad; from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before a9e6707322ef215d39d4655b176c094f45f0ab52; from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before 4bd2e5dbe62334aae1182d0f0d260f334a49d739; from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before 6739027cb72da26890edd424c77080d187b2a92e | CNA record |
References
- https://git.kernel.org/stable/c/fc51373345e7e6ea73da2650cb497309c50b077a
- https://git.kernel.org/stable/c/4559770b2a241344d762719e674241fcc8528f02
- https://git.kernel.org/stable/c/83090f5e7b54721d71875a6c224d2490b9e73050
- https://git.kernel.org/stable/c/d3eb258ad398cc9402bab3a5e730cd7c5b34efad
- https://git.kernel.org/stable/c/a9e6707322ef215d39d4655b176c094f45f0ab52
- https://git.kernel.org/stable/c/4bd2e5dbe62334aae1182d0f0d260f334a49d739
- https://git.kernel.org/stable/c/6739027cb72da26890edd424c77080d187b2a92e
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.