DragonFlyBSD Kernel Audit
DF-0542 / build_result.txt
← back to finding ↓ download raw
DF-0542 / DF-0543 — netgraph7 bluetooth HCI event parsing
=========================================================
(The same env.txt applies to both findings; they are in the same file.)

Module build (with BOTH fixes applied) on the default-guest source tree:
  cd /usr/src/sys/netgraph7/bluetooth/hci && make   ->  rc=0, clean
  final link: cc ... -o ng_hci.ko ng_hci_main.o ng_hci_cmds.o ng_hci_evnt.o ...
  no errors / no warnings  (see build_hci.log)

Loading the freshly built module on the default guest FAILS (framework absent):
  kldload /root/ng_hci_test.ko
  -> KLD ng_hci.ko depends on ng_bluetooth - not available
     linker_load_file: Unsupported file type
  => confirms netgraph7 bluetooth is not part of the default install.