Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-46300-Fragnesia---TryHackMe-Lab-Project — The project documents the completion and analysis of the Fragnesia (CVE-2026-46300) TryHackME lab, which demonstrates a Linux kernel page -cache corruption vulnerability capable of achieving local privilege escalation through modification of cached file pages without altering files on disk. | Kitploit
Tools/GitHubGitHub/benedictejepu/cve-2026-46300-fragnesia---tryhackme-lab-project
Privilege EscalationVulnerability AnalysisExploitationLearning & EducationBinary ExploitationLabs & Practice
GitHubbenedictejepu/cve-2026-46300-fragnesia---tryhackme-lab-project

CVE-2026-46300-Fragnesia---TryHackMe-Lab-Project

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

About

The project documents the completion and analysis of the Fragnesia (CVE-2026-46300) TryHackME lab, which demonstrates a Linux kernel page -cache corruption vulnerability capable of achieving local privilege escalation through modification of cached file pages without altering files on disk.

Share
View Repository
12 months agoNot yet reviewed

CVE-2026-46300-Fragnesia---TryHackMe-Lab-Project

The project documents the completion and analysis of the Fragnesia (CVE-2026-46300) TryHackME lab, which demonstrates a Linux kernel page -cache corruption vulnerability capable of achieving local privilege escalation through modification of cached file pages without altering files on disk.

Lab Objectives

. Understand the Fragnesia vulnerability chain. . Analyse Linux page-cache corruption techniques. . Observe privilege escalation from an unprivileged user to host root . Understand the role of:

  • skb_try_coalesce()
  • SKBFL_SHARED_FRAG
  • ESP-in-TCP recieve processing
  • AES-GCM in-place decryption . Validate mitigation and cleanup procedures.

Environment

ComponentDetails
platformTryHackMe
VulnerabilityCVE-2026-46300
OSUbuntu 22.04.5 LTS
KernelLinux 6.8.0-1017-aws
UserKaren
Previlege LevelUnprivileged User

Vulnerability Summary

Fragnesia is a Linux Kernel vulnerability that enables deterministic modification of page-cache-backed file pages through the Esp-in-TCP recieve path.

The vulnerability originates from incorrect handling of shared socket buffer fragments during packet coalescing, allowing controlled byte modifications to cached file contents.

Key Characteristics

Exploitation Flow

stage 1 - page cache Corruption

The exploit was compiled and executed from an unprivileged user account.

root@kitploit:~
cd /home/karen/fragnesia
root@kitploit:~
gcc -02 -w fragnesia.c -o exp ./exp

The exploit modified the cached copy of:

/usr/bin/su

Without altering the file stored on disk

Stage 2 - Namespace Root

The exploit created a user namespace and obtained UID 0 within that namespace.

Verification:

root@kitploit:~
whoami
root

However, attempts to access protected resources failed:

root@kitploit:~
 cat /root/flag.txt
 permision denied

This demonstrated that namespace root does not equate to host root.

Stage 3 - Host Root Escalation

After exiting the namespace shaell:

root@kitploit:~
exit
/usr/bin/su

The corrupted page-cache copy of /usr/bin/su executed attacker-controlled code.

Verification:

root@kitploit:~
whoami
root
root@kitploit:~
id
uid=0(root) gid=0(root)

The process now possessed genuine host-level root privileges.

Flag

THM{fragnesia_skb_coalesce_amnesia}

Verification

To verify that the exploit only affected memory:

root@kitploit:~
sha256sum /usr/bin/su

The hash matched the original binary, comfirming that: . Disk file emained unchangrd. . Only the page-cache copy was modified.

Cleanup

The corrupted page-cache entries were removed using:

root@kitploit:~
sudo sh -c 'echo 3 > /proc/sys/vm/ drop_caches'

After cache eviction, /usr/bin/su returned to normal behavior and required authentication.

Security Lessons Learned

  • Kernel patches can introduce new vulnerabilities within the same subsystem.
  • Page-cache corruption remains a powerful privilege escalation technique.
  • Namespace root and host root are fundamentally different security contexts.
  • Integrity monitoring based solely on disk hashes may fail to detect page-cache attacks.
  • Memory-resident modifications can bypass traditional file integrity controls.

Skills Demonstrated

  • Linux Privilege Escalation
  • Kernel Vulnerability Analysis
  • Page Cache Internals
  • User Namespaces
  • Linux Process Security
  • Exploit Validation
  • Security Mitigation Verification
  • Incident Analysis

References

TryHackMe – Fragnesia (CVE-2026-46300) Linux Kernel Documentation CVE-2026-46300 Research Materials

author

Ejepu Benedict Amaechi Project completed and documented as partt of hands-on cybersecurity training on TryHackMe.

Download Tool
PropertyValue
CVECVE-2026-46300
Subsystemxfrm ESP-in-TCP
Primitive1-byte write
Race Condition RequiredNo
Container Escape potentialYes
TargetLinux Page Cache