{
  "finding_id": "DF-0815",
  "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:kernel_ptrs + dos",
  "confidence": "certain",
  "reproduce": {
    "build": "./build.sh",
    "run": "./run.sh",
    "expected": "kernel memory/pointer leak; see leak_sample.txt / run.log."
  },
  "kernel_refs": [
    "sys/vfs/hammer2/hammer2_ioctl.c:83",
    "sys/vfs/hammer2/hammer2_ioctl.c:144",
    "sys/vfs/hammer2/hammer2_ioctl.c:145",
    "sys/vfs/hammer2/hammer2_ioctl.c:147",
    "sys/vfs/hammer2/hammer2_ioctl.c:148",
    "sys/vfs/hammer2/hammer2_ioctl.c:154",
    "sys/vfs/hammer2/hammer2_ioctl.c:155",
    "sys/vfs/hammer2/hammer2_chain.c:5812",
    "sys/vfs/hammer2/hammer2_chain.c:5827",
    "sys/kern/vfs_vnops.c:1029"
  ],
  "artifacts": [
    {
      "path": "df0815.c",
      "type": "trigger-source",
      "desc": "unprivileged DEBUG_DUMP + BULKFREE_ASYNC ioctl probes (safe, non-DoS)"
    },
    {
      "path": "build.sh",
      "type": "build-script",
      "desc": "cc -o df0815 df0815.c"
    },
    {
      "path": "run.sh",
      "type": "run-script",
      "desc": "./df0815 /etc  (as unprivileged maxx)"
    },
    {
      "path": "README.md",
      "type": "readme",
      "desc": "claim, reachability, impact, build/run, expected output"
    },
    {
      "path": "VERDICT.md",
      "type": "verdict",
      "desc": "full narrative + before/after fix validation"
    },
    {
      "path": "build.log",
      "type": "build-log",
      "desc": "final successful build, full output"
    },
    {
      "path": "run.log",
      "type": "run-log",
      "desc": "decisive unpatched run (DEBUG_DUMP rc=0)"
    },
    {
      "path": "run.2.log",
      "type": "run-log",
      "desc": "stress run 2"
    },
    {
      "path": "run.3.log",
      "type": "run-log",
      "desc": "stress run 3"
    },
    {
      "path": "leak_sample.txt",
      "type": "leak-sample",
      "desc": "kernel %p pointers harvested from msgbuf by maxx"
    },
    {
      "path": "env.txt",
      "type": "environment",
      "desc": "uname, cc, root-fs=hammer2, sysctls"
    },
    {
      "path": "baseline_run.log",
      "type": "run-log",
      "desc": "before: unpatched #0 PoC output (bug present)"
    },
    {
      "path": "fix.diff",
      "type": "suggested-fix",
      "desc": "if(error==0) guards on the 3 cases (git-apply-able)"
    },
    {
      "path": "fix_build.log",
      "type": "build-log",
      "desc": "single-fix kernel build, full output (NK_DONE rc=0)"
    },
    {
      "path": "fix_run.log",
      "type": "run-log",
      "desc": "after: patched #1 PoC output (EPERM), +root sanity"
    },
    {
      "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"
    }
  ]
}