CVE-2026-46320 Details
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 freeing the page that vhost_net_build_xdp() allocated for the frame. tap_sendmsg() discards the per-buffer return value and always returns 0, so vhost_tx_batch() takes the success path and never frees the page; each rejected frame in a batch leaks one page-frag chunk. Free the page on both error paths, before the skb is built. This is the tap counterpart of the same leak in tun_xdp_one().
A memory leak vulnerability has been identified in the Linux kernel tap driver, specifically in the handling of XDP (eXpress Data Path) frames. The issue arises in the 'tap_get_user_xdp()' function, which fails to free a page allocated for a frame by 'vhost_net_build_xdp()' when an error occurs. This oversight leads to a leak of one page-frag chunk for each rejected frame in a batch. The vulnerability has been addressed by modifying the error handling to free the allocated page before exiting the function.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version can be found in the Linux kernel documentation.
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/18a84c35842e19cd3c5534d8cee73d31863f696d | kernel.org | Patch |
| https://git.kernel.org/stable/c/3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3f52a86a482a69294c50a5a2a097bd6f4104990a | kernel.org | Patch |
| https://git.kernel.org/stable/c/8d03e65eb6cfbffec471a6b65416f93679bf3286 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d30aac0fa00ca0afc3e08174cf7f974a66bdcf05 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d68eab61944a9b0826fa2e954e42db1aa3201b7a | kernel.org | Patch |
| https://git.kernel.org/stable/c/e27c17346628cb56843a83f93ac63c314c00f388 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f979971835dddbca86cf99e3b2e2b94a408a1ab2 | 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.94 >= 6.13, < 6.18.36 >= 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 |