
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.
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.
. 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:
| Component | Details |
|---|---|
| platform | TryHackMe |
| Vulnerability | CVE-2026-46300 |
| OS | Ubuntu 22.04.5 LTS |
| Kernel | Linux 6.8.0-1017-aws |
| User | Karen |
| Previlege Level | Unprivileged User |
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.
stage 1 - page cache Corruption
The exploit was compiled and executed from an unprivileged user account.
cd /home/karen/fragnesia
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
The exploit created a user namespace and obtained UID 0 within that namespace.
whoami
root
However, attempts to access protected resources failed:
cat /root/flag.txt
permision denied
This demonstrated that namespace root does not equate to host root.
After exiting the namespace shaell:
exit
/usr/bin/su
The corrupted page-cache copy of /usr/bin/su executed attacker-controlled code.
whoami
root
id
uid=0(root) gid=0(root)
The process now possessed genuine host-level root privileges.
THM{fragnesia_skb_coalesce_amnesia}
To verify that the exploit only affected memory:
sha256sum /usr/bin/su
The hash matched the original binary, comfirming that: . Disk file emained unchangrd. . Only the page-cache copy was modified.
The corrupted page-cache entries were removed using:
sudo sh -c 'echo 3 > /proc/sys/vm/ drop_caches'
After cache eviction, /usr/bin/su returned to normal behavior and required authentication.
TryHackMe – Fragnesia (CVE-2026-46300) Linux Kernel Documentation CVE-2026-46300 Research Materials
Ejepu Benedict Amaechi Project completed and documented as partt of hands-on cybersecurity training on TryHackMe.
| Property | Value |
|---|
| CVE | CVE-2026-46300 |
| Subsystem | xfrm ESP-in-TCP |
| Primitive | 1-byte write |
| Race Condition Required | No |
| Container Escape potential | Yes |
| Target | Linux Page Cache |