DragonFlyBSD Kernel Audit
DF-0807 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-0807",
  "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": "leak",
  "confidence": "certain",
  "reproduce": {
    "build": "./build.sh",
    "run": "./run.sh",
    "expected": "kernel memory/pointer leak; see leak_sample.txt / run.log."
  },
  "kernel_refs": [
    "sys/vfs/dirfs/dirfs_vnops.c:1277",
    "sys/vfs/dirfs/dirfs_vnops.c:1278",
    "sys/vfs/dirfs/dirfs_vnops.c:1283",
    "sys/vfs/dirfs/dirfs_vnops.c:1284",
    "sys/kern/vfs_subr.c:2575",
    "sys/sys/dirent.h:116",
    "sys/sys/dirent.h:118",
    "sys/platform/vkernel64/conf/files:45"
  ],
  "artifacts": [
    {
      "path": "harness.c",
      "type": "trigger-source",
      "desc": "Deterministic loop transcription with guard-page + leak-zone allocators"
    },
    {
      "path": "build.sh",
      "type": "build-script",
      "desc": "cc -O2 -Wall -o harness harness.c"
    },
    {
      "path": "run.sh",
      "type": "run-script",
      "desc": "./harness"
    },
    {
      "path": "build.log",
      "type": "build-log",
      "desc": "Full clean compiler output"
    },
    {
      "path": "run.log",
      "type": "run-log",
      "desc": "Full decisive harness run, all 4 buffer sizes"
    },
    {
      "path": "fix.diff",
      "type": "suggested-fix",
      "desc": "git-apply-able 1-line fix: remove `dp = dpn` from loop body"
    },
    {
      "path": "phase8_validate.sh",
      "type": "fix-validation",
      "desc": "Phase 8 compile-neutrality validation"
    },
    {
      "path": "fix_run.log",
      "type": "fix-log",
      "desc": "Full Phase 8 validation output"
    },
    {
      "path": "env.txt",
      "type": "environment",
      "desc": "uname, cc version, dirfs absence confirmation"
    },
    {
      "path": "VERDICT.md",
      "type": "verdict",
      "desc": "Full narrative: reproduced? mechanism? impact ceiling? fix?"
    },
    {
      "path": "manifest.json",
      "type": "manifest",
      "desc": "This catalog"
    },
    {
      "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"
    }
  ]
}