Exploit databaseDownload repository ZIP
GH-594a156883cbf863201dae6cf96323f3
zenyxx-xd/rootmyvivo-exploit
Sources for CVE-2026-43499
165 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files46
zenyxx-xd/rootmyvivo-exploitRevision 201ffc023401
- ↑..Parent directory
- analyze_race.py
- campaign.py
- check_config.py
- check_config2.py
- check_dup_lock.py
- check_rcu_free.py
- collect_skb_locks.py
- compare_consts.py
- corr2.py
- corr3.py
- corr_run46.py
- corr_run47.py
- corr_step9.py
- diff_race_funcs.py
- diff_race_tokens.py
- drains_back.py
- dupdist.py
- eventgcd.py
- exact_recipe.py
- find_ebusy.py
- find_phone_ip.py
- fullcorr.py
- gc_purge_locks.py
- lastcamp.py
- map_read_locks.py
- nodrains_flag.py
- nonpipe.py
- nostaller.py
- nostorm.py
- overnight.py
- overnight_stats.py
- p2g.py
- parked.py
- patch_nd.py
- patch_racediag.py
- pipetest.c
- recvqc_flag.py
- resize_ring.py
- retune.py
- revert_recipe.py
- scan5555.py
- scm_disasm.txt
- stalled.py
- verify_scm_alloc.py
- waketest.c
- whichcampaign.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
afunix/tools/map_read_locks.py
Python · 1,925 bytes"""Map the lock structure of unix_stream_read_generic (6.6.127):
- all references to unix_sk->lock (offset 0x400) — acquire/release of
unix_state_lock
- all named call targets
- where the scm_fp_dup call sits relative to the locked regions
"""
import re, bisect
import capstone
BASE = 0xFFFFFFC080000000
IMG = r"C:\neo11\ota\kernel_6_6_127.img"
KALL = r"C:\neo11\ota\kallsyms_6_6_127.txt"
data = open(IMG, "rb").read()
syms = {}
for line in open(KALL):
m = re.match(r"([0-9a-f]{16}) (\w) (\S+)", line.strip())
if m:
syms.setdefault(m.group(3), int(m.group(1), 16))
items = sorted((a, n) for n, a in syms.items())
addrs = [a for a, _ in items]
def nearest(addr):
i = bisect.bisect_right(addrs, addr) - 1
if i < 0:
return "?", 0
return items[i][1], addr - items[i][0]
md = capstone.Cs(capstone.CS_ARCH_ARM64, capstone.CS_MODE_LITTLE_ENDIAN)
fn = "unix_stream_read_generic"
addr = syms[fn]
i = bisect.bisect_right(addrs, addr)
end = addrs[i] if i < len(addrs) else addr + 3000*4
code = data[addr - BASE:end - BASE]
insns = list(md.disasm(code, addr))
print("%s: %016x..%016x (%d insns)\n" % (fn, addr, end, len(insns)))
dup_addr = syms["scm_fp_dup"]
for idx, ins in enumerate(insns):
why = []
if ins.mnemonic == "bl":
try:
tgt = int(ins.op_str.lstrip("#"), 16)
except ValueError:
continue
if tgt == dup_addr:
why.append("<<< scm_fp_dup")
else:
n, d = nearest(tgt)
why.append("; <%s%s>" % (n, "+0x%x" % d if d else ""))
if "#0x400" in ins.op_str or "#0x404" in ins.op_str or "#0x3fc" in ins.op_str:
why.append(";; unix_sock.lock?")
if ins.mnemonic in ("ldadd", "ldxr", "stxr", "ldaxr", "stlr") and "0x400" in ins.op_str:
why.append(";; LOCKOP")
if why:
print("%4d 0x%x: %-8s %s %s" % (idx, ins.address, ins.mnemonic, ins.op_str, " ".join(why)))