Vulnerabilities

CVE-2026-46322

High 7.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-06-09
Last modified
2026-10-19
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Scored by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Probability of exploitation
0.1 % higher than 3 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel 7.1 Affected
Linux Linux Kernel ≥ 4.20, < 5.10.259 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.210 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.176 Affected
Linux Linux Kernel ≥ 6.13, < 6.18.35 Affected
Linux Linux Kernel ≥ 6.19, < 7.0.12 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.143 Affected
Linux Linux Kernel ≥ 6.7, < 6.12.93 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities