#!/bin/sh
# DF-1320 — no userspace PoC is runnable on the QEMU audit guest.
#
# The bug lives in amdgpu's MST stream-allocation path, triggered by a
# malicious MST hub/dock reporting >6 active payloads.  amdgpu is NOT in
# X86_64_GENERIC, not loaded, and there is no AMD GPU / MST hardware in
# QEMU.  See VERDICT.md for the full line-by-line trace.
#
# fix.diff was validated to apply cleanly (git apply --check) against
# sys/dev/drm/amd/display/dc/core/dc_link.c.
echo "DF-1320: no runnable userspace PoC on this guest (no AMD GPU / amdgpu)."
echo "See VERDICT.md for the source trace and fix.diff for the patch."
echo "Validating fix.diff applies cleanly:"
git apply --check -p1 fix.diff && echo "APPLIES_CLEAN" || echo "apply-check FAILED"
