{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-46322: tun: free page on build_skb failure in tun_xdp_one()","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-46322","status":"final","version":"1","initial_release_date":"2026-06-09T12:11:14.776Z","current_release_date":"2026-06-14T04:30:17.312Z","revision_history":[{"date":"2026-06-09T12:11:14.776Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: free page on build_skb failure in tun_xdp_one()\n\nWhen build_skb() fails in tun_xdp_one(), the function sets ret to\n-ENOMEM and jumps to the out label, which returns without freeing the\npage that vhost_net_build_xdp() allocated for the frame. As with the\nshort-frame rejection path, tun_sendmsg() discards the per-buffer error\nand still returns total_len, so vhost_tx_batch() takes the success path\nand never frees the page. Each build_skb() failure in a batch leaks one\npage-frag chunk.\n\nFree the page before taking the error path, matching the put_page() the\nother error exits of tun_xdp_one() already perform.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-46322 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-46322"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-46322"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/d16e38fac09a47bfcf98c1ad65a1bb53f94540f5"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/aa308e9dbb9acb17cacdbbce9e4504f69bac8385"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/4fefc6156a162a9f50035c12091a5e5130c82c6e"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/aa8963fdce667a42fb7f0bdd2909fadcab02f9a8"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=043d222f93ab8c76b56a3b315cd8692e35affb6c <d16e38fac09a47bfcf98c1ad65a1bb53f94540f5","product":{"name":"Linux Linux >=043d222f93ab8c76b56a3b315cd8692e35affb6c <d16e38fac09a47bfcf98c1ad65a1bb53f94540f5","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=043d222f93ab8c76b56a3b315cd8692e35affb6c <aa308e9dbb9acb17cacdbbce9e4504f69bac8385","product":{"name":"Linux Linux >=043d222f93ab8c76b56a3b315cd8692e35affb6c <aa308e9dbb9acb17cacdbbce9e4504f69bac8385","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=043d222f93ab8c76b56a3b315cd8692e35affb6c <4fefc6156a162a9f50035c12091a5e5130c82c6e","product":{"name":"Linux Linux >=043d222f93ab8c76b56a3b315cd8692e35affb6c <4fefc6156a162a9f50035c12091a5e5130c82c6e","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=043d222f93ab8c76b56a3b315cd8692e35affb6c <aa8963fdce667a42fb7f0bdd2909fadcab02f9a8","product":{"name":"Linux Linux >=043d222f93ab8c76b56a3b315cd8692e35affb6c <aa8963fdce667a42fb7f0bdd2909fadcab02f9a8","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version","name":"4.20","product":{"name":"Linux Linux 4.20","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.20:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.20:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.93","product":{"name":"Linux Linux 6.12.93","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.20:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.35","product":{"name":"Linux Linux 6.18.35","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.20:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.12","product":{"name":"Linux Linux 7.0.12","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.20:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1-rc6","product":{"name":"Linux Linux 7.1-rc6","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.20:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-46322","title":"tun: free page on build_skb failure in tun_xdp_one()","notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: free page on build_skb failure in tun_xdp_one()\n\nWhen build_skb() fails in tun_xdp_one(), the function sets ret to\n-ENOMEM and jumps to the out label, which returns without freeing the\npage that vhost_net_build_xdp() allocated for the frame. As with the\nshort-frame rejection path, tun_sendmsg() discards the per-buffer error\nand still returns total_len, so vhost_tx_batch() takes the success path\nand never frees the page. Each build_skb() failure in a batch leaks one\npage-frag chunk.\n\nFree the page before taking the error path, matching the put_page() the\nother error exits of tun_xdp_one() already perform.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5"],"fixed":["CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9","CSAFPID-10"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 4fefc6156a162a9f50035c12091a5e5130c82c6e, 6.12.93, 6.18.35, 7.0.12, 7.1-rc6, aa308e9dbb9acb17cacdbbce9e4504f69bac8385, aa8963fdce667a42fb7f0bdd2909fadcab02f9a8, d16e38fac09a47bfcf98c1ad65a1bb53f94540f5.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5"]}]}]}