Exploit databaseDownload repository ZIP
GH-00a2781aa7745a1ae991553a9e9498d6
000999888111/op13-cve-2026-64560
Sources for CVE-2026-64560
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files29
000999888111/op13-cve-2026-64560Revision 88513e448e7a
- ↑..Parent directory
- mtk-phys/
- btf_offsets.py
- btf_vars.py
- capture-ui-stall.sh
- check-race-knobs.py
- clean-after-unroot.sh
- derive_bootid.py
- derive_profile.py
- fetch_magiskboot.sh
- gadget_search.py
- gen-ic-target.py
- ghostlock_crosscheck.py
- ic-run-gate.sh
- ic-run.sh
- kallsyms_layout_probe.py
- ksym.py
- label-audit-full.sh
- label-audit.sh
- lane98260-trial.sh
- panic-scan.sh
- patch_early_bridge.py
- patch_notifier_bridge_test.py
- patch_notifier_test.py
- patch_runtime_offsets.py
- patch_stage0_selinux.py
- port_target.py
- preflight.sh
- push-cli.sh
- struct-constants-from-source.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
tools/capture-ui-stall.sh
Shell · 2,491 bytes#!/bin/sh
# Captures everything needed to explain the "UI stops responding / blank page after root shell" state.
#
# Run it the moment the state is visible. The decisive artifact is the main-thread stack: the symptoms (taps that
# do not repaint, a blank page, system back still working) come either from a blocked UI thread or from the app
# having been restarted, and a thread dump distinguishes them immediately. kill -3 writes to /data/anr, which
# needs root, so this uses su when it is available and says so when it is not.
#
# Usage: sh tools/capture-ui-stall.sh [serial]
set -u
S="${1:-}"
ADB="adb"
[ -n "$S" ] && ADB="adb -s $S"
PKG=dev.cve64560
OUT="ui-stall-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$OUT"
pid=$($ADB shell pidof $PKG | tr -d '\r')
echo "package=$PKG pid=${pid:-none}" | tee "$OUT/summary.txt"
if [ -z "$pid" ]; then
echo "app not running: the state cannot be captured now" | tee -a "$OUT/summary.txt"
exit 0
fi
# 1) Thread states: a main thread in D/R with back still working points at a blocked UI thread.
$ADB shell "ps -T -p $pid -o PID,TID,NAME,STAT,PCY" | tr -d '\r' > "$OUT/threads.txt"
# 2) Ask for a thread dump (writes to /data/anr via the kernel), then copy the newest trace out.
$ADB shell "su -c 'kill -3 $pid'" >/dev/null 2>&1
sleep 3
newest=$($ADB shell "su -c 'ls -t /data/anr 2>/dev/null | head -1'" | tr -d '\r')
echo "anr_trace=$newest" | tee -a "$OUT/summary.txt"
if [ -n "$newest" ]; then
$ADB shell "su -c 'cat /data/anr/$newest'" | tr -d '\r' > "$OUT/anr-trace.txt" 2>/dev/null
fi
# 3) Did the app restart, and is anything refusing to respond?
$ADB logcat -d 2>/dev/null | grep -aE "ANR in|not responding|Input dispatching timed out|FATAL EXCEPTION|WrongThread|IllegalState" \
| tail -40 | tr -d '\r' > "$OUT/system-log.txt"
$ADB logcat -d -s cve64560 2>/dev/null | sed 's/^.*cve64560: //' | tail -80 | tr -d '\r' > "$OUT/app-log.txt"
# 4) Frame statistics and the current view tree, so a blank page can be told from a missing one.
$ADB shell "dumpsys gfxinfo $PKG" 2>/dev/null | tr -d '\r' | head -60 > "$OUT/gfxinfo.txt"
$ADB shell uiautomator dump /sdcard/ui-stall.xml >/dev/null 2>&1
$ADB shell cat /sdcard/ui-stall.xml 2>/dev/null | tr -d '\r' > "$OUT/view-tree.xml"
echo "wrote $OUT/ (summary, threads, anr-trace, system-log, app-log, gfxinfo, view-tree)" | tee -a "$OUT/summary.txt"
echo "look at $OUT/anr-trace.txt first: the main thread's stack says whether the UI is blocked and on what." | tee -a "$OUT/summary.txt"