CVE 7.1 HIGH

tun: free page on build_skb failure in tun_xdp_one()_CVE-2026-46322

7.1 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Description

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

tun: free page on build_skb failure in tun_xdp_one()

When build_skb() fails in tun_xdp_one(), the function sets ret to
-ENOMEM and jumps to the out label, which returns without freeing the
page that vhost_net_build_xdp() allocated for the frame. As with the
short-frame rejection path, tun_sendmsg() discards the per-buffer error
and still returns total_len, so vhost_tx_batch() takes the success path
and never frees the page. Each build_skb() failure in a batch leaks one
page-frag chunk.

Free the page before taking the error path, matching the put_page() the
other error exits of tun_xdp_one() already perform.

Basic Information

ID CVE-2026-46322
Source Linux
Published Jun 9, 2026 at 12:11
Modified Jun 14, 2026 at 04:30

Affected Product

Vendor Linux
Product Linux
Version 043d222f93ab8c76b56a3b315cd8692e35affb6c
Affected Versions Linux Linux 043d222f93ab8c76b56a3b315cd8692e35affb6c
Linux Linux 043d222f93ab8c76b56a3b315cd8692e35affb6c
Linux Linux 043d222f93ab8c76b56a3b315cd8692e35affb6c
Linux Linux 043d222f93ab8c76b56a3b315cd8692e35affb6c
Linux Linux 4.20

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.