DragonFlyBSD Kernel Audit
DF-2849 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-2849 PoC run (on the DragonFly guest as root)
# Primary trigger: gtq_null (mode 1). Stock kernel panics within seconds.
kldload /root/poc/gtq_null.ko
sleep 20			# stock kernel: panic lands on serial (see panic.txt)
dmesg | tail -8
# Lightweight churn variant (completes; prints stats on unload):
#   kldload /root/poc/gtq_race.ko; sleep 35; kldunload gtq_race; dmesg | tail -3
# NOTE: gtq_race2 (4 racers) starves userland for the whole churn and
# wedges the guest on BOTH stock and fixed kernels - harness artifact,
# see run.2.log before interpreting.