Exploit databaseDownload repository ZIP
GH-594a156883cbf863201dae6cf96323f3
zenyxx-xd/rootmyvivo-exploit
Sources for CVE-2026-43499
166 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/check_dup_lock.py
Python · 2,519 bytes"""Locate the scm_fp_dup call site(s) in unix_stream_read_generic on the
6.6.127 image and check whether they sit between an acquire and release of
unix_sk->lock (offset 0x400, per BTF) — i.e. whether the peek holds the
socket state lock while duplicating the fds (which would serialize the GC
purge after the peek and kill the race)."""
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
return items[i][1], addr - items[i][0]
md = capstone.Cs(capstone.CS_ARCH_ARM64, capstone.CS_MODE_LITTLE_ENDIAN)
def dis_func(name, max_insn=3000):
if name not in syms:
print("!! %s not in kallsyms" % name)
return None
addr = syms[name]
# function extent: until next symbol
i = bisect.bisect_right(addrs, addr)
end = addrs[min(i, len(addrs)-1)] if i < len(addrs) else addr + max_insn*4
end = min(end, addr + max_insn*4)
code = data[addr - BASE:end - BASE]
return addr, list(md.disasm(code, addr))
# find callers of scm_fp_dup across the whole unix code range
targets = ["unix_stream_read_generic", "unix_dgram_recvmsg", "unix_stream_read_actor"]
dup_addr = syms.get("scm_fp_dup")
print("scm_fp_dup @ %016x\n" % dup_addr)
for fn in targets:
res = dis_func(fn)
if not res:
continue
addr, insns = res
print("===== %s @ %016x (%d insns) =====" % (fn, addr, len(insns)))
lock_depth = 0
for idx, ins in enumerate(insns):
if ins.mnemonic == "bl":
try:
tgt = int(ins.op_str.lstrip("#"), 16)
except ValueError:
continue
if tgt == dup_addr:
print("--- call scm_fp_dup at 0x%x (insn %d) ---" % (ins.address, idx))
for j in range(max(0, idx-25), min(len(insns), idx+15)):
ii = insns[j]
mark = " <<<<" if j == idx else ""
note = ""
if "0x400" in ii.op_str:
note = " ; unix_sock.lock?"
print(" 0x%x: %-8s %s%s%s" % (ii.address, ii.mnemonic, ii.op_str, note, mark))
print()