DragonFlyBSD Kernel Audit
DF-1228 / env.txt
← back to finding ↓ download raw
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

==CC==
cc 8.3 [DragonFly] Release/2019-02-22

==Driver build status==
mpr (DF-1228) -- STATICALLY LINKED in X86_64_GENERIC (kldstat -v shows "pci/mpr")
aac (DF-1231) -- STATICALLY LINKED in X86_64_GENERIC (kldstat -v shows "pci/aac","aac/aacd","aac/aacp","pci/aacch")
asr (DF-1234) -- STATICALLY LINKED in X86_64_GENERIC (kldstat -v shows "pci/asr")
trm (DF-1235, DF-1237) -- NOT IN GENERIC (sys/config/X86_64_GENERIC has no trm; module not loaded)

==PCI devices on guest==
hostb0@pci0:0:0:0:  chip=0x12378086  (i440BX host bridge, QEMU)
isab1@pci0:0:1:0:   chip=0x70008086  (PIIX3 ISA bridge)
atapci0@pci0:0:1:1: chip=0x70108086  (PIIX3 IDE)
none0@pci0:0:1:3:   chip=0x71138086  (PIIX4 ACPI)
vgapci0@pci0:0:2:0: chip=0x11111234  (QEMU std VGA)
virtio_pci0@pci0:0:3:0: chip=0x10001af4 (virtio net)
virtio_pci1@pci0:0:4:0: chip=0x10011af4 (virtio blk)
NO LSI/Broadcom/Avago MPT-Fusion, NO Adaptec FSA RAID, NO DPT SmartRAID, NO Tekram DC395.

==Device nodes==
/dev/pass0 (operator, mode 600) -- only the QEMU CD-ROM passthrough
No /dev/mpr*, /dev/aac*, /dev/asr*, /dev/trm* nodes exist (driver attach creates them only when matching HW is present).

==Kernel config==
X86_64_GENERIC at sys/config/X86_64_GENERIC:
   device  mpr    # LSI-Logic MPT-Fusion 3     (in GENERIC)
   device  aac    # Adaptec FSA RAID           (in GENERIC)
   device  aacp   # SCSI passthrough for aac   (in GENERIC)
   device  asr    # DPT SmartRAID V, VI        (in GENERIC)
   # trm NOT present -- sys/dev/disk/trm/trm.c optional trm

CONCLUSION: None of the 5 findings can be runtime-reproduced on this guest
because the required hardware/controllers are absent. The driver code IS in
the GENERIC kernel (for mpr/aac/asr), so the bug path exists in the running
kernel and is exercised on real DragonFly installs with the matching HBA.
The trm bugs (DF-1235/DF-1237) require the trm module which is not even
built into GENERIC.