DragonFlyBSD Kernel Audit
DF-0746 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-0746",
  "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 harness)",
  "impact": "none",
  "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/netbt/l2cap_misc.c:163",
    "sys/netbt/l2cap_misc.c:173",
    "sys/netbt/l2cap_misc.c:190",
    "sys/netbt/l2cap_misc.c:192",
    "sys/netbt/l2cap.h:423",
    "sys/netbt/bluetooth.h:145",
    "sys/vm/vm_zone.c:233",
    "sys/vm/vm_zone.c:237",
    "sys/conf/files:1614"
  ],
  "artifacts": [
    {
      "path": "harness.c",
      "type": "trigger-source",
      "desc": "deterministic userspace transcription of l2cap_rtx + l2cap_request_free + vm_zone zalloc/zfree model; prints UAF READ CONFIRMED"
    },
    {
      "path": "harness_fixed.c",
      "type": "exploit-chain",
      "desc": "FIXED transcription: lr_id captured before free; proves no read of *req after zfree"
    },
    {
      "path": "build.sh",
      "type": "build-script",
      "desc": "cc -O2 -Wall -Wextra for both harnesses"
    },
    {
      "path": "run.sh",
      "type": "run-script",
      "desc": "runs BUGGY then FIXED harness"
    },
    {
      "path": "build.log",
      "type": "build-log",
      "desc": "final successful build, full output"
    },
    {
      "path": "run.log",
      "type": "run-log",
      "desc": "decisive run: UAF READ CONFIRMED + FIXED markers"
    },
    {
      "path": "fix.diff",
      "type": "suggested-fix",
      "desc": "git-apply-able one-hunk diff: capture id=req->lr_id before l2cap_request_free, use id in DPRINTF"
    },
    {
      "path": "fix_build.log",
      "type": "build-log",
      "desc": "make of netbt.ko with fix applied (0 errors, 0 warnings, -Werror)"
    },
    {
      "path": "fix_run.log",
      "type": "run-log",
      "desc": "copy of FIXED-harness run output"
    },
    {
      "path": "disasm_unfixed_l2cap_rtx.txt",
      "type": "disasm",
      "desc": "objdump of l2cap_rtx in unfixed netbt.ko (0x5710, 14 instrs)"
    },
    {
      "path": "disasm_fixed_l2cap_rtx.txt",
      "type": "disasm",
      "desc": "objdump of l2cap_rtx in fixed netbt.ko - BYTE-FOR-BYTE IDENTICAL to unfixed"
    },
    {
      "path": "env.txt",
      "type": "environment",
      "desc": "uname, kern.version, cc, GENERIC/module/Makefile notes"
    },
    {
      "path": "panic.txt",
      "type": "panic-signature",
      "desc": "placeholder - no panic; code-level UAF with no runtime manifestation"
    },
    {
      "path": "VERDICT.md",
      "type": "verdict",
      "desc": "full narrative analysis"
    },
    {
      "path": "README.md",
      "type": "readme",
      "desc": "human-facing evidence pack index"
    },
    {
      "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"
    }
  ]
}