Skills

Exploiting Linux Kernel Vulnerabilities

Methodology for discovering and exploiting Linux kernel memory-corruption...

Install

npx skills add xalgorix/xalgorix --skill exploiting-linux-kernel-vulnerabilities -g -a claude-code -y
Repository
xalgorix/xalgorix1.3k
Category
Security
Updated
5d ago
License
Apache-2.0
Context cost
Mediumabout 2,826 tokens
Runs scripts
No, instructions only

What it does

Methodology for discovering and exploiting Linux kernel memory-corruption vulnerabilities (UAF, OOB read/write, race/TOCTOU, type confusion) during authorized engagements, covering reachability analysis, building stable read/write primitives from a single bug, defeating KASLR/SMEP/SMAP/KPTI, slab/buddy heap grooming, and pivoting to ring-0 code execution or credential overwrite for local privilege escalation.

Exploiting Linux Kernel Vulnerabilities

When to Use

  • During authorized kernel security assessments, local privilege-escalation (LPE) research, or sandbox-escape work where unprivileged userland can reach kernel code through a syscall, ioctl, socket family, netlink, or a vulnerable driver.
  • When triaging a kernel crash (Oops, KASAN splat, GENERAL PROTECTION fault, BUG: KASAN: use-after-free) and you need to determine whether the bug is a controllable UAF, OOB, double-free, or race rather than a pure null-deref DoS.
  • When a recent CVE (e.g., AF_UNIX MSG_OOB UAF / CVE-2025-38236, POSIX CPU-timers TOCTOU / CVE-2025-38352, ksmbd OOB write / CVE-2025-37947) is in scope and you must confirm reachability and exploitability on the target build.
  • As the methodology that turns a weak kernel primitive (a 1-byte read, a +N increment, a single freed object) into full kernel read/write/execute.

Critical: Concepts/Steps Most Often Missed

Read the whole SKILL.md on GitHub

More in Security