⬢ DragonFlyBSD Kernel Audit
DF-5099 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-5099",
  "verdict": "inconclusive",
  "impact": "none",
  "confidence": "certain",
  "reproduce": {
    "build": "cc -O2 -Wall -o joy_open_race joy_open_race.c",
    "run": "./joy_open_race",
    "expected": "On hardware with /dev/joy0: exit 0 and 'EBUSY-bypassing iterations=N' with N>0 (two racing opens both succeed past the unlocked check-then-set at joy.c:159-162). On this guest: exit 2, open() ENOENT — joy(4) never attaches (no ISA gameport; kldload joy creates no node)."
  },
  "kernel_refs": [
    "sys/dev/misc/joy/joy.c:159-162",
    "sys/dev/misc/joy/joy.c:173",
    "sys/dev/misc/joy/joy.c:133",
    "sys/dev/misc/joy/joy.c:31-45"
  ],
  "artifacts": [
    "README.md", "VERDICT.md", "joy_open_race.c", "build.sh", "run.sh",
    "build.log", "run.log", "env.txt", "fix.diff", "manifest.json", "verdict.json"
  ]
}