CVE-2026-46320

tap: free page on error paths in tap_get_user_xdp()

7.4 high EPSS 0.42%

Published 9 Jun 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-46320

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46320 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

tap: free page on error paths in tap_get_user_xdp()

tap_get_user_xdp() rejects a frame shorter than ETH_HLEN with -EINVAL, and returns -ENOMEM when build_skb() fails. Both paths jump to the err label without freeing the page that vhost_net_build_xdp() allocated for the frame. tap_sendmsg() discards the per-buffer return value and always returns 0, so vhost_tx_batch() takes the success path and never frees the page; each rejected frame in a batch leaks one page-frag chunk.

Free the page on both error paths, before the skb is built. This is the tap counterpart of the same leak in tun_xdp_one().

Severity (CVSS)

7.4 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.42%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.6% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before 8d03e65eb6cfbffec471a6b65416f93679bf3286
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before f979971835dddbca86cf99e3b2e2b94a408a1ab2
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before 3f52a86a482a69294c50a5a2a097bd6f4104990a
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before d30aac0fa00ca0afc3e08174cf7f974a66bdcf05
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before d68eab61944a9b0826fa2e954e42db1aa3201b7a
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before e27c17346628cb56843a83f93ac63c314c00f388
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before 18a84c35842e19cd3c5534d8cee73d31863f696d
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2
Other versions: unaffected
Linux
affected 4.20
unaffected before 4.20
unaffected from 5.10.259 up to and including 5.10.*
unaffected from 5.15.210 up to and including 5.15.*
unaffected from 6.1.176 up to and including 6.1.*
unaffected from 6.6.143 up to and including 6.6.*
unaffected from 6.12.94 up to and including 6.12.*
unaffected from 6.18.36 up to and including 6.18.*
unaffected from 7.0.12 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46320 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46320

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-46320
trivy image --scanners vuln IMAGE | grep CVE-2026-46320

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-46320 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.