CVE-2026-46320: tap: free page on error paths in tap_get_user_xdp()

Published Jun 9, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

tap: free page on error paths in tapgetuserxdp()

tapgetuserxdp() rejects a frame shorter than ETHHLEN with -EINVAL, and returns -ENOMEM when buildskb() fails. Both paths jump to the err label without freeing the page that vhostnetbuildxdp() allocated for the frame. tapsendmsg() discards the per-buffer return value and always returns 0, so vhosttxbatch() 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 tunxdpone().

Affected Software

14 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.141.1-1<6.6.143.1-1
6.6.143.1-1
Linux Linux kernel>=4.20<5.10.259
Linux Linux kernel>=5.11<5.15.210
Linux Linux kernel>=5.16<6.1.176
Linux Linux kernel>=6.2<6.6.143
Linux Linux kernel>=6.7<6.12.94
Linux Linux kernel>=6.13<6.18.36
Linux Linux kernel>=6.19<7.0.12
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5

Event History

Jun 9, 2026
CVE Published
via MITRE·12:11 PM
Data Sourced
via MITRE·12:11 PM
DescriptionSeverity
Data Sourced
via NVD·01:16 PM
RemedyDescriptionSeverityAffected Software
Jun 10, 2026
Data Sourced
via Microsoft·08:06 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:06 AM
Affected Software
Updated
via Microsoft·08:06 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-46320?

CVE-2026-46320 has a severity rating of 7.4, categorized as high.

2

How do I fix CVE-2026-46320?

To fix CVE-2026-46320, update your Linux kernel to the latest version that includes the patch for this vulnerability.

3

What systems are affected by CVE-2026-46320?

CVE-2026-46320 affects Linux kernel versions prior to the fix implemented in subsequent releases.

4

What type of vulnerability is CVE-2026-46320?

CVE-2026-46320 is a memory management vulnerability due to improper handling of error paths in the tap_get_user_xdp function.

5

What are the potential impacts of CVE-2026-46320?

The potential impact of CVE-2026-46320 includes denial of service, as the vulnerability could allow for resource exhaustion from not freeing allocated memory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203