DragonFlyBSD Kernel Audit
DF-1574 / env.txt
← back to finding ↓ download raw
============================================================
GUEST ENVIRONMENT (DF-1574 verification)
============================================================
$ uname -a
DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #0: Thu Jul  2 06:02:54 UTC 2026     root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64

$ sysctl -n kern.version
DragonFly 6.5-DEVELOPMENT #0: Thu Jul  2 06:02:54 UTC 2026
    root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC

$ cc --version | head -1
cc 8.3 [DragonFly] Release/2019-02-22

============================================================
KERNEL CONFIG — relevant devices
============================================================
$ grep -iE 'drm|radeon|amdgpu|amd' sys/config/X86_64_GENERIC
(no drm/radeon/amdgpu devices; "device amd" is the AMD 53C974 SCSI
controller, unrelated)

$ grep -iE 'drm|radeon|amdgpu' sys/config/LINT64
# DRM options:
device		drm
device		radeon

(amdgpu is a loadable KLD module only; not in any default kernel config)

============================================================
LOADED MODULES / PCI at verification time
============================================================
$ kldstat | grep -iE 'drm|amdgpu|radeon'
(empty — none loaded)

$ pciconf -l
hostb0@pci0:0:0:0:    class=0x060000 ... (i440FX)
isab1@pci0:0:1:0:     class=0x060100 ... (PIIX3 ISA)
atapci0@pci0:0:1:1:   class=0x010180 ... (PIIX4 ATA)
none0@pci0:0:1:3:     class=0x068000 ... (PIIX4 ACPI)
vgapci0@pci0:0:2:0:   class=0x030000 card=0x11001af4 chip=0x11111234 (QEMU std VGA, NOT AMD)
virtio_pci0@pci0:0:3:0: class=0x020000 ... (virtio-net)
virtio_pci1@pci0:0:4:0: class=0x010000 ... (virtio-blk)

$ camcontrol devlist
<QEMU QEMU DVD-ROM 2.5+>           at scbus1 target 0 lun 0 (sg0,pass0,cd0)

============================================================
SUMMARY
============================================================
* No AMD GPU hardware present in the QEMU guest (only QEMU std VGA).
* amdgpu / radeon / drm modules are NOT compiled into X86_64_GENERIC;
  amdgpu is a loadable KLD only.
* The vulnerable translation unit
  (sys/dev/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c) is part of
  the amdgpu KLD module, built only when the module is loaded.
* The bug is unreachable at runtime on this guest: would require
  `kldload amdgpu` (root) + an AMD GPU device + a malicious VBIOS image
  (VFIO romfile or malicious FPGA GPU).