# CVE-2026-46320: tap: free page on error paths in tap\_get\_user\_xdp()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.42% (percentile 28, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-06-09T12:11:12.882Z
- **Modified:** 2026-10-19T20:18:42.810Z

## Who should check

- Anyone running Linux \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 8d03e65eb6cfbffec471a6b65416f93679bf3286; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< f979971835dddbca86cf99e3b2e2b94a408a1ab2; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 3f52a86a482a69294c50a5a2a097bd6f4104990a; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< d30aac0fa00ca0afc3e08174cf7f974a66bdcf05; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< d68eab61944a9b0826fa2e954e42db1aa3201b7a; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< e27c17346628cb56843a83f93ac63c314c00f388; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 18a84c35842e19cd3c5534d8cee73d31863f696d; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2
- Anyone running Linux 4.20

## 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().

## Affected and fixed versions

- Linux: \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 8d03e65eb6cfbffec471a6b65416f93679bf3286; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< f979971835dddbca86cf99e3b2e2b94a408a1ab2; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 3f52a86a482a69294c50a5a2a097bd6f4104990a; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< d30aac0fa00ca0afc3e08174cf7f974a66bdcf05; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< d68eab61944a9b0826fa2e954e42db1aa3201b7a; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< e27c17346628cb56843a83f93ac63c314c00f388; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 18a84c35842e19cd3c5534d8cee73d31863f696d; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2 (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- Upgrade Linux to 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46320. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46320.md
Affected: Linux >= 0efac27791ee068075d80f07c55a229b1335ce12, < 8d03e65eb6cfbffec471a6b65416f93679bf3286; >= 0efac27791ee068075d80f07c55a229b1335ce12, < f979971835dddbca86cf99e3b2e2b94a408a1ab2; >= 0efac27791ee068075d80f07c55a229b1335ce12, < 3f52a86a482a69294c50a5a2a097bd6f4104990a; >= 0efac27791ee068075d80f0…
Fixed in: Linux 8d03e65eb6cfbffec471a6b65416f93679bf3286, Linux 3f52a86a482a69294c50a5a2a097bd6f4104990a, Linux 18a84c35842e19cd3c5534d8cee73d31863f696d, Linux 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46320 being exploited?

There is no confirmed exploitation: CVE-2026-46320 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46320?

High: CVSS 7.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46320?

Linux \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 8d03e65eb6cfbffec471a6b65416f93679bf3286; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< f979971835dddbca86cf99e3b2e2b94a408a1ab2; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 3f52a86a482a69294c50a5a2a097bd6f4104990a; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< d30aac0fa00ca0afc3e08174cf7f974a66bdcf05; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< d68eab61944a9b0826fa2e954e42db1aa3201b7a; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< e27c17346628cb56843a83f93ac63c314c00f388; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 18a84c35842e19cd3c5534d8cee73d31863f696d; \>= 0efac27791ee068075d80f07c55a229b1335ce12, \< 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2; Linux 4.20.

### Is there a fix for CVE-2026-46320?

Yes. Fixed in Linux 8d03e65eb6cfbffec471a6b65416f93679bf3286, Linux 3f52a86a482a69294c50a5a2a097bd6f4104990a, Linux 18a84c35842e19cd3c5534d8cee73d31863f696d, Linux 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2. Upgrade Linux to 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2 or later.

### How do I check if I'm affected by CVE-2026-46320?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8d03e65eb6cfbffec471a6b65416f93679bf3286>
- patch: <https://git.kernel.org/stable/c/f979971835dddbca86cf99e3b2e2b94a408a1ab2>
- patch: <https://git.kernel.org/stable/c/3f52a86a482a69294c50a5a2a097bd6f4104990a>
- patch: <https://git.kernel.org/stable/c/d30aac0fa00ca0afc3e08174cf7f974a66bdcf05>
- patch: <https://git.kernel.org/stable/c/d68eab61944a9b0826fa2e954e42db1aa3201b7a>
- patch: <https://git.kernel.org/stable/c/e27c17346628cb56843a83f93ac63c314c00f388>
- patch: <https://git.kernel.org/stable/c/18a84c35842e19cd3c5534d8cee73d31863f696d>
- patch: <https://git.kernel.org/stable/c/3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46320>

HTML: <https://flawdb.com/CVE-2026-46320> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46320>
