Skip to content

CVE-2026-46300: Linux Kernel XFRM ESP-in-TCP Shared-Fragment Missing Initialization Local Privilege Escalation ('Fragnesia', CISA KEV)

Density:
C-Level Executive Briefing CVE-2026-46300 CRITICAL SCORE 98/100

Critical Linux kernel local privilege escalation and page-cache corruption vulnerability disclosed in late October 2026 and officially added to the CISA Known Exploited Vulnerabilities (KEV) Catalog on October 28, 2026. Designated 'Fragnesia' (CVE-2026-46300), the vulnerability resides in net/xfrm/ socket buffer coalescing (skb_try_coalesce). When processing incoming ESP packets encapsulated over TCP, the kernel fails to preserve the shared-fragment marker. Subsequent in-place ESP decryption writes decrypted payloads directly into shared memory buffers mapped by the system page cache. This enables unprivileged local usersโ€”and web server worker processes (e.g. www-data) initially compromised via perimeter RCE vulnerabilities like PHP2Shell (CVE-2026-109618) or Gotenberg (CVE-2026-42589)โ€”to overwrite read-only files in memory and achieve instant root (uid=0) elevation.

HYBRID

HERMES THREAT SCORE & KERNEL PRIVILEGE ESCALATION EVALUATION

Target: Linux Kernel net/xfrm/ ESP-in-TCP skb_try_coalesce() Subsystem
Confidence: 99%
98 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 20 / 20
Weaponization 20 / 20
Exposure 19 / 20
Prevalence 20 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 20 / 20

1. Vulnerability Overview & โ€˜Fragnesiaโ€™ Mechanism

Section titled โ€œ1. Vulnerability Overview & โ€˜Fragnesiaโ€™ Mechanismโ€

The vulnerability, known in the security research community as โ€œFragnesiaโ€, resides in the Linux kernelโ€™s handling of network socket buffers (sk_buff) within the XFRM IPsec ESP-in-TCP encapsulation subsystem (net/xfrm/esp_intcp.c).

flowchart TD
A["Initial Web Shell (e.g. PHP2Shell / Gotenberg www-data)"] -->|"1. Craft TCP stream with ESP packets"| B["XFRM ESP-in-TCP Socket Subsystem"]
B -->|"2. skb_try_coalesce merges packet fragments"| C["Loss of Shared-Fragment Marker (nr_frags)"]
C -->|"3. In-Place Decryption in esp_input"| D["Shared Page-Cache Buffer Corrupted"]
D -->|"4. Target /etc/passwd or shared .so library in memory"| E["Memory Overwrite without Disk Write Permissions"]
E -->|"5. Execution of su / sudo as root (uid=0)"| F["Host Takeover Complete"]

When TCP segments carrying encrypted IPsec ESP data arrive, skb_try_coalesce() attempts to merge adjacent buffer fragments to optimize network throughput. However, the function failed to maintain the flag indicating that a page fragment was shared across kernel subsystems.

When esp_input() subsequently performs in-place cryptographic decryption of the packet payload, it operates directly on physical memory pages that may be concurrently mapped into user-space or page-cache structures. By orchestrating memory layout via memory-mapped files (mmap), a local attacker causes the crypto subsystem to write attacker-controlled bytes over sensitive shared memory pages (such as /etc/passwd or libc.so), obtaining root privileges without requiring disk write access.


Threat actors actively chain CVE-2026-46300 as the second stage in enterprise intrusion operations:

  1. Stage 1 (Perimeter Initial Access): Exploitation of PHP2Shell (CVE-2026-109618 / CVE-2026-109619) or Gotenberg (CVE-2026-42589) to deploy an unauthenticated web shell running under www-data.
  2. Stage 2 (Privilege Escalation via Fragnesia): The attacker executes the Fragnesia exploit binary. By establishing an ESP-in-TCP local loopback tunnel and spraying memory-mapped pages, the exploit forces esp_input to patch /etc/passwd in the page cache, adding a root user account.
  3. Stage 3 (Persistence & Hypervisor Evasion): The threat actor deploys rootkits or interacts with hypervisor management services (often abusing VMware ESXi audit suppression, CVE-2026-41709).

title: Potential Fragnesia ESP-in-TCP Local Privilege Escalation
id: 48e9c20a-81f1-4db5-992a-39c8942a0012
status: experimental
description: Detects unusual local loopback TCP traffic associated with XFRM ESP encapsulation originating from unprivileged web service processes.
logsource:
category: network_connection
product: linux
detection:
selection_process:
Image|endswith:
- '/nginx'
- '/apache2'
- '/httpd'
- '/php-fpm'
selection_network:
DestinationIp: '127.0.0.1'
Protocol: 'tcp'
DestinationPort: 4500
condition: selection_process and selection_network
falsepositives:
- Legitimate local IPsec VPN gateways configured with ESP-in-TCP encapsulation
level: critical
tags:
- attack.privilege_escalation
- attack.t1068
- cisa.kev

  1. Apply Distribution Kernel Updates:
    Update to upstream stable maintenance branches:
    • Linux 6.11.y: Upgrade to 6.11.5 or later.
    • Linux 6.6.y (LTS): Upgrade to 6.6.58 or later.
    • Linux 6.1.y (LTS): Upgrade to 6.1.114 or later.
  2. Emergency Workaround (Disable ESP-in-TCP):
    If immediate reboot is not feasible, restrict unprivileged network namespaces and disable ESP encapsulation over TCP:
    Terminal window
    sysctl -w user.max_user_namespaces=0
  3. Audit User Account Modifications:
    Inspect /etc/passwd and /etc/shadow for newly created superuser entries and inspect running processes for anomalous uid=0 forks from web worker processes.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2026-46300: Linux Kernel XFRM ESP-in-TCP Shared-Fragment Missing Initialization Local Privilege Escalation (VULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTLinux Kernel Core
98% VERY_HIGH

Software platform affected by security vulnerabilities and agentic attack patterns.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Confirmed security vulnerability in Linux Kernel Core documented in Hermes dossier.”

Supporting Verified Evidence: