DF-3074 / verdict.json
{ "finding_id": "DF-3074", "status": "not_reproduced", "reproduced": 0, "impact": "none", "confidence": "certain", "verdict": "Not executable on this rig: the path is diskless-boot only (nfs_mountroot -> nfs_mountdiskless for root/swap), requiring PXE/BOOTP control of the boot environment - the vm.sh lifecycle cannot reconfigure the guest to diskless boot. Code-certain: mountnfs() takes ownership of nam (stored as nmp->nm_nam at nfs_vfsops.c:1077) and its bad: label already frees it via nfs_free_mount (:1167-1171 -> kfree nmp->nm_nam :1255-1257), then nfs_mountdiskless kfrees the same pointer again at :775. Source-certain double free; impact crash-of-an-already-failing-boot or PXE-groomed heap corruption.", "exploit_chain": "", "evidence": "VERDICT.md + run.log + sources", "kernel_refs": [ "sys/vfs/nfs/nfs_vfsops.c:745", "sys/vfs/nfs/nfs_vfsops.c:775", "sys/vfs/nfs/nfs_vfsops.c:1255" ], "poc_changes": "none", "attempts": 0, "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": 0, "guest_dirty": 0, "build_cmd": "", "run_cmd": "see README.md", "code_hash": null, "notes": "fix_status: not_testable (not reproduced)", "recommended_fix": "diff --git a/sys/vfs/nfs/nfs_vfsops.c: drop kfree(nam) in the haderror path of nfs_mountdiskless (ownership transferred to mountnfs).\n" } |