DF-3219 / verdict.json
{ "finding_id": "DF-3219", "status": "not_reproduced", "reproduced": 0, "impact": "denial_of_service", "confidence": "likely", "verdict": "Not reproducible by construction: dirfs is dead code in this tree (DF-3058 precedent re-verified on this snapshot: no Makefile, absent from sys/conf/files, not loadable, and mount_dirfs refuses non-vkernel platforms). The defect is real in source: dirfs_root performs the dm_root lazy init completely unlocked (VFS_ROOT is not serialized by the VFS layer), so two concurrent path resolutions through the mountpoint both run the init, the loser leaks a dnp + host fd forever and can publish a root vnode without VROOT. Fix authored (serialize with dm_lock); compile validation impossible for dead code.", "exploit_chain": "", "evidence": "VERDICT.md quoting DF-3058; source lines dirfs_vfsops.c:231-269", "kernel_refs": [ "sys/vfs/dirfs/dirfs_vfsops.c:234-268" ], "poc_changes": "", "attempts": 2, "guest_uname": "DragonFly dfbsd 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": 60, "guest_dirty": 0, "build_cmd": "n/a (dead code)", "run_cmd": "n/a", "code_hash": "", "notes": "", "recommended_fix": "serialize the lazy init with dm_lock" } |