tun: free page on short-frame rejection in tun_xdp_one()
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: tun: free page on short-frame rejection in tun_xdp_one() tun_xdp_one() returns -EINVAL on a frame shorter than ETH_HLEN without freeing the page that vhost_net_build_xdp() allocated for it. tun_sendmsg() discards that -EINVAL and still returns total_len, so vhost_tx_batch() takes the success path and never frees the page; each short frame in a batch leaks one page-frag chunk. A local process that can open /dev/net/tun and /dev/vhost-net can hit this path: it attaches a tun/tap device as the vhost-net backend and feeds TX descriptors whose length minus the virtio-net header is below ETH_HLEN. Each kick leaks the page-frag chunks for that batch, and a tight submission loop exhausts host memory and triggers an OOM panic. Free the page before returning -EINVAL, matching the XDP-program error path in the same function.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.223 to before 5.10.259; 5.15.164 to before 5.15.210; 6.1.102 to before 6.1.176; 6.6.43 to before 6.6.143; 5.4.281 to before 5.5; 6.9.12 to before 6.10; 6.10.2 to before 6.11 | 5.10.259, 5.15.210, 6.1.176, 6.6.143, 5.5, 6.10, 6.11 | Patch available | CNA |
| Linux | Linux | 6.11 and later | 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.223 to before 5.10.259; 5.15.164 to before 5.15.210; 6.1.102 to before 6.1.176; 6.6.43 to before 6.6.143; 5.4.281 to before 5.5; 6.9.12 to before 6.10; 6.10.2 to before 6.11 Fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 5.5, 6.10, 6.11 Patch available CNA
- Linux VendorLinux Affected 6.11 and later Fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1 Patch available CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4.281 to before 5.5; 5.10.223 to before 5.10.259; 5.15.164 to before 5.15.210; 6.1.102 to before 6.1.176; 6.6.43 to before 6.6.143; 6.9.12 to before 6.10; 6.10.2 to before 6.12.93; 6.13 to before 6.18.35; 6.19 to before 7.0.12 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | 7.1 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* | 7.1 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* | 7.1 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* | 7.1 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* | 7.1 rc5 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.4.281 to before 5.5; 5.10.223 to before 5.10.259; 5.15.164 to before 5.15.210; 6.1.102 to before 6.1.176; 6.6.43 to before 6.6.143; 6.9.12 to before 6.10; 6.10.2 to before 6.12.93; 6.13 to before 6.18.35; 6.19 to before 7.0.12 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* Versions 7.1 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* Versions 7.1 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* Versions 7.1 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* Versions 7.1 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* Versions 7.1 rc5 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 5.5, 6.10, 6.11
- Fix · CNA Linux (Linux) Fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
Not affected: 3 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46321
- 2026-10-03 Alias added: GHSA-3qqh-vm6g-ghw6
References
Patch 8
- https://git.kernel.org/stable/c/0a6f46a9332ad6958992d64d3b3a81a80b2ca940
- https://git.kernel.org/stable/c/0e8211fcf9426f5adddf32516ba0f400ceb9544d
- https://git.kernel.org/stable/c/e915445942af6dcea628bf66d6241641201a0c41
- https://git.kernel.org/stable/c/5b34f9e4fe2f203724a6e893d6df0316b9670057
- https://git.kernel.org/stable/c/69863ff2720a0e9871f1a5710f2a33a94217fee0
- https://git.kernel.org/stable/c/37a1c268c2c8090bf4dc552d732bd23ba36f8eb0
- https://git.kernel.org/stable/c/98c67be9eb9de72465a071949e84a3cdb8fab5a3
- https://git.kernel.org/stable/c/f4feb1e20058e407cb00f45aff47f5b7e19a6bbf
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-46321 · CVE Program
- CVE-2026-46321 · NVD
- FIRST EPSS
- GHSA-3qqh-vm6g-ghw6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-46321 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences