Exploit databaseDownload repository ZIP
GH-5225a0f2381ae4b97f53ac973c820941
woshigenm/cve-2026-98260
Sources for CVE-2026-98260
60 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files6
woshigenm/cve-2026-98260Revision a3626e92f241
- ↑..Parent directory
- clean.sh
- ko-syms-6.12.38-android16-5-gfde7767f6ef6-abogki481467632-4k.txt
- ko-syms-6.12.58-android16-6-g142ddad31e60-abogki576095858-4k.txt
- ko-syms-6.12.58-android16-6-g3a7ac1674240-abogki541502914-4k.txt
- root_stage.sh
- run.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
app/assets/root_stage.sh
Shell · 1,792 bytes#!/system/bin/sh
# SPDX-License-Identifier: MIT
# Copyright (C) 2026 woshigenm <[email protected]>
# Runs after GRANT_ROOT, as the KernelSU root profile (uid 0, u:r:ksu:s0).
# Installs the ksud userspace already staged by run.sh.
set -u
D=$(cd "$(dirname "$0")" && pwd)
log() { echo "[stage] $*"; }
log "uid=$(id -u) ctx=$(cat /proc/self/attr/current)"
if grep -q '^kernelsu ' /proc/modules; then
log "kernelsu live"
else
log "kernelsu missing"
fi
if [ "$(id -u)" != "0" ]; then
log "not uid 0"
echo STAGE_FAIL
exit 1
fi
if [ -x "$D/ksud" ]; then
mkdir -p /data/adb/ksu/bin /data/adb/modules 2>>"$D/root_stage.log"
cp -f "$D/ksud" /data/adb/ksud 2>>"$D/root_stage.log"
chmod 755 /data/adb/ksud 2>>"$D/root_stage.log"
fi
if [ -x /data/adb/ksud ]; then
/data/adb/ksud install >>"$D/root_stage.log" 2>&1
log "ksud_install_rc=$?"
ln -sf /data/adb/ksud /data/adb/ksu/bin/su 2>>"$D/root_stage.log"
ln -sf /data/adb/ksud /data/adb/ksu/bin/ksud 2>>"$D/root_stage.log"
# Do not run "ksud late-load" here: it restarts the KernelSU manager,
# which launches the manager UI and re-enables shell_su_adb_only.
/data/adb/ksud feature set su_compat 1 >>"$D/root_stage.log" 2>&1
log "su_compat_rc=$?"
# Allow su from shell-uid processes spawned by the app/Shizuku, not only
# from an adbd or ksu ancestor (MagicRoot uses allow_shell the same way).
/data/adb/ksud feature set shell_su_adb_only 0 >>"$D/root_stage.log" 2>&1
log "shell_su_adb_only_rc=$?"
echo 1 > /sys/fs/selinux/enforce 2>>"$D/root_stage.log"
log "enforce_rc=$? now=$(getenforce)"
/data/adb/ksud debug mark refresh >>"$D/root_stage.log" 2>&1 || true
else
log "ksud missing"
echo STAGE_FAIL
exit 1
fi
log "id: $(id)"
echo ROOT_STAGE_OK