⬢ DragonFlyBSD Kernel Audit
DF-3075 / verdict.json
← back to finding ↓ download raw
{
 "finding_id": "DF-3075",
 "status": "not_reproduced",
 "reproduced": 0,
 "impact": "none",
 "confidence": "certain",
 "verdict": "Line-accurate confirmation; no runtime demonstration (would require a malicious NFS server; disproportionate for Info tier). nfs_statfs v3 casts (long)(fxdr_hyper/1024) at nfs_vfsops.c:360-364 - a claimed total above 2^63*1024 yields negative f_blocks; the v2 branch applies server sf_bsize raw (:370-373); nfs_statvfs copies unclamped 64-bit values (:446-454). No kernel allocation derives from these (f_iosize frozen at :378-387). Fix (LONG_MAX clamps + bsize sanity clamp) compiled in the F40FIX build (NFS in kernel).",
 "exploit_chain": "",
 "evidence": "VERDICT.md with path:line citations; run.log where a live demo exists; fix.diff",
 "kernel_refs": [
  "sys/vfs/nfs/nfs_vfsops.c:360",
  "sys/vfs/nfs/nfs_vfsops.c:370",
  "sys/vfs/nfs/nfs_vfsops.c:446"
 ],
 "poc_changes": "n/a - no malicious NFS server stood up for Info tier",
 "attempts": 0,
 "guest_uname": "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",
 "runtime_sec": 30,
 "guest_dirty": 0,
 "build_cmd": "see build.sh",
 "run_cmd": "see run.sh",
 "code_hash": null,
 "notes": "",
 "recommended_fix": "clamp v3 geometry to LONG_MAX, clamp v2 f_bsize to [DEV_BSIZE,MAXBSIZE]",
 "fix_status": "compile_validated",
 "fix_verdict": "fix.diff applied in the F40FIX verification kernel build (RC=0, zero -Werror errors); no runtime A/B for this item (line-certain hardening)"
}