CVE-2026-46320CWE-401

CVE-2026-46320

High · published June 9, 2026

CVSS v3.1
7.4
EPSS
0%
Percentile
15.9
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00253 · 15.9th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2026-06-09T17:16Z
Affected products (12)
ProductVersionsFixed in
linux/linux_kernel≥ 4.20, < 5.10.2595.10.259
linux/linux_kernel≥ 5.11, < 5.15.2105.15.210
linux/linux_kernel≥ 5.16, < 6.1.1766.1.176
linux/linux_kernel≥ 6.2, < 6.6.1436.6.143
linux/linux_kernel≥ 6.7, < 6.12.946.12.94
linux/linux_kernel≥ 6.13, < 6.18.366.18.36
linux/linux_kernel≥ 6.19, < 7.0.127.0.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (9)
EPSS history
Timeline
  • 09 JUN 12:11Z
    tap: free page on error paths in tap_get_user_xdp()
    cvelistv5