CVE-2026-43284
JSON

8.8high

xfrm: esp: avoid in-place decrypt on shared skb frags

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
99.2% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: esp: avoid in-place decrypt on shared skb frags MSG_SPLICE_PAGES can attach pages from a pipe directly to an skb. TCP marks such skbs with SKBFL_SHARED_FRAG after skb_splice_from_iter(), so later paths that may modify packet data can first make a private copy. The IPv4/IPv6 datagram append paths did not set this flag when splicing pages into UDP skbs. That leaves an ESP-in-UDP packet made from shared pipe pages looking like an ordinary uncloned nonlinear skb. ESP input then takes the no-COW fast path for uncloned skbs without a frag_list and decrypts in place over data that is not owned privately by the skb. Mark IPv4/IPv6 datagram splice frags with SKBFL_SHARED_FRAG, matching TCP. Also make ESP input fall back to skb_cow_data() when the flag is present, so ESP does not decrypt externally backed frags in place. Private nonlinear skb frags still use the existing fast path. This intentionally does not change ESP output. In esp_output_head(), the path that appends the ESP trailer to existing skb tailroom without calling skb_cow_data() is not reachable for nonlinear skbs: skb_tailroom() returns zero when skb->data_len is nonzero, while ESP tailen is positive. Thus ESP output will either use the separate destination-frag path or fall back to skb_cow_data().

Affected

Product or packageVersionsReported by
Linux Linuxfrom cac2661c53f35cbe651bef9b07026a5a05ab8ce0 before a6cb440f274a22456ef3e86b457344f1678f38f9, from cac2661c53f35cbe651bef9b07026a5a05ab8ce0 before ab8b995323e5237041472d07e5055f5f7dcdf15b, from cac2661c53f35cbe651bef9b07026a5a05ab8ce0 before fe785bb3a8096dffcc4048a85cd0c83337eeecad, from cac2661c53f35cbe651bef9b07026a5a05ab8ce0 before 5d55c7336f8032d434adcc5fab987ccc93a44aec, from cac2661c53f35cbe651bef9b07026a5a05ab8ce0 before 8253aab4659ca16116b522203c2a6b18dccacea7, from cac2661c53f35cbe651bef9b07026a5a05ab8ce0 before 50ed1e7873100f77abad20fd31c51029bc49cd03, from cac2661c53f35cbe651bef9b07026a5a05ab8ce0 before b54edf1e9a3fd3491bdcb82a21f8d21315271e0d, from cac2661c53f35cbe651bef9b07026a5a05ab8ce0 before 71a1d9d985d26716f74d21f18ee8cac821b06e97 and 3 more
Not affected: before 4.11, from 5.10.255 up to 5.10.*, from 5.15.205 up to 5.15.*, from 5.15.206 up to 5.15.*, from 6.1.171 up to 6.1.*, from 6.1.172 up to 6.1.*
CVE List
kernelNot specified
Not affected: from 0:6.12.0-211.7.el10nv before *, from 0:6.12.0-231.12.el10nv before *, from 0:6.12.0-124.56.1.el10_1 before *, from 0:6.12.0-211.16.1.el10_2 before *, from 0:6.12.0-211.7.3.el10_2 before *, from 0:6.12.0-55.73.1.el10_0 before *
CVE List
kernel-rtNot specified
Not affected: from 0:4.18.0-553.124.1.rt7.465.el8_10 before *, from 0:5.14.0-70.179.1.rt21.251.el9_0 before *, from 0:5.14.0-284.170.1.rt14.455.el9_2 before *
CVE List
kpatch-patchNot specifiedCVE List
rhcosNot specified
Not affected: from 412.86.202605111404-0 before *, from 412.86.202605271418-0 before *, from 413.92.202606160406-0 before *, from 414.92.202605111427-0 before *, from 415.92.202606030318-0 before *, from 416.94.202605101426-0 before *
CVE List
linux linux_kernelfrom 4.11 before 5.10.255, from 5.12 before 5.15.205, from 5.16 before 6.1.171, from 6.2 before 6.6.138, from 6.7 before 6.12.87, from 6.13 before 6.18.28, from 7.0 before 7.0.5NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
redhat-SADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-123

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: xfrm: esp: avoid in-place decrypt on shared skb frags MSG_SPLICE_PAGES can attach pages from a pipe directly to an skb. TCP marks such skbs with SKBFL_SHARED_FRAG after skb_splice_from_iter(), so later paths that may modify packet data can first make a private copy. The IPv4/IPv6 datagram append paths did not set this flag when splicing pages into UDP skbs. That leaves an ESP-in-UDP packet made from shared pipe pages looking like an ordinary uncloned nonlinear skb. ESP input then takes the no-COW fast path for uncloned skbs without a frag_list and decrypts in place over data that is not owned privately by the skb. Mark IPv4/IPv6 datagram splice frags with SKBFL_SHARED_FRAG, matching TCP. Also make ESP input fall back to skb_cow_data() when the flag is present, so ESP does not decrypt externally backed frags in place. Private nonlinear skb frags still use the existing fast path. This intentionally does not change ESP output. In esp_output_head(), the path that appends the ESP trailer to existing skb tailroom without calling skb_cow_data() is not reachable for nonlinear skbs: skb_tailroom() returns zero when skb->data_len is nonzero, while ESP tailen is positive. Thus ESP output will either use the separate destination-frag path or fall back to skb_cow_data().

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xfrm: esp: evitar el descifrado in situ en fragmentos de skb compartidos MSG_SPLICE_PAGES puede adjuntar páginas de una tubería directamente a un skb. TCP marca dichos skbs con SKBFL_SHARED_FRAG después de skb_splice_from_iter(), para que rutas posteriores que puedan modificar datos de paquetes puedan primero hacer una copia privada. Las rutas de adición de datagramas IPv4/IPv6 no establecían esta bandera al empalmar páginas en skbs UDP. Eso deja un paquete ESP-en-UDP hecho de páginas de tubería compartidas pareciendo un skb no lineal no clonado ordinario. La entrada ESP entonces toma la ruta rápida sin COW para skbs no clonados sin una frag_list y descifra in situ sobre datos que no son propiedad privada del skb. Marcar los fragmentos de empalme de datagramas IPv4/IPv6 con SKBFL_SHARED_FRAG, coincidiendo con TCP. También hacer que la entrada ESP recurra a skb_cow_data() cuando la bandera esté presente, para que ESP no descifre fragmentos respaldados externamente in situ. Los fragmentos de skb no lineales privados todavía usan la ruta rápida existente. Esto intencionalmente no cambia la salida ESP. En esp_output_head(), la ruta que añade el tráiler ESP al espacio de cola de skb existente sin llamar a skb_cow_data() no es accesible para skbs no lineales: skb_tailroom() devuelve cero cuando skb -> data_len no es cero, mientras que ESP tailen es positivo. Por lo tanto, la salida ESP usará la ruta separada de fragmentos de destino o recurrirá a skb_cow_data().

References

https://git.kernel.org/stable/c/a6cb440f274a22456ef3e86b457344f1678f38f9patch
https://git.kernel.org/stable/c/ab8b995323e5237041472d07e5055f5f7dcdf15bpatch
https://git.kernel.org/stable/c/fe785bb3a8096dffcc4048a85cd0c83337eeecad
https://git.kernel.org/stable/c/5d55c7336f8032d434adcc5fab987ccc93a44aecpatch
https://git.kernel.org/stable/c/8253aab4659ca16116b522203c2a6b18dccacea7
https://git.kernel.org/stable/c/50ed1e7873100f77abad20fd31c51029bc49cd03patch
https://git.kernel.org/stable/c/b54edf1e9a3fd3491bdcb82a21f8d21315271e0dpatch
https://git.kernel.org/stable/c/71a1d9d985d26716f74d21f18ee8cac821b06e97patch
https://git.kernel.org/stable/c/52646cbd00e765a6db9c3afe9535f26218276034patch
https://git.kernel.org/stable/c/f4c50a4034e62ab75f1d5cdd191dd5f9c77fdff4
http://www.openwall.com/lists/oss-security/2026/05/08/7mailing-list
http://www.openwall.com/lists/oss-security/2026/05/13/6

Sources

SourceRecordLicence
CVE ListCVE-2026-43284 changed 2026-10-15CVE Terms of Use
NVDCVE-2026-43284 changed 2026-11-11Public domain