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

High 8.8 Published Updated

A memory corruption vulnerability in the Linux kernel's ESP decryption path allows attackers to corrupt shared memory, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-43284?

CVE-2026-43284 is a high-severity memory corruption vulnerability in Linux kernel, published on 8 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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().

Weakness: CWE-123

Which versions are affected by CVE-2026-43284?

It affects 1 product.

Linux distribution packages (40)
kernel AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-core AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-core AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-devel AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-devel-matched AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-modules AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-modules-core AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-modules-extra AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-modules-internal AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-modules-partner AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-uki-virt AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-debug-uki-virt-addons AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-devel AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-devel-matched AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-modules AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-modules-core AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-modules-extra AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-modules-internal AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-modules-partner AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-uki-virt AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-64k-uki-virt-addons AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-abi-stablelists AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-core AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-cross-headers AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-core AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-devel AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-devel-matched AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-modules AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-modules-core AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-modules-extra AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-modules-internal AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-modules-partner AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-uki-virt AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-debug-uki-virt-addons AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-devel AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-devel-matched AlmaLinux:10All versions6.12.0-124.55.3.el10_1
kernel-doc AlmaLinux:10All versions6.12.0-124.55.3.el10_1

Products include Linux kernel.

How do I fix CVE-2026-43284?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-43284 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-43284 exists.

Public exploit code: 1 Metasploit module, 2 Exploit-DB entries and 42 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as ALSA-2026:16195, ALSA-2026:16196, ALSA-2026:16206, ALSA-2026:A004, ALSA-2026:A005, ALSA-2026:A006 and 132 more.

Is CVE-2026-43284 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free