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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.4, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-09 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-46320, DEBIAN-CVE-2026-46320, CGA-3f4v-8g6f-2h3h, CGA-4hx2-vpcg-jgg9, CGA-52rg-qhvp-q92w, CGA-85wc-x2cv-vjqg, CGA-hqjg-2g46-w7x2, CGA-qm4m-f2h9-5g99
- Record: https://cvemate.com/vulnerability/CVE-2026-46320 · JSON: https://cvemate.com/vulnerability/CVE-2026-46320/json

## Description

```text
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().
```

## Signals

- CVSS: 7.4 high (v3.1, CVE.org) CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
- EPSS: 0.254%, percentile 18.079%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 173)

- chainguard linux-azure-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-melange (Chainguard): \< 6.18.38-r0
- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.94-1 \| \< 7.0.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-198.208 \| \< 6.8.0-146.146 \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124 \| \< 6.8.0-1066.69 \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1117.124~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 44)

- <https://git.kernel.org/stable/c/8d03e65eb6cfbffec471a6b65416f93679bf3286>
- <https://git.kernel.org/stable/c/f979971835dddbca86cf99e3b2e2b94a408a1ab2>
- <https://git.kernel.org/stable/c/3f52a86a482a69294c50a5a2a097bd6f4104990a>
- <https://git.kernel.org/stable/c/d30aac0fa00ca0afc3e08174cf7f974a66bdcf05>
- <https://git.kernel.org/stable/c/d68eab61944a9b0826fa2e954e42db1aa3201b7a>
- <https://git.kernel.org/stable/c/e27c17346628cb56843a83f93ac63c314c00f388>
- <https://git.kernel.org/stable/c/18a84c35842e19cd3c5534d8cee73d31863f696d>
- <https://git.kernel.org/stable/c/3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2>
- <https://ubuntu.com/security/CVE-2026-46320>
- <https://www.cve.org/CVERecord?id=CVE-2026-46320>
- <https://git.kernel.org/linus/3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2>
- <https://ubuntu.com/security/notices/USN-8566-1>
- <https://ubuntu.com/security/notices/USN-8568-1>
- <https://ubuntu.com/security/notices/USN-8569-1>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8728-1>

---

Data as of 2026-12-05T03:28:55.537Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
