CVE-2026-46322CWE-401

CVE-2026-46322

High · published June 9, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
2.6
In the wild
Unconfirmed
What it is

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

tun: free page on build_skb failure in tun_xdp_one()

When build_skb() fails in tun_xdp_one(), the function sets ret to

-ENOMEM and jumps to the out label, which returns without freeing the

page that vhost_net_build_xdp() allocated for the frame. As with the

short-frame rejection path, tun_sendmsg() discards the per-buffer error

and still returns total_len, so vhost_tx_batch() takes the success path

and never frees the page. Each build_skb() failure in a batch leaks one

page-frag chunk.

Free the page before taking the error path, matching the put_page() the

other error exits of tun_xdp_one() already perform.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00133 · 2.6th 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.936.12.93
linux/linux_kernel≥ 6.13, < 6.18.356.18.35
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
    tun: free page on build_skb failure in tun_xdp_one()
    cvelistv5