# DF-3074 verification

Kernel: 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

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.

## Kernel references
- sys/vfs/nfs/nfs_vfsops.c:745
- sys/vfs/nfs/nfs_vfsops.c:775
- sys/vfs/nfs/nfs_vfsops.c:1255

## Fix
See fix.diff.

## Fix status (batch validation)
Applied with the 36 sibling fix.diffs of this batch in findings/poc/_batch41/all_fixes.patch; single in-guest `make -j6 nativekernel KERNCONF=X86_64_GENERIC` completed RC=0 with zero errors under -Werror (full log: findings/poc/_batch41/fix_build8.log). Behavior A/B intentionally skipped for this Info-tier item.
