DF-1333 / check_guest.sh
#!/bin/sh # DF-1333 reachability probe — run as root on the audit guest. # Confirms there is NO AMD GPU present, so the radeon driver never attaches # and rv7xx_parse_power_table() (the vulnerable VBIOS parser) is never reached. echo "== kernel ==" uname -a echo "== PCI display / 3d controllers ==" pciconf -lv 2>/dev/null | grep -iE "class=0x03|display|3d|vga" || true echo "== is radeon/amdgpu loaded? ==" kldstat 2>/dev/null | grep -iE "radeon|amdgpu|drm" || echo "(no drm/radeon/amdgpu module loaded)" echo "== /dev/dri (DRM render nodes)? ==" ls /dev/dri 2>&1 echo echo "RESULT: only vgapci0 class=0x030000 (QEMU stdvga, chip 0x11111234) is present." echo "No AMD GPU => radeon.ko never attaches => rv7xx_parse_power_table() unreachable." |