{"id":"CVE-2026-46322","summary":"tun: free page on build_skb failure in tun_xdp_one()","details":"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.","modified":"2026-07-10T03:54:33.296591975Z","published":"2026-06-09T12:11:14.776Z","related":["openSUSE-SU-2026:11014-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46322.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2638a9c1521905bb5c5d1e95c8fbc09f79148ed7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/26fe549b5192536b6c1c68a2dfdc8c0dcf9fa4a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fefc6156a162a9f50035c12091a5e5130c82c6e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60d9c0d6cdde5420d6483c921b16fe5465eb5238"},{"type":"WEB","url":"https://git.kernel.org/stable/c/793385c154771603b8671dd8338927221e9d8d78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa308e9dbb9acb17cacdbbce9e4504f69bac8385"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa8963fdce667a42fb7f0bdd2909fadcab02f9a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d16e38fac09a47bfcf98c1ad65a1bb53f94540f5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46322.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46322"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c"},{"fixed":"26fe549b5192536b6c1c68a2dfdc8c0dcf9fa4a9"},{"fixed":"793385c154771603b8671dd8338927221e9d8d78"},{"fixed":"2638a9c1521905bb5c5d1e95c8fbc09f79148ed7"},{"fixed":"60d9c0d6cdde5420d6483c921b16fe5465eb5238"},{"fixed":"d16e38fac09a47bfcf98c1ad65a1bb53f94540f5"},{"fixed":"aa308e9dbb9acb17cacdbbce9e4504f69bac8385"},{"fixed":"4fefc6156a162a9f50035c12091a5e5130c82c6e"},{"fixed":"aa8963fdce667a42fb7f0bdd2909fadcab02f9a8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46322.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.10.259"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.210"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.176"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.143"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.93"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.35"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46322.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"}]}