DragonFlyBSD Kernel Audit
DF-0930 / fix_run.log
← back to finding ↓ download raw
DF-0930 fix validation: patched ntfs.ko module race run (60s)
==============================================================

Patched module: ntfs.ko with ntfs_nthashget() implemented
  SHA256: a35218fe1caba53bbb7bfed479dda349c86eccbe8e917408b50e1a6c189f9bdc
  Symbol check: nm ntfs.ko | grep nthashget => 00000000000054e0 T ntfs_nthashget

Guest: DragonFly 6.5-DEVELOPMENT #0: Thu Jul  2 06:02:54 UTC 2026
NTFS: patched ntfs.ko loaded, /dev/vn0 -> /mnt/ntfs (ntfs_file.img)

kern.maxvnodes=100 (aggressive vnode recycling)

Run 1 (60s):
[*] DF-0930 race: 3 lookup + 2 stat + 2 churn threads, 6 cpus, 60 sec
[*] target: /mnt/ntfs/target
[*] race finished without panic.
PATCHED_RACE_EXIT=0

Run 2 (30s):
[*] DF-0930 race: 3 lookup + 2 stat + 2 churn threads, 6 cpus, 30 sec
[*] race finished without panic.
PATCHED_RACE2_EXIT=0

Functional correctness:
  cat /mnt/ntfs/target => OK (cat_rc=0)
  stat /mnt/ntfs/target => inode 32, correct
  mount => OK

Guest status: UP (no panic, no dmesg warnings)
Fix verdict: FIXED — patched module compiles, loads, mounts NTFS, handles
concurrent access without issues. The ntfs_nthashget() function (declared in
ntfs_ihash.h:36 but never defined in the unpatched tree) is now implemented
and used by ntfs_ntlookup's found-path, closing the UAF window.