{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-46321: tun: free page on short-frame rejection in tun_xdp_one()","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-46321","status":"final","version":"1","initial_release_date":"2026-06-09T12:11:13.872Z","current_release_date":"2026-06-14T04:30:16.094Z","revision_history":[{"date":"2026-06-09T12:11:13.872Z","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 short-frame rejection in tun_xdp_one()\n\ntun_xdp_one() returns -EINVAL on a frame shorter than ETH_HLEN without\nfreeing the page that vhost_net_build_xdp() allocated for it.\ntun_sendmsg() discards that -EINVAL and still returns total_len, so\nvhost_tx_batch() takes the success path and never frees the page; each\nshort frame in a batch leaks one page-frag chunk.\n\nA local process that can open /dev/net/tun and /dev/vhost-net can hit\nthis path: it attaches a tun/tap device as the vhost-net backend and\nfeeds TX descriptors whose length minus the virtio-net header is below\nETH_HLEN. Each kick leaks the page-frag chunks for that batch, and a\ntight submission loop exhausts host memory and triggers an OOM panic.\nFree the page before returning -EINVAL, matching the XDP-program error\npath in the same function.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-46321 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-46321"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-46321"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/69863ff2720a0e9871f1a5710f2a33a94217fee0"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/37a1c268c2c8090bf4dc552d732bd23ba36f8eb0"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/98c67be9eb9de72465a071949e84a3cdb8fab5a3"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/f4feb1e20058e407cb00f45aff47f5b7e19a6bbf"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=049584807f1d797fc3078b68035450a9769eb5c3 <69863ff2720a0e9871f1a5710f2a33a94217fee0","product":{"name":"Linux Linux >=049584807f1d797fc3078b68035450a9769eb5c3 <69863ff2720a0e9871f1a5710f2a33a94217fee0","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=049584807f1d797fc3078b68035450a9769eb5c3 <37a1c268c2c8090bf4dc552d732bd23ba36f8eb0","product":{"name":"Linux Linux >=049584807f1d797fc3078b68035450a9769eb5c3 <37a1c268c2c8090bf4dc552d732bd23ba36f8eb0","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=049584807f1d797fc3078b68035450a9769eb5c3 <98c67be9eb9de72465a071949e84a3cdb8fab5a3","product":{"name":"Linux Linux >=049584807f1d797fc3078b68035450a9769eb5c3 <98c67be9eb9de72465a071949e84a3cdb8fab5a3","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=049584807f1d797fc3078b68035450a9769eb5c3 <f4feb1e20058e407cb00f45aff47f5b7e19a6bbf","product":{"name":"Linux Linux >=049584807f1d797fc3078b68035450a9769eb5c3 <f4feb1e20058e407cb00f45aff47f5b7e19a6bbf","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"32b0aaba5dbc85816898167d9b5d45a22eae82e9","product":{"name":"Linux Linux 32b0aaba5dbc85816898167d9b5d45a22eae82e9","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6100e0237204890269e3f934acfc50d35fd6f319","product":{"name":"Linux Linux 6100e0237204890269e3f934acfc50d35fd6f319","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2","product":{"name":"Linux Linux 589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146","product":{"name":"Linux Linux ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"d5ad89b7d01ed4e66fd04734fc63d6e78536692a","product":{"name":"Linux Linux d5ad89b7d01ed4e66fd04734fc63d6e78536692a","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb","product":{"name":"Linux Linux a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"8418f55302fa1d2eeb73e16e345167e545c598a5","product":{"name":"Linux Linux 8418f55302fa1d2eeb73e16e345167e545c598a5","product_id":"CSAFPID-11","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5.4.281 <5.5","product":{"name":"Linux Linux >=5.4.281 <5.5","product_id":"CSAFPID-12","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5.10.223 <5.11","product":{"name":"Linux Linux >=5.10.223 <5.11","product_id":"CSAFPID-13","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5.15.164 <5.16","product":{"name":"Linux Linux >=5.15.164 <5.16","product_id":"CSAFPID-14","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=6.1.102 <6.2","product":{"name":"Linux Linux >=6.1.102 <6.2","product_id":"CSAFPID-15","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=6.6.43 <6.7","product":{"name":"Linux Linux >=6.6.43 <6.7","product_id":"CSAFPID-16","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=6.9.12 <6.10","product":{"name":"Linux Linux >=6.9.12 <6.10","product_id":"CSAFPID-17","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=6.10.2 <6.11","product":{"name":"Linux Linux >=6.10.2 <6.11","product_id":"CSAFPID-18","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":"6.11","product":{"name":"Linux Linux 6.11","product_id":"CSAFPID-19","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.11:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-20","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.11:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.93","product":{"name":"Linux Linux 6.12.93","product_id":"CSAFPID-21","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.11:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.35","product":{"name":"Linux Linux 6.18.35","product_id":"CSAFPID-22","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.11:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.12","product":{"name":"Linux Linux 7.0.12","product_id":"CSAFPID-23","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.11:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1-rc6","product":{"name":"Linux Linux 7.1-rc6","product_id":"CSAFPID-24","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:6.11:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-46321","title":"tun: free page on short-frame rejection in tun_xdp_one()","notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: free page on short-frame rejection in tun_xdp_one()\n\ntun_xdp_one() returns -EINVAL on a frame shorter than ETH_HLEN without\nfreeing the page that vhost_net_build_xdp() allocated for it.\ntun_sendmsg() discards that -EINVAL and still returns total_len, so\nvhost_tx_batch() takes the success path and never frees the page; each\nshort frame in a batch leaks one page-frag chunk.\n\nA local process that can open /dev/net/tun and /dev/vhost-net can hit\nthis path: it attaches a tun/tap device as the vhost-net backend and\nfeeds TX descriptors whose length minus the virtio-net header is below\nETH_HLEN. Each kick leaks the page-frag chunks for that batch, and a\ntight submission loop exhausts host memory and triggers an OOM panic.\nFree the page before returning -EINVAL, matching the XDP-program error\npath in the same function.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9","CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15","CSAFPID-16","CSAFPID-17","CSAFPID-18","CSAFPID-19"],"fixed":["CSAFPID-20","CSAFPID-21","CSAFPID-22","CSAFPID-23","CSAFPID-24"]},"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","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9","CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15","CSAFPID-16","CSAFPID-17","CSAFPID-18","CSAFPID-19"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 37a1c268c2c8090bf4dc552d732bd23ba36f8eb0, 5.5, 5.11, 5.16, 6.2, 6.7, 6.10, 6.11, 6.12.93, 6.18.35, 69863ff2720a0e9871f1a5710f2a33a94217fee0, 7.0.12, 7.1-rc6, 98c67be9eb9de72465a071949e84a3cdb8fab5a3, f4feb1e20058e407cb00f45aff47f5b7e19a6bbf.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9","CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15","CSAFPID-16","CSAFPID-17","CSAFPID-18","CSAFPID-19"]}]}]}