{"id":"CVE-2026-80613","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-80613","summary":"veth: fix NAPI leak in XDP enable error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nveth: fix NAPI leak in XDP enable error path\n\nDuring XDP enablement in veth, if xdp_rxq_info_reg() or\nxdp_rxq_info_reg_mem_model() fails, the driver rolls back the changes.\n\nHowever, the rollback loop:\n\tfor (i--; i >= start; i--) {\n\ndecrements the loop index 'i' before the first iteration. This\ncorrectly skips unregistering the rxq for the failed index 'i' (as\nregistration failed or was already cleaned up), but it also\nerroneously skips calling netif_napi_deli() for rq[i].xdp_napi.\n\nSince netif_napi_add() was already called for index 'i', this leaves\na dangling napi_struct in the device's napi_list. When the veth\ndevice is later destroyed, the freed queue memory (which contains the\nleaked NAPI structure) can be reused.\n\nThe subsequent device teardown iterates the NAPI list and\ncorrupts the reallocated memory, leading to UAF.\n\nFix this by explicitly deleting the NAPI association for the failed\nindex 'i' before rolling back the successfully configured queues.","published":"2026-08-28T06:48:35.127Z","modified":"2026-08-30T03:48:20.803396371Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"5.15.212"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4559770b2a241344d762719e674241fcc8528f02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4bd2e5dbe62334aae1182d0f0d260f334a49d739"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6739027cb72da26890edd424c77080d187b2a92e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83090f5e7b54721d71875a6c224d2490b9e73050"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9e6707322ef215d39d4655b176c094f45f0ab52"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3eb258ad398cc9402bab3a5e730cd7c5b34efad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc51373345e7e6ea73da2650cb497309c50b077a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80613.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80613"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-30T03:48:20.803396371Z"}}