⬢ DragonFlyBSD Kernel Audit
DF-4536 / manifest.json
← back to finding ↓ download raw
{
  "finding": "DF-4536",
  "verdict": "not_reproduced",
  "impact": "none (latent under non-MPSAFE config)",
  "reproduce": {
    "build": "cc -O -Wall -o lpt_openrace lpt_openrace.c",
    "run": "./lpt_openrace /dev/lpt0 /dev/lpt0 300 350   (and cross-cdev / cross-mount variants in run.sh)",
    "expected": "on an MPSAFE build: 'HIT: BOTH opens returned 0' then double-free on closes; on this tree: 0 hits (mplock serializes d_open)"
  },
  "kernel_refs": [
    "sys/dev/misc/lpt/lpt.c:458",
    "sys/dev/misc/lpt/lpt.c:539",
    "sys/dev/misc/lpt/lpt.c:598",
    "sys/kern/kern_device.c:119",
    "sys/kern/kern_device.c:142"
  ],
  "artifacts": [
    "README.md", "VERDICT.md", "lpt_openrace.c", "build.sh", "run.sh",
    "run.log", "env.txt", "fix.diff", "manifest.json", "verdict.json"
  ]
}