{"id":79512,"date":"2026-06-09T15:41:13","date_gmt":"2026-06-09T12:11:13","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-46321-tun-free-page-on-short-frame-rejection-in-tun_xdp_one\/"},"modified":"2026-06-09T15:41:13","modified_gmt":"2026-06-09T12:11:13","slug":"cve-2026-46321-tun-free-page-on-short-frame-rejection-in-tun_xdp_one","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-46321-tun-free-page-on-short-frame-rejection-in-tun_xdp_one\/","title":{"rendered":"CVE-2026-46321 &#8211; tun: free page on short-frame rejection in tun_xdp_one()"},"content":{"rendered":"<p>CVE ID :CVE-2026-46321<\/p>\n<p>  Published : June 9, 2026, 12:11 p.m. | 24\u00a0minutes ago<\/p>\n<p>  Description :In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tun: free page on short-frame rejection in tun_xdp_one()<\/p>\n<p>tun_xdp_one() returns -EINVAL on a frame shorter than ETH_HLEN without<br \/>\nfreeing the page that vhost_net_build_xdp() allocated for it.<br \/>\ntun_sendmsg() discards that -EINVAL and still returns total_len, so<br \/>\nvhost_tx_batch() takes the success path and never frees the page; each<br \/>\nshort frame in a batch leaks one page-frag chunk.<\/p>\n<p>A local process that can open \/dev\/net\/tun and \/dev\/vhost-net can hit<br \/>\nthis path: it attaches a tun\/tap device as the vhost-net backend and<br \/>\nfeeds TX descriptors whose length minus the virtio-net header is below<br \/>\nETH_HLEN. Each kick leaks the page-frag chunks for that batch, and a<br \/>\ntight submission loop exhausts host memory and triggers an OOM panic.<br \/>\nFree the page before returning -EINVAL, matching the XDP-program error<br \/>\npath in the same function.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-46321 Published : June 9, 2026, 12:11 p.m. | 24\u00a0minutes ago Description :In the Linux kernel, the following vulnerability has been resolved: tun: free page on short-frame rejection in tun_xdp_one() tun_xdp_one() returns -EINVAL on a frame shorter than ETH_HLEN without freeing the page that vhost_net_build_xdp() allocated for it. tun_sendmsg() discards that -EINVAL and &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79512","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79512"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79512\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}