CVEvulnerability

CVE-2026-46322

7.1 HIGH Published 2026-06-09 Modified 2026-10-19 Official page ↗
Status
Modified
Published
2026-06-09
Last modified
2026-10-19
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Weaknesses
CWE-401

Description

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.

Affected configurations

• linux linux kernel (>= 4.20 < 5.10.259) • linux linux kernel (>= 5.11 < 5.15.210) • linux linux kernel (>= 5.16 < 6.1.176) • linux linux kernel (>= 6.2 < 6.6.143) • linux linux kernel (>= 6.7 < 6.12.93) • linux linux kernel (>= 6.13 < 6.18.35) • linux linux kernel (>= 6.19 < 7.0.12) • linux linux kernel 7.1

Related

Weakness · CWE (1)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness

References