DragonFlyBSD Kernel Audit
DF-0770 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-0770",
  "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 (code-level trace, definitive)",
  "impact": "data-integrity (silent error-drop; not memory corruption)",
  "confidence": "certain",
  "reproduce": {
    "build": "./build.sh",
    "run": "./run.sh",
    "expected": "bug manifests; see run.log / VERDICT.md. On a fixed kernel: no effect."
  },
  "kernel_refs": [
    "sys/vfs/hammer/hammer_inode.c:3066",
    "sys/vfs/hammer/hammer_inode.c:3067",
    "sys/vfs/hammer/hammer_inode.c:3068",
    "sys/vfs/hammer/hammer_inode.c:3069",
    "sys/vfs/hammer/hammer_inode.c:3070",
    "sys/vfs/hammer/hammer_inode.c:3071",
    "sys/vfs/hammer/hammer_inode.c:3072",
    "sys/vfs/hammer/hammer_inode.c:2876",
    "sys/vfs/hammer/hammer_inode.c:2877",
    "sys/vfs/hammer/hammer_inode.c:2553",
    "sys/vfs/hammer/hammer_vnops.c:293",
    "sys/vfs/hammer/hammer_flusher.c:551",
    "sys/vfs/hammer/hammer_flusher.c:559",
    "sys/vfs/hammer/hammer_flusher.c:564",
    "sys/vfs/hammer/hammer_object.c:317",
    "sys/vfs/hammer/hammer_vfsops.c:892"
  ],
  "artifacts": [
    {
      "path": "df0770_hammer_flush_error.c",
      "type": "trigger-source",
      "desc": "runtime PoC: HAMMER v1 fs pressure test (corroboration / regression)"
    },
    {
      "path": "fix.diff",
      "type": "suggested-fix",
      "desc": "git-apply-able one-character fix: tmp_error = -error -> -tmp_error"
    },
    {
      "path": "build.sh",
      "type": "build-script",
      "desc": "cc -O2 -o df0770 df0770_hammer_flush_error.c"
    },
    {
      "path": "run.sh",
      "type": "run-script",
      "desc": "runs ./df0770 with HAMMER FS setup prerequisites"
    },
    {
      "path": "build.log",
      "type": "build-log",
      "desc": "PoC compiler output (final successful build)"
    },
    {
      "path": "run.log",
      "type": "run-log",
      "desc": "PoC runtime output on the PATCHED kernel (#1) - regression check"
    },
    {
      "path": "fix_build.log",
      "type": "build-log",
      "desc": "full single-fix kernel build output (make -j6 nativekernel, rc=0)"
    },
    {
      "path": "fix_run.log",
      "type": "run-log",
      "desc": "PoC runtime output on patched kernel (#1), pre-teardown"
    },
    {
      "path": "disasm_compare.txt",
      "type": "panic-signature",
      "desc": "before/after objdump of hammer_sync_inode fixup branch: baseline loads error (buggy), patched negates in-register tmp_error (fixed)"
    },
    {
      "path": "env.txt",
      "type": "environment",
      "desc": "uname, kern.version, cc version, hammer sysctls, patched-kernel disasm + sha256"
    },
    {
      "path": "VERDICT.md",
      "type": "verdict",
      "desc": "full narrative: code-level trace, impact chain, disassembly proof, fix"
    },
    {
      "path": "README.md",
      "type": "readme",
      "desc": "build/run/expected + how to reproduce"
    },
    {
      "path": "manifest.json",
      "type": "manifest",
      "desc": "this file"
    },
    {
      "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"
    }
  ]
}