Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

Kernel-Exploit-Dojo

> 包管理
Open source

CTF kernel exploitation notes, PoCs, exploits, and writeups.

356 stars0 likes2 views
WebsiteGitHub

About

CTF kernel exploitation notes, PoCs, exploits, and writeups.

Kernel-Exploit-Dojo (道場)

Overview

Kernel-Exploit-Dojo is a curated archive of 180+ Linux kernel exploitation CTF challenges, organized by bug class, exploitation primitive, final technique, difficulty, and solve count. The goal is to organize practical kernel pwn techniques such as UAF, heap spraying, pipe_buffer abuse, msg_msg, modprobe_path overwrite, and cred overwrite.

“Dojo” means a training place; this repository is intended as a practice-oriented archive for learning Linux kernel exploitation through CTF challenges.

Each challenge directory contains the original distribution files when available, exploit code, and a technical writeup.

Challenges are organized by year, and the top-level Challenge List works as an index to each challenge directory.

For technique-based navigation, see Techniques Index.

Note: Year folders are based on the actual event date, not necessarily the year shown in the CTF name.

Kernel-Exploit-Dojo (道場) は、180件以上の Linux Kernel Exploit CTF 問題を、Bug・Primitive・Final Technique・Difficulty・Solve数ごとに整理した技術索引です。

「道場」は練習・鍛錬の場という意味で、本リポジトリは CTF 問題を通じて Linux Kernel Exploit を学ぶための実践的なアーカイブです。

各問題ごとに配布ファイル、exploit、解説をまとめ、実戦的な kernel pwn 技術を復習できる形にしています。

各問題は年度別フォルダに整理しており、トップページの Challenge List から各問題へ移動できます。

技術別に探したい場合は Techniques Index を参照してください。

Note: 年度別フォルダは CTF 名の年ではなく、実際の開催年を基準にしています。

Disclaimer

This repository is for CTF learning and local lab environments only. Do not run the exploits on production systems or systems you do not own. All examples are intended to be executed inside isolated QEMU/CTF environments.

本リポジトリは CTF 学習およびローカル検証環境向けです。 実環境・第三者環境では絶対に実行しないでください。

Challenge List

Difficulty is based on exploit complexity, required kernel knowledge, and solve count.

Difficulty は exploit の複雑さ、必要な kernel 知識、solve 数をもとに主観的に分類しています。

CTF Challenge Status Difficulty (Solves) Bug Primitive Final Technique
CakeCTF 2022 welkerme solved / writeup Very-Easy (75) kernel calls user function pointer run user code as kernel CC(PKC(0))
b01lers CTF 2026 throughthewall solved / writeup Easy (69) kmalloc-1024 UAF pipe_buffer reclaim Dirty Pipe, /etc/passwd overwrite
ASIS CTF Finals 2025 KList solved Easy (37) OOB write kernel memory write modprobe_path overwrite
NexHunt CTF 2025 below solved / writeup Easy (12) OOB read/write kernel read/write modprobe_path overwrite
N1CTF 2025 ktou solved / writeup Easy (38) logic flaws kernel object pointer corruption GOT overwrite
UIUCTF 2025 Baby Kernel solved / writeup Easy (53) customizable UAF tty_struct ops hijack modprobe_path overwrite
NahamCon CTF 2025 The Jumps solved / writeup Easy (59) stack overflow kernel stack ROP kernel ROP, CC(PKC(0))
TCP1P CTF 2024 K-Revenge solved / writeup Easy (4) customizable UAF + double free pipe-based kernel leak + AAW freelist poisoning => modprobe_path overwrite
SECCON Beginners CTF 2024 kbuf solved Easy (8) uninit heap + OOB R/W + arbitrary seek OOB leak => AAR/AAW modprobe_path overwrite
L3akCTF 2024 xen solved / writeup Easy (?) stack buffer overflow kernel stack RIP control kernel ROP, CC(IC)
TCP1P CTF 2023: First Step Beyond Nusantara solved / writeup Easy (5) arbitrary read/write via unsafe usercopy AAR/AAW modprobe_path overwrite
corCTF 2023 zeroday solved / writeup Easy (25) QEMU serial multiplexing misconfiguration (monitor escape) arbitrary physical memory read QEMU monitor memory dump
SECCON Beginners CTF 2023 driver4b solved / writeup Easy (19) missing copy_from_user / copy_to_user AAR/AAW modprobe_path overwrite / core_pattern overwrite
Midnight Sun CTF 2023 Quals SPD D solved / writeup Easy (?) unchecked ppos used as kernel stack buffer offset kernel stack OOB read/write saved RIP overwrite => ret2usr => CC(PKC(0))
ADDA CTF 2022 Kernauth solved Easy (11) TOCTOU race struct cred overwrite cred overwrite / commit_creds()
TSJ CTF 2022 clipboard.ko solved Easy (11) kmalloc-1024 UAF tty_struct overlap + function pointer hijack modprobe_path overwrite
BackdoorCTF 2021 babyKernel solved Easy (?) improper strlen() boundary check linked-list pointer overwrite modprobe_path overwrite
K3RN3LCTF Easy kernel is still kernel right? solved / writeup Easy (16) stack leak + stack BOF canary leak + KASLR leak + kernel ROP CC(PKC(0)) + KPTI trampoline
3kCTF-2021 echo solved / writeup Easy (9) unsafe syscall 8-byte AAR/AAW + physmap leak modprobe_path overwrite
m0leCon CTF 2020 Teaser babyk solved / writeup Easy (20) stack BOF saved RIP control CC(PKC(0)) + kernel ROP
D^3CTF 2026 d3kbus writeup Easy-Medium (78) QEMU 0-day (perf_event / io_uring loop) arbitrary physical memory write (PTE corruption) guest kernel task privilege escalation
MntcrlCTF 2026 noName solved Easy-Medium (3) UAF due to dangling global pointer pipe_buffer overlap Dirty Pipe, /bin/busybox page cache overwrite
DEF CON CTF Qualifier 2026 gitvfs writeup Easy-Medium (43/30) QEMU 0-day (perf_event / io_uring loop) arbitrary physical memory write (PTE corruption) guest kernel task privilege escalatio
0xFUN CTF 2026 Phantom solved / writeup Easy-Medium (45) mmap UAF dangling mmap, freed page reuse cred overwrite, modprobe_path
THJCC CTF 2026 Excalipipe solved / writeup Easy-Medium (17) allowing reuse of merge flag page cache overwrite /bin/busybox overwrite
PatriotCTF 2025 switchboard solved / writeup Easy-Medium (53) kmalloc-32 UAF small-cache reclaim, controlled object reuse modprobe_path overwrite
M*CTF 2025 Quals Procrasti nation solved Easy-Medium (4) UAF + double free + broken custom allocator size confusion fake entry => AAR / AAW modprobe_path overwrite
LINE CTF 2025 Transmit solved Easy-Medium (10) trusted user pointer in TRANSMIT_FAST arbitrary kernel write modprobe_path overwrite
TFC CTF 2025 SLOTS solved / writeup Easy-Medium (28) customizable UAF tty_struct ops hijack read global flag buffer
TsukuCTF 2025 easy_kernel solved / writeup Easy-Medium (12) UAF due to dangling global pointer kmalloc-32 UAF write seq_operations->start overwrite + CC(IC)
TsukuCTF 2025 xcache solved / writeup Easy-Medium (5) UAF / double free in a dedicated kmem_cache object SLUB freelist poisoning to corrupt the global object pointer table modprobe_path overwrite
smileyCTF 2025 blargh solved / writeup Easy-Medium (38) 1-byte NULL write into kernel memory read-only kernel text modification patch kernel function
Codegate CTF 2025 Preliminary pew solved / writeup Easy-Medium (13) kmalloc-4096 UAF pipe_buffer reclaim Dirty Pipe, /etc/passwd overwrite
BackdoorCTF 2024 Kuwu solved / writeup Easy-Medium (4) double free, kmalloc-4096 UAF msg_msg overlap + pipe_buffer leak Dirty Pipe, /etc/passwd overwrite
HKCERT CTF 2024 (Qualifying Round) Flipper Hero solved / writeup Easy-Medium (10) arbitrary bit flip arbitrary kernel bit flip modprobe_path overwrite
IERAE CTF 2024 free2free solved / writeup Easy-Medium (2) double free heap overlap Dirty Pipe, /etc/passwd overwrite
DownUnderCTF 2024 Faulty Kernel solved / writeup Easy-Medium (15) page cache map/write pipe_buffer page cache mapping page cache overwrite (/etc/passwd)
IrisCTF 2024 Memory writeup Easy-Medium (42) kernel-to-user access side-channel via get_user() timing oracle for secret-dependent userland address access recover in-kernel flag bytes via page-fault timing side-channel
TPCTF 2023 core revenge solved / writeup Easy-Medium (11) kmalloc-64 UAF pipe-based kernel leak + AAW add_key + Dirty Pipe-style page cache overwrite of /bin/busybox
HITCON CTF 2023 Quals Full Chain - Wall Rose solved / writeup Easy-Medium (17) global pointer double-free pipe_buffer overlap Dirty Pipe / init_cred overwrite
idekCTF 2022 Sofire=good solved / writeup Easy-Medium (7) global UAF ptmx reclaim + stale list R/W core_pattern overwrite
KITCTFCTF 2022 SYS_jail solved Easy-Medium (7) missing copy_from_user / direct user-space pointer dereference TOCTOU race condition via multiple fetches (Double Fetch) struct cred overwrite / privilege escalation to root (UID 0)
UTCTF 2022 Bloat solved / writeup Easy-Medium (?) missing validation of user pointer in custom binfmt handler arbitrary kernel write modprobe_path overwrite
TAMUctf 2022 Shmeeky solved / writeup Easy-Medium (7) integer overflow in size calculation OOB read/write via shmvec_get/shmvec_set modprobe_path overwrite
GrabCON CTF 2021 Paas solved / writeup Easy-Medium (1) kernel format string cpu_entry_area leak + pipe capture + AAW modprobe_path overwrite
BSides Noida CTF suscall solved Easy-Medium (6) unsafe custom syscall arbitrary function pointer call MSR leak + CC(PKC(0))
LINE CTF 2021 pprofile solved / writeup Easy-Medium (7) put_user misuse constrained kernel write + oracle leak modprobe_path overwrite
Union CTF 2021 nutty solved / writeup Easy-Medium (10) heap OOB read + signed arithmetic overflow tty_struct leak + heap OOB write modprobe_path overwrite
GACTF2020 forest solved Easy-Medium (1) customizable UAF + double free seq_operations reclaim CC(PKC(0)) + kernel ROP
ASIS CTF Quals 2020 Shared House solved / writeup Easy-Medium (7) off-by-one NULL overwrite freelist poisoning modprobe_path overwrite / kernel ROP
zer0pts CTF 2020 [meowmow](./2020/

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cctfctf-writeupsdirty-pipeebpf

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category包管理
PricingOpen source

> Related tools

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image