CVE-2026-46320

tap: free page on error paths in tap_get_user_xdp()

HIGH
7.4
CVSS Score
Published: June 9, 2026 at 12:11 PM UTC
Updated: October 19, 2026 at 08:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.4
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.10.2595.11 ≤ v < 5.15.2105.16 ≤ v < 6.1.1766.13 ≤ v < 6.18.366.19 ≤ v < 7.0.126.2 ≤ v < 6.6.1436.7 ≤ v < 6.12.940efac27791ee068075d80f07c55a229b1335ce127.17.1 rc17.1 rc27.1 rc37.1 rc47.1 rc5
Vendor states this is fixed in 18a84c35842e19cd3c5534d8cee73d31863f696d (fixed)
Vendor states this is fixed in 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2 (fixed)
Vendor states this is fixed in 3f52a86a482a69294c50a5a2a097bd6f4104990a (fixed)
Vendor states this is fixed in 8d03e65eb6cfbffec471a6b65416f93679bf3286 (fixed)
Vendor states this is fixed in d30aac0fa00ca0afc3e08174cf7f974a66bdcf05 (fixed)
Vendor states this is fixed in d68eab61944a9b0826fa2e954e42db1aa3201b7a (fixed)
Vendor states this is fixed in e27c17346628cb56843a83f93ac63c314c00f388 (fixed)
Vendor states this is fixed in f979971835dddbca86cf99e3b2e2b94a408a1ab2 (fixed)
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.10.259 (unaffected)
Vendor states this is fixed in 5.15.210 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.94 (unaffected)
Vendor states this is fixed in 6.18.36 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0.12 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.4HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfoCWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card