CVE-2026-46322

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*

History

23 Jul 2026, 08:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: tun: liberar página en caso de fallo de build_skb() en tun_xdp_one() Cuando build_skb() falla en tun_xdp_one(), la función establece ret en -ENOMEM y salta a la etiqueta out, la cual retorna sin liberar la página que vhost_net_build_xdp() asignó para el frame. Al igual que con la ruta de rechazo de frames cortos, tun_sendmsg() descarta el error por búfer y aún retorna total_len, por lo que vhost_tx_batch() toma la ruta de éxito y nunca libera la página. Cada fallo de build_skb() en un lote fuga un fragmento de página. Liberar la página antes de tomar la ruta de error, coincidiendo con el put_page() que las otras salidas de error de tun_xdp_one() ya realizan.

08 Jul 2026, 16:07

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/2638a9c1521905bb5c5d1e95c8fbc09f79148ed7 - () https://git.kernel.org/stable/c/2638a9c1521905bb5c5d1e95c8fbc09f79148ed7 - Patch
References () https://git.kernel.org/stable/c/26fe549b5192536b6c1c68a2dfdc8c0dcf9fa4a9 - () https://git.kernel.org/stable/c/26fe549b5192536b6c1c68a2dfdc8c0dcf9fa4a9 - Patch
References () https://git.kernel.org/stable/c/4fefc6156a162a9f50035c12091a5e5130c82c6e - () https://git.kernel.org/stable/c/4fefc6156a162a9f50035c12091a5e5130c82c6e - Patch
References () https://git.kernel.org/stable/c/60d9c0d6cdde5420d6483c921b16fe5465eb5238 - () https://git.kernel.org/stable/c/60d9c0d6cdde5420d6483c921b16fe5465eb5238 - Patch
References () https://git.kernel.org/stable/c/793385c154771603b8671dd8338927221e9d8d78 - () https://git.kernel.org/stable/c/793385c154771603b8671dd8338927221e9d8d78 - Patch
References () https://git.kernel.org/stable/c/aa308e9dbb9acb17cacdbbce9e4504f69bac8385 - () https://git.kernel.org/stable/c/aa308e9dbb9acb17cacdbbce9e4504f69bac8385 - Patch
References () https://git.kernel.org/stable/c/aa8963fdce667a42fb7f0bdd2909fadcab02f9a8 - () https://git.kernel.org/stable/c/aa8963fdce667a42fb7f0bdd2909fadcab02f9a8 - Patch
References () https://git.kernel.org/stable/c/d16e38fac09a47bfcf98c1ad65a1bb53f94540f5 - () https://git.kernel.org/stable/c/d16e38fac09a47bfcf98c1ad65a1bb53f94540f5 - Patch
CWE NVD-CWE-noinfo
First Time Linux linux Kernel
Linux

19 Jun 2026, 13:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/2638a9c1521905bb5c5d1e95c8fbc09f79148ed7 -
  • () https://git.kernel.org/stable/c/26fe549b5192536b6c1c68a2dfdc8c0dcf9fa4a9 -
  • () https://git.kernel.org/stable/c/60d9c0d6cdde5420d6483c921b16fe5465eb5238 -
  • () https://git.kernel.org/stable/c/793385c154771603b8671dd8338927221e9d8d78 -

14 Jun 2026, 06:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1

09 Jun 2026, 13:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-09 13:16

Updated : 2026-07-23 08:10


NVD link : CVE-2026-46322

Mitre link : CVE-2026-46322

CVE.ORG link : CVE-2026-46322


JSON object : View

Products Affected

linux

  • linux_kernel