{"id":79513,"date":"2026-06-09T15:41:12","date_gmt":"2026-06-09T12:11:12","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-46320-tap-free-page-on-error-paths-in-tap_get_user_xdp\/"},"modified":"2026-06-09T15:41:12","modified_gmt":"2026-06-09T12:11:12","slug":"cve-2026-46320-tap-free-page-on-error-paths-in-tap_get_user_xdp","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-46320-tap-free-page-on-error-paths-in-tap_get_user_xdp\/","title":{"rendered":"CVE-2026-46320 &#8211; tap: free page on error paths in tap_get_user_xdp()"},"content":{"rendered":"<p>CVE ID :CVE-2026-46320<\/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>tap: free page on error paths in tap_get_user_xdp()<\/p>\n<p>tap_get_user_xdp() rejects a frame shorter than ETH_HLEN with -EINVAL,<br \/>\nand returns -ENOMEM when build_skb() fails. Both paths jump to the err<br \/>\nlabel without freeing the page that vhost_net_build_xdp() allocated for<br \/>\nthe frame. tap_sendmsg() discards the per-buffer return value and always<br \/>\nreturns 0, so vhost_tx_batch() takes the success path and never frees<br \/>\nthe page; each rejected frame in a batch leaks one page-frag chunk.<\/p>\n<p>Free the page on both error paths, before the skb is built. This is the<br \/>\ntap counterpart of the same leak in tun_xdp_one().<\/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-46320 Published : June 9, 2026, 12:11 p.m. | 24\u00a0minutes ago Description :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 &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-79513","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79513","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=79513"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79513\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}