{
  "finding_id": "DF-0773",
  "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",
  "code_hash": "b9a306d0f9e7f73e4c245b4cc038294a3be6c13dd327ab55b89b5a9764a94a47",
  "tested_at": "2026-07-22T18:10:00Z",
  "verdict": "REPRODUCED",
  "impact": "panic",
  "confidence": "certain",
  "reproduce": {
    "build": "./build.sh",
    "run": "./run.sh",
    "expected": "kernel panic; see panic.txt / run.log. On a fixed kernel: exits 0, no panic."
  },
  "kernel_refs": [
    "sys/vfs/devfs/devfs_core.c:958",
    "sys/vfs/devfs/devfs_core.c:971",
    "sys/vfs/devfs/devfs_core.c:972",
    "sys/vfs/devfs/devfs_core.c:1373",
    "sys/vfs/devfs/devfs_core.c:631",
    "sys/vfs/devfs/devfs_core.c:2197",
    "sys/vfs/devfs/devfs_vfsops.c:202",
    "sys/vfs/devfs/devfs_vfsops.c:214",
    "sys/vfs/devfs/devfs_vfsops.c:216",
    "sys/vfs/devfs/devfs_vfsops.c:244",
    "sys/vfs/devfs/devfs_vfsops.c:249",
    "sys/kern/vfs_syscalls.c:4814",
    "sys/kern/vfs_syscalls.c:4832",
    "sys/kern/vfs_syscalls.c:5001",
    "sys/kern/vfs_syscalls.c:5013"
  ],
  "artifacts": [
    {
      "path": "trigger.c",
      "type": "trigger-source",
      "desc": "PoC: getfh(/dev/null) + mutate fid_ino + fhstat -> vn_lock(NULL)"
    },
    {
      "path": "build.sh",
      "type": "build-script",
      "desc": "cc -o trigger trigger.c"
    },
    {
      "path": "run.sh",
      "type": "run-script",
      "desc": "./trigger (must be root)"
    },
    {
      "path": "fix.diff",
      "type": "suggested-fix",
      "desc": "NULL guard before vn_lock at devfs_core.c:972"
    },
    {
      "path": "run.log",
      "type": "run-log",
      "desc": "baseline #0 run output + panic signature"
    },
    {
      "path": "panic.txt",
      "type": "panic-signature",
      "desc": "Fatal trap 12 VA=0x0 lockmgr_exclusive+0x5d from boot.log"
    },
    {
      "path": "boot_baseline.txt",
      "type": "boot-log",
      "desc": "boot.log before the panic run"
    },
    {
      "path": "fix_build.log",
      "type": "build-log",
      "desc": "full single-fix kernel nativekernel build (rc=0)"
    },
    {
      "path": "fix_run.log",
      "type": "run-log",
      "desc": "patched #1 kernel run: fhstat returns ENOENT, no panic"
    },
    {
      "path": "env.txt",
      "type": "environment",
      "desc": "uname, cc, sysctl, devfs mount"
    },
    {
      "path": "VERDICT.md",
      "type": "verdict",
      "desc": "full root-cause + fix-validation narrative"
    },
    {
      "path": "README.md",
      "type": "readme",
      "desc": "build/run/expected + how it works"
    },
    {
      "path": "manifest.json",
      "type": "manifest",
      "desc": "this catalog"
    },
    {
      "path": "build.log",
      "type": "build-log",
      "desc": "kernel build log excerpt proving -Werror clean compile of patched source"
    },
    {
      "path": "fix_apply.log",
      "type": "apply-log",
      "desc": "patch --dry-run output proving fix.diff applies cleanly on with-src"
    },
    {
      "path": "../fix_build_combined.log",
      "type": "build-log",
      "desc": "Combined 41-finding kernel build (rc=0, -Werror clean)"
    },
    {
      "path": "../fix_build_summary.txt",
      "type": "build-summary",
      "desc": "Summary of the combined 41-finding kernel build"
    }
  ]
}