DragonFlyBSD Kernel Audit
DF-2268 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-2268 run.sh — no runnable PoC on this guest.
# Gate: /dev/cd0 exists (QEMU DVD-ROM via PIIX3 ata-cam) but (a) the trigger needs
# a MALICIOUS CD target returning ending_track-starting_track>=99, which the trusted
# QEMU DVD-ROM (no medium) cannot produce; (b) maxx cannot open /dev/cd0 (0640,
# group operator, maxx in no privileged group).
set -e
echo "DF-2268: HW/device gated on this guest — nothing to run."
echo "Gate proof:"; id; ls -la /dev/cd0 2>&1; camcontrol devlist 2>&1 | head -2
exit 0