CVE-2026-80613

Source
https://cve.org/CVERecord?id=CVE-2026-80613
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80613.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80613
Downstream
Published
2026-08-28T06:48:35.127Z
Modified
2026-08-29T03:47:02.551586954Z
Summary
veth: fix NAPI leak in XDP enable error path
Details

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 xdprxqinforeg() or xdprxqinforegmemmodel() 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 netifnapideli() for rq[i].xdp_napi.

Since netifnapiadd() was already called for index 'i', this leaves a dangling napistruct in the device's napilist. 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80613.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b02e5a0ebb172c8276cea3151942aac681f7a4a6
Fixed
fc51373345e7e6ea73da2650cb497309c50b077a
Fixed
4559770b2a241344d762719e674241fcc8528f02
Fixed
83090f5e7b54721d71875a6c224d2490b9e73050
Fixed
d3eb258ad398cc9402bab3a5e730cd7c5b34efad
Fixed
a9e6707322ef215d39d4655b176c094f45f0ab52
Fixed
4bd2e5dbe62334aae1182d0f0d260f334a49d739
Fixed
6739027cb72da26890edd424c77080d187b2a92e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80613.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80613.json"