{
  "finding_id": "DF-0020",
  "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/kern/imgact_elf.c:1700",
    "sys/kern/imgact_elf.c:1704",
    "sys/kern/imgact_elf.c:1707",
    "sys/kern/imgact_elf.c:127",
    "sys/kern/imgact_elf.c:131",
    "sys/kern/imgact_elf.c:1780",
    "sys/kern/imgact_elf.c:1786",
    "sys/kern/imgact_elf.c:1791",
    "sys/kern/imgact_elf.c:1866",
    "sys/kern/imgact_elf.c:1872",
    "sys/kern/imgact_elf.c:534",
    "sys/kern/imgact_elf.c:550",
    "sys/cpu/x86_64/misc/elf_machdep.c:58",
    "sys/kern/kern_exec.c:850"
  ],
  "artifacts": [
    {
      "path": "elf_note_oob.c",
      "type": "trigger-source",
      "desc": "minimal C generator for the crafted ELF (rewritten from elf_note_oob.py because the guest has no python3)"
    },
    {
      "path": "elf_note_oob.py",
      "type": "trigger-source",
      "desc": "original Python seed PoC (kept for reference)"
    },
    {
      "path": "build.sh",
      "type": "build-script",
      "desc": "cc -O2 -Wall -o elf_note_oob elf_note_oob.c"
    },
    {
      "path": "run.sh",
      "type": "run-script",
      "desc": "craft ELF + chmod + execve"
    },
    {
      "path": "VERDICT.md",
      "type": "verdict",
      "desc": "full narrative: mechanism, why EI_OSABI=200, exploit chain (none), fix, fix validation"
    },
    {
      "path": "fix.diff",
      "type": "suggested-fix",
      "desc": "git-apply-able fix: validate n_descsz in note_overflow via underflow-proof need=a+b check"
    },
    {
      "path": "build.log",
      "type": "build-log",
      "desc": "final successful build, full output"
    },
    {
      "path": "run.log",
      "type": "run-log",
      "desc": "baseline #0 decisive run, full output"
    },
    {
      "path": "run.2.log",
      "type": "run-log",
      "desc": "baseline 5-run stress (OOB silent each time)"
    },
    {
      "path": "fix_build.log",
      "type": "build-log",
      "desc": "single-fix kernel build output (make -j6 nativekernel)"
    },
    {
      "path": "fix_run.log",
      "type": "run-log",
      "desc": "patched #1 decisive run, full output"
    },
    {
      "path": "env.txt",
      "type": "environment",
      "desc": "uname, cc version, sysctl kern.elf64.fallback_brand"
    },
    {
      "path": "manifest.json",
      "type": "manifest",
      "desc": "this file"
    },
    {
      "path": "README.md",
      "type": "readme",
      "desc": "human reproduce doc"
    },
    {
      "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"
    }
  ]
}