CVE-2026-46322 Details
Description
In the Linux kernel, the following vulnerability has been resolved: tun: free page on build_skb failure in tun_xdp_one() When build_skb() fails in tun_xdp_one(), the function sets ret to -ENOMEM and jumps to the out label, which returns without freeing the page that vhost_net_build_xdp() allocated for the frame. As with the short-frame rejection path, tun_sendmsg() discards the per-buffer error and still returns total_len, so vhost_tx_batch() takes the success path and never frees the page. Each build_skb() failure in a batch leaks one page-frag chunk. Free the page before taking the error path, matching the put_page() the other error exits of tun_xdp_one() already perform.
A memory leak vulnerability has been identified in the Linux kernel's tun driver, specifically within the 'tun_xdp_one' function. This issue arises when the 'build_skb' function fails, as the error handling does not properly free a page allocated for the frame, leading to a leak of one page-frag chunk for each failure in a batch. The vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2638a9c1521905bb5c5d1e95c8fbc09f79148ed7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/26fe549b5192536b6c1c68a2dfdc8c0dcf9fa4a9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4fefc6156a162a9f50035c12091a5e5130c82c6e | kernel.org | Patch |
| https://git.kernel.org/stable/c/60d9c0d6cdde5420d6483c921b16fe5465eb5238 | kernel.org | Patch |
| https://git.kernel.org/stable/c/793385c154771603b8671dd8338927221e9d8d78 | kernel.org | Patch |
| https://git.kernel.org/stable/c/aa308e9dbb9acb17cacdbbce9e4504f69bac8385 | kernel.org | Patch |
| https://git.kernel.org/stable/c/aa8963fdce667a42fb7f0bdd2909fadcab02f9a8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d16e38fac09a47bfcf98c1ad65a1bb53f94540f5 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.20, < 5.10.259 >= 5.11, < 5.15.210 >= 5.16, < 6.1.176 >= 6.2, < 6.6.143 >= 6.7, < 6.12.93 >= 6.13, < 6.18.35 >= 6.19, < 7.0.12 7.1 rc1 7.1 rc2 7.1 rc3 7.1 rc4 7.1 rc5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 8, 2026 | Initial Analysis | [email protected] |
| Jun 19, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 14, 2026 | CVE Modified | kernel.org |
| Jun 9, 2026 | New CVE Received | kernel.org |