CVE-2026-98368: esp: downgrade zerocopy managed frags before mutating skb frags
esp: downgrade zerocopy managed frags before mutating skb frags
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.158.1-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.190-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.113-1~deb12u1 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1 - Compensating control
Call skb_zcopy_downgrade_managed() before ESP mutates the skb frag array on the out-of-place output path, so existing frags receive real references and SKBFL_MANAGED_FRAG_REFS is cleared.
Event History
Frequently Asked Questions
Which traffic path is exposed to this issue?
The issue is in the ESP out-of-place output path, where esp->inplace is false, and applies when the skb contains zerocopy managed fragments marked SKBFL_MANAGED_FRAG_REFS.
What are the operational consequences if the affected path is used?
The source scatterlist cleanup can drop references to ubuf-owned pinned payload pages, causing a use-after-free while those pages remain pinned. The path can also leak the ESP destination x->xfrag page for each packet processed.
Is the in-place ESP output path identified as affected?
The provided information specifically identifies the out-of-place path. It does not identify the path where esp->inplace is true as affected.